Lars Buitinck <larsmans@...> writes:
>
> 2014/1/2 Marco Ippolito <ippolito.marco@...>:
> > pipeline = Pipeline([('tfidf', TfidfTransformer()), ('chi2',
> > SelectKBest(chi2, k=1000)), ('nb', Multin\
> > omialNB())])
> >
> > classif = SklearnClassifier(pipeline)
> > print("Accuracy of MultinomialNaiveBayesClassifier with pipeline
> > (chi2,nb)", accuracy(classif, test_feats))
>
> You forgot to train this thing.
>
> --------------------------------------------------------------------------
----
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
Pro!
> http://pubads.g.doubleclick.net/gampad/clk?
id=84349831&iu=/4140/ostg.clktrk
>
Hi Lars,
since I'm a newbie to sklearn-nltk interface,
would you be so kind in telling me how to do it?
Thanks a lot for your kind patience.
Kind regards.
Marco
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general