Skip to content

Reaching dual variables in multiclass SVMs #290

@gumityolcu

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

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