Decision tree implementation [Doubt]

Ri: Decision tree implementation [Doubt]

di DAVIDE VEZZARO -
Numero di risposte: 0
Hello,
there are some problems reading the csv dataset with Pandas and some missing .values property in the rows below.
You can find the arrow "<----" next to the rows where I made changes and useful comment on why I did them.
Now code is working, but the performance of the model can be enhanced.. for example doing some preprocessing.

Hope you appreciate it.

Link to documentation :
->read_csv https://pandas.pydata.org/docs/reference/api/pandas.read_csv.html
->.values https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.values.html

Duplication of your notebook fixed:
https://colab.research.google.com/drive/1f92V7nIaHZv-A6J8AYwpb52CVLN0-2uI?usp=sharing