Retrieve linear regression Scikit model (SOLVED)

Dataiku DSS Core Concepts, Registered, Frontrunner 2022 Finalist, Frontrunner 2022 Participant Posts: 8 ✭✭✭✭
edited July 2024 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

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.