I am using DecisionTree as a regression model (not as a classifier) on my continuous dataset using Python. However, I get mean squared error equals ZERO. Does it mean my model is overfitting or it can be possible?
A perfect MSE is highly suspicious. This implies that the model is being trained and tested on the same data. Instead, k-fold cross validation should be employed.
Also, it is possible that the output is a deterministic function of the input. For instance, if the input is dollars and output is euros. The fixed ratio has no variance, and thus no MSE.
Nathan Zavanelli Thank you very much for the response. Although I’ve utilized different data for both training and testing, but I will employ K-fold Validation.