Retrieve linear regression Scikit model (SOLVED)

Options
rtruan
rtruan Dataiku DSS Core Concepts, Registered, Frontrunner 2022 Finalist, Frontrunner 2022 Participant Posts: 8 ✭✭✭✭
edited July 16 in Using Dataiku

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

Answers

Setup Info
    Tags
      Help me…