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

Get standarization parameters from Dataiku models

rtruan
Level 2
Get standarization parameters from Dataiku models

Hello,

I understand that Dataiku is using for scaling the sklearn.preprocessing package. How can I retrieve the scale used by Dataiku in a particular model the same way i can do in sklearn?:

scaler = preprocessing.StandardScaler().fit(X_train)
 scaler.scale_

I cannot find in the documentation the way to get this data using the Dataiku API.

Best regards 

0 Kudos
1 Reply
MehdiH
Dataiker
Dataiker

Hi @rtruan 

Through the Dataiku API, you can access the preprocessing settings used for a given feature for a prediction model with:

dataikuapi.dss.ml.DSSTrainedPredictionModelDetails.get_preprocessing_settings()

However, as of today, you cannot directly access the rescaling results through the API.

Cheers

0 Kudos
A banner prompting to get Dataiku DSS