Hi,

I am trying to use the partial_fit function on a MultinomialNB object in 
0.14-git. The API documentation for 0.14 says that this function exists. When I 
try to use it, I get an error:

AttributeError: 'MultinomialNB' object has no attribute 'partial_fit'

My code looks like the following:

model = naive_bayes.MultinomialNB()
model.partial_fit(X, Y, classes = [0, 1])

When I do

dir(model)

partial_fit does not show up as  a member of the object. Is this a 
documentation error? Am I doing something wrong?

Thanks,
Ryan
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to