Hello All,

I hope this is the right way to ask a question about documentation.

In the doc for Decision Trees
<http://scikit-learn.org/stable/modules/tree.html#tree>, the fit statement
is assigned back to the classifier:

clf = clf.fit(X, Y)

Whereas, for Naive Bayes
<http://scikit-learn.org/stable/modules/generated/sklearn.naive_bayes.GaussianNB.html>
 and Support Vector Machines
<http://scikit-learn.org/stable/modules/generated/sklearn.svm.SVC.html>,
it's just:

clf.fit(X, Y)

I assumed this was a typo, but thought I should try and verify such before
proceeding under that assumption. I appreciate any feedback you can provide.

Thank You and Be Well,
Graham
_______________________________________________
scikit-learn mailing list
scikit-learn@python.org
https://mail.python.org/mailman/listinfo/scikit-learn

Reply via email to