Hi Abhishek.

That should work. Can you give a small code snipplet? And are you sure you are importing 0.14.1 (do import sklearn; print(sklearn.__version__) )?

Best,
Andy

On 11/10/2013 05:20 AM, abhishek wrote:
hi all,

I am using MultinomialNB from skelarn 0.14.1. I was trying to fit the model with sample_weight but I got the error saying "fit() got an unexpected keyword argument 'sample_weight'". Has it been removed? The document says that its still there though.

Thanks,

--
Regards

Abhishek Thakur



------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk


_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to