[scikit-learn] Why do DTs have a different fit protocol than NB and SVMs?
Graham Arthur Mackenzie
graham.arthur.mackenzie at gmail.com
Tue Dec 13 15:14:43 EST 2016
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
and Support Vector Machines
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,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the scikit-learn