Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

#InvalidParameterError in Python Miss Forest library

JenzEkan
8 - Asteroid

Hey Guys, I am getting the  below error the code component giving me this issue is below:

 

imputer = mf.MissForest()
X_imputed = imputer.fit_transform(df)

 

 

JainDeeps_0-1670908882111.png

 

1 REPLY 1
grazitti_sapna
17 - Castor

@JenzEkan , Try passing the parameter value for criterion to the code as below:

 

imputer = mf.MissForest(criterion = 'friedman_mse')
X_imputed = imputer.fit_transform(df)

 

Please accept if it worked.

 

 

Sapna Gupta
Labels