Skip to content

lambda parameter not passed into SvmObjective correctly #12

@GoogleCodeExporter

Description

@GoogleCodeExporter
in sofia-ml.cc

337       float objective = sofia_ml::SvmObjective(training_data,
338                                          *w,
339                                           CMD_LINE_BOOLS["--lambda"]);

Note that lambda is passed in from CMD_LINE_BOOLS not CMD_LINE_FLOATS which 
results in lambda=0. In TrainModel the correct value of lambda is used:

176   float lambda = CMD_LINE_FLOATS["--lambda"];

Original issue reported on code.google.com by ed...@ly.st on 9 May 2013 at 1:20

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions