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
Description
If the path of a DecisionTree is to be visualized for a single instance and the feature value is exactly the split value, the right path is selected. However, with Sklearn, the decision goes left for less than or equal to. In the end, an incorrect classification is displayed due to the wrong path.
Expected behavior
The left path should be chosen and thus the classification result "False" should also be displayed. In other words: If the split value is less than or equal to the split value, the left path should be selected.
Environment
Used scikit-learn version 1.2.2 (lates)
The text was updated successfully, but these errors were encountered:
Description
If the path of a DecisionTree is to be visualized for a single instance and the feature value is exactly the split value, the right path is selected. However, with Sklearn, the decision goes left for less than or equal to. In the end, an incorrect classification is displayed due to the wrong path.
To Reproduce
Expected behavior
The left path should be chosen and thus the classification result "False" should also be displayed. In other words: If the split value is less than or equal to the split value, the left path should be selected.
Environment
Used scikit-learn version 1.2.2 (lates)
The text was updated successfully, but these errors were encountered: