Skip to content

Reaching dual variables in multiclass SVMs #290

Description

@gumityolcu

Hello,

I am trying to use Shark to solve multiclass classification problems using the Crammer&Singer method, and I want to reach the dual variables.

How can I manage this?

So far, I have edited the functions so that Solver.solve() returns the RealMatrix alpha variable at the end, instead of the weight vectors. This seems to return a matrix of all 1s.

What would you recommend doing? What do you think I may be misunderstanding?

Thank you.
Galip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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