scikit-learn/scikit-learn — Issue #409: sample_weight feature in LinearSVC (BaseLibLinear/SparseBaseLibLinear))
Author: aabbi
Created: 2011-10-20 17:22:17+00:00
State: open

Currently, there does not seem to be a way to specify sample_weights when using svm.LinearSVC or svm.sparse.LinearSVC.
Can that feature be implemented? or Is there an existing way to do that?
libsvm contains the feature in http://www.csie.ntu.edu.tw/~cjlin/libsvmtools/#weights_for_data_instances