You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just noticed the the explain function does not work if the training data (and subsequent test data) has ordered factors.
The explainer stores the feature_type of ordered factors solely as "factor" so the ordering information is lost. It maybe not be important for the logic of the LIME algorithm but breaks the predict function for methods that treat ordered factors differently from unordered factors (i.e. randomForest).
Best
The text was updated successfully, but these errors were encountered:
Hi Thomas,
I just noticed the the explain function does not work if the training data (and subsequent test data) has ordered factors.
The explainer stores the feature_type of ordered factors solely as "factor" so the ordering information is lost. It maybe not be important for the logic of the LIME algorithm but breaks the predict function for methods that treat ordered factors differently from unordered factors (i.e. randomForest).
Best
The text was updated successfully, but these errors were encountered: