How do I solve this problem: UserWarning: X does not have valid feature names, but DecisionTreeClassifier was fitted with feature names warnings.warn(
I followed a tutorial by Mosh Hamedani step by step but anytime I run his exact code I get an error message and my output seems to be wrong.
(https://i.sstatic.net/9QCbtHaK.png)
i attached a screenshot of his code and mine side by side.