Decision tree code doubt

cannot correct the error

https://drive.google.com/file/d/1V9ZNjbGU_WQ2PInltKzVwApCiai-hPnY/view?usp=sharing

hey @rohit_1906 ,
can you please provide me with the training files that you used.
I tried the same with the file available here , and it worked fine.

Thank You and Happy Learning :slightly_smiling_face:.

https://drive.google.com/drive/folders/1hUL2e5APLrd8p-VUJ12i758XaepZVhzr?usp=sharing

i used the actual data from kaggle

hey @rohit_1906 ,
i really apologize for replying you so late.
Kindly go through this code link.
https://colab.research.google.com/drive/175z65Vxdy8A1iaFZD3eYb2PMbVWhBv-F?usp=sharing

i have updated your code and used the files that you have provided above.
There were just small typo mistakes and nothing else. It worked fine.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.