Skip to content

Commit

Permalink
Fixed guard of L1/L2 logistic regression
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed Jul 15, 2012
1 parent 7ecdf44 commit f146cab
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -67,10 +67,10 @@ bool CMultitaskL1L2LogisticRegression::train_machine(CFeatures* data)
#ifdef HAVE_EIGEN3
slep_result_t model = malsar_joint_feature_learning(
features, y.vector, m_rho1, m_rho2, options);
#endif

m_tasks_w = model.w;
m_tasks_c = model.c;
#endif

ASSERT(m_task_relation);

Expand Down

0 comments on commit f146cab

Please sign in to comment.