Skip to content

sample_weight feature in LinearSVC (BaseLibLinear/SparseBaseLibLinear)) #409

Closed
@aabbi

Description

@aabbi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions