8000 SVC(kernel="linear") for dense and sparse matrices differ significantly [renamed by amueller] · Issue #1476 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content
SVC(kernel="linear") for dense and sparse matrices differ significantly [renamed by amueller] #1476
@fannix

Description

@fannix

I compare the performance between SVC(kernel="linear") and LinearSVC. The difference is very large. LinearSVC is far better than SVC(kernel="linear"). The code is in https://gist.github.com/4294378. I also test with the original LibSVM toolkit; its performance is close to LinearSVC under 5-fold cross validation.

I don't think it is expected from a user's perspective.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0