Skip to content

Commit

Permalink
fix marginal bug
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnLangford committed Feb 17, 2017
1 parent 6d0e1e1 commit ee2bcac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vowpalwabbit/marginal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ struct data
if (sm.unweighted_marginals)
{
m.first = m.first * (1. - sm.decay) + ec.l.simple.label;
m.second = m.second * (1. - sm.decay);
m.second = m.second * (1. - sm.decay) + 1.;
}
else
{
Expand Down

0 comments on commit ee2bcac

Please sign in to comment.