The February release for the Community is live! Read More

Issue with type of scaling when calling get_predictor().preprocess(df)

sourjeet
Level 1
Issue with type of scaling when calling get_predictor().preprocess(df)

Hi All,

I have trained a model with scaling as min-max scalling for all features.

When I am reading the same model and feeding the train data (df) using the following code : 

model_minMax = dataiku.Model(<model name>) # Provide model name
my_predictor = model_minMax.get_predictor()

xi = my_predictor.preprocess(df)[0]

pd.DataFrame(xi).describe()

 

I see that the scaling is done as average-scaling. 

Request you to kindly help.

 

Attaching log of preprocessing.

 

Regards

Sourjeet

0 Kudos
1 Reply
AllanF
Dataiker
Dataiker

Hello Sourjeet,

Thank you for your message, you actually found a bug in DSS 🙂

We logged it and it will be fixed in a future release.

0 Kudos
A banner prompting to get Dataiku DSS