Retrieve linear regression Scikit model (SOLVED)
rtruan
Dataiku DSS Core Concepts, Registered, Frontrunner 2022 Finalist, Frontrunner 2022 Participant Posts: 8 ✭✭✭✭
Hello,
Do any of you how to retrieve the associated scikit linear regression model from DSS?
The sample code in the documentation is:
import dataiku m = dataiku.Model(my_model_id) my_predictor = m.get_predictor() my_clf = my_predictor._clf
coefs=my_clf.coef_
intercept=my_clf.intercept_
Now it works, I had forgotten the () after get_predictor.
Best regards