Skip to content

Commit

Permalink
Added missed lambda usage in LatentSOSVM
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed Aug 22, 2012
1 parent cf43532 commit 40564ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/shogun/latent/LatentSOSVM.cpp
Expand Up @@ -46,7 +46,8 @@ void CLatentSOSVM::set_so_solver(CLinearStructuredOutputMachine* so)
float64_t CLatentSOSVM::do_inner_loop(float64_t cooling_eps)
{
float64_t lambda = 1/m_C;
CDualLibQPBMSOSVM* so = new CDualLibQPBMSOSVM();
CDualLibQPBMSOSVM* so = new CDualLibQPBMSOSVM();
so->set_lambda(lambda);
so->train();

/* copy the resulting w */
Expand Down

0 comments on commit 40564ac

Please sign in to comment.