Udacity term one - decision tree
def classify(features_train, labels_train):
### import the sklearn module for GaussianNB
from sklearn import tree
### create classifier
clf = tree.DecisionTreeClassifier(min_samples_sp...
原创
2019-09-25 15:29:00 ·
131 阅读 ·
0 评论