Announcing the winners & finalists of the Dataiku Frontrunner Awards 2021! Read their inspiring stories

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