New to Dataiku DSS? Try out our NEW Quick Start Programs today and get onboarded on the product in just one hour! Let's go

Retrieve linear regression Scikit model (SOLVED)

rtruan
Level 2
Retrieve linear regression Scikit model (SOLVED)

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
 

 

1 Reply
CoreyS
Community Manager
Community Manager

Hi @rtruan glad to see you were able to figure it out!

Looking for more resources to help you use DSS effectively and upskill your knowledge? Check out these great resources: Dataiku Academy | Documentation | Knowledge Base

A reply answered your question? Mark as ‘Accepted Solution’ to help others like you!
0 Kudos
A banner prompting to get Dataiku DSS