On Jul 11, 2012, at 10:14 , Philipp Singer wrote: > Am 11.07.2012 10:11, schrieb Olivier Grisel: > >> >> LinearSVC is based on the liblinear C++ library which AFAIK does not >> support sample weight. > > Well, that's true. > > You should better have a look at SGDClassifier: >> >> http://scikit-learn.org/stable/modules/sgd.html >> > > I have already tried approaches like SGDC or Multinomial Naive Bayes. I > can improve these two classifiers with sample weighting, but the thing > is that LinearSVC without the incorporated data still outperforms the > other algorithms. > > But I guess I will play around a bit more ;)
How did you set the sample_weight? I found this to be very difficult, specifically, 'auto' rarely improves anything. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Scikit-learn-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/scikit-learn-general ------------------ Vlad N. http://vene.ro ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
