Skip to content
This repository was archived by the owner on May 25, 2024. It is now read-only.
This repository was archived by the owner on May 25, 2024. It is now read-only.

Decision function computed doesn't match with sklearn.svm.SVC #14

Open
@aravindsiv

Description

@aravindsiv

Hi,

I train my SVC in Python and port it to C++ as follows:

with open(fname, "w") as f: f.write(port(clf))

However, the decision function computed by clf.decision_function(X) (in Python) and the one computed inside Eloquent::ML::Port::SVM::predict (in the generated header file) do not match. The predictions do not match.

Is there something I'm missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions