On Mon, Feb 27, 2012 at 10:46:40AM +0100, Matthias Ekman wrote: > clf = OneVsRestClassifier(ElasticNet(alpha=0., rho=0.)) > y_pred = clf.fit(X,y).predict(X) > print 'acc enet:',zero_one_score(y,y_pred)*100
alpha=0: you are not regularizing at all! In general, it doesn't make much sens to use a learner without setting it's parameters. You'll need to use a GridSearchCV to set the parameters alpha and C of both learners. Gaƫl ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
