The model(DecisionTreeClassifier) gives wrong results
I’m taking a machine learning course with an assignment to implement a fit method for DecisionTreeClassifier. Here are the links for more information:
https://stepik.org/lesson/333977/step/8?auth=login&unit=317388
https://stepik.org/lesson/333977/step/3?auth=login&unit=317388
Here’s my code: