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
{{ message }}
Repository navigation
Possible issue for IsolationForest Division by zero #353
Hey @indianalalal there's no need to one-hot encode your categorical features with IsolationForest since it's compatible with categorical features. The division by zero is because there managed to be a split of samples where all features for the randomly selected continuous column were zero. This could be related to your one-hot encoding.
Activity
andrewdalpino commentedon Mar 17, 2025
Hey @indianalalal there's no need to one-hot encode your categorical features with IsolationForest since it's compatible with categorical features. The division by zero is because there managed to be a split of samples where all features for the randomly selected continuous column were zero. This could be related to your one-hot encoding.