Update decision_tree.py

This commit is contained in:
thor-harsh 2023-08-17 13:46:50 +05:30 committed by GitHub
parent 4f759d1e26
commit ed5abdd37e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -164,7 +164,7 @@ def main():
to predict the label of 10 different test values. Here we should prefer
calculating Root Mean Squared Error over Mean Sqaured error because RMSE
should be used when you need to communicate your results in an understandable
way to end users or when penalising outliers is less of a priority.Interpretation will be easy in this case.
way to end users or when penalising outliers is less of a priority.
"""
x = np.arange(-1.0, 1.0, 0.005)
y = np.sin(x)