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
Hello! I'm trying to convert my river LOF and HST models to sklearn to apply to LIME, but I'm always having the error of not finding the wrapper corresponding to my models.
The HST and LOF models are as follows:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello! I'm trying to convert my river LOF and HST models to sklearn to apply to LIME, but I'm always having the error of not finding the wrapper corresponding to my models.
The HST and LOF models are as follows:
scaler = preprocessing.StandardScaler() hst_model= compat.convert_river_to_sklearn(anomaly.HalfSpaceTrees( n_trees=5, height=3, window_size=3, seed=42 )) model = scaler | hst_model
scaler = preprocessing.StandardScaler() lof_model= compat.convert_river_to_sklearn(anomaly.LocalOutlierFactor(n_neighbors=10)) model = scaler | lof_model
Both of them give me the following error:
ValueError: Couldn't find an appropriate wrapper
Can anyone help me solve this?
Beta Was this translation helpful? Give feedback.
All reactions