Answers for "decision tree algorithm"

5

decision tree algorithm

from sklearn.datasets import load_iris
>>> from sklearn import tree
>>> X, y = load_iris(return_X_y=True)
>>> clf = tree.DecisionTreeClassifier()
>>> clf = clf.fit(X, y)
Posted by: Guest on May-06-2020
-1

decision trees

Training Data Set Accuracy:  0.9610705596107056
Training Data F1 Score  0.972027972027972
Validation Mean F1 Score:  0.6348494236272646
Validation Mean Accuracy:  0.7030561269468117
Posted by: Guest on June-18-2021

Code answers related to "decision tree algorithm"

Python Answers by Framework

Browse Popular Code Answers by Language