Skip to content
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ internal virtual void Check(IHostEnvironment env)
{
ch.Warning("The specified l2Const = {0} is too small. SDCA optimizes the dual objective function. " +
"The dual formulation is only valid with a positive L2 regularization. Also, an l2Const less than {1} " +
"could drastically slow down the convergence. So using l2Const = {1} instead.", L2Const);
"could drastically slow down the convergence. So using l2Const = {1} instead.", L2Const, L2LowerBound);

@TomFinley TomFinley Jul 29, 2018

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

l2Const [](start = 83, length = 7)

Hi @justinormont thanks for looking at this. Another problem with this message, replace these with nameof(L2Const), here, and everywhere in this message that it is used, in the format args. It might go easier if you used the $ string interpolation. #resolved


L2Const = L2LowerBound;
ch.Done();
Expand Down Expand Up @@ -1752,4 +1752,4 @@ public static CommonOutputs.BinaryClassificationOutput TrainBinary(IHostEnvironm

}
}
}
}