DALEX-docs
DALEX-docs copied to clipboard
Arena Custom observation level crash
Hello,
I'm trying the arena service for my model and data,
I saw all the possibilities that the web page gives, it is really useful!
But I found a problem when trying to check the shap - breakdown - ceteris values on a custom observation. I'm changing it in the Observation Details tab, where an slider appears to change the values of the variables.
The value print on the terminal is:
ValueError: Input X contains NaN. RandomForestClassifier does not accept missing values encoded as NaN natively. For supervised learning, you might want to consider sklearn.ensemble.HistGradientBoostingClassifier and Regressor which accept missing values encoded as NaNs natively. Alternatively, it is possible to preprocess the data, for instance by using an imputer transformer in a pipeline or drop samples with missing values. See https://scikit-learn.org/stable/modules/impute.html You can find a list of all estimators that handle NaN values at the following page: https://scikit-learn.org/stable/modules/impute.html#estimators-that-handle-nan-values
Any idea?
Thanks!
PD: I'm using a random forest model and the titanic dataset with a few modifications.