Zach, You can save a classifier with pickle, but you need to train the classifier after you load it, right?
As Ryan pointed out, joblib is the solution. One bad thing is it creates multiple files. On 12/19/13 4:06 PM, "Zach Dwiel" <[email protected]> wrote: >which classifier are you using? I pickle trained DecisionTree and >RandomForest classifiers, save them to disk and then load them up in >production without a problem all the time. > >zach > >On Thu, Dec 19, 2013 at 5:00 PM, Su, Jian, Ph.D. <[email protected]> wrote: >> Is it possible to save the trained classifier and pass it to other >>machine >> for direct prediction? >> >> >> >> I tried pickle which only saves the classifier parameters before >>training. >> >> >> >>------------------------------------------------------------------------- >>----- >> 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.clkt >>rk >> _______________________________________________ >> Scikit-learn-general mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general >> > >-------------------------------------------------------------------------- >---- >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.clktr >k >_______________________________________________ >Scikit-learn-general mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/scikit-learn-general ------------------------------------------------------------------------------ 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
