Skip to content

SVC.decision_function disagrees with predict #8277

@amueller

Description

@amueller

In SVC with decision_function_shape="ovr" argmax of the decision function is not the same as predict. This is related to the tie-breaking mentioned in #8276.

The decision_function now includes tie-breaking, which the predict doesn't.
I'm not sure the tie-breaking is good, but we should be consistent either way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions