Re: [Scikit-learn-general] random forest fit

2015-01-29 Thread Pagliari, Roberto
Thank you, From: Andy [mailto:t3k...@gmail.com] Sent: Wednesday, January 28, 2015 3:09 PM To: scikit-learn-general@lists.sourceforge.net Subject: Re: [Scikit-learn-general] random forest fit ``fit`` returns ``self``: http://scikit-learn.org/dev/developers/index.html#fitting so they are

Re: [Scikit-learn-general] random forest fit

2015-01-28 Thread Andy
``fit`` returns ``self``: http://scikit-learn.org/dev/developers/index.html#fitting so they are identical. The motivation is that you can write clf = svm.SVC().fit(X, y) On 01/28/2015 03:00 PM, Pagliari, Roberto wrote: Perhaps, this is a dumb question, but I saw both the alternatives belo

[Scikit-learn-general] random forest fit

2015-01-28 Thread Pagliari, Roberto
Perhaps, this is a dumb question, but I saw both the alternatives below for using a classifier. I guess that regardless of whether you have clf = clf.fit or just clf.fit, the result does not change and you can invoke clf._attribute_ with any of the alternatives below. Thanks, >>> from sklearn