Problem in DecisionTree

while making the decision tree,
in def init(self,…)
the self in above is not colored as like in video

and creating an error while training the data
d=DecisionTree
d.train(clean_data)

error:
train() missing 1 required positional argument: ‘Xtrain’

Hey jatin,
Looks very strange problem…
It may be the case that you are missing something minor in code. It would be great if you can share your code on cb.lk/ide.
Would be waiting

I pasted the code their it is workkng there…

Please share the link of code as well.

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.