File tree 1 file changed +4
-5
lines changed
src/Microsoft.ML.StandardLearners/Standard
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -207,10 +207,9 @@ internal virtual void Check(IHostEnvironment env)
207
207
{
208
208
using ( var ch = env . Start ( "SDCA arguments checking" ) )
209
209
{
210
- ch . Warning ( "The specified l2Const = {0} is too small. SDCA optimizes the dual objective function. " +
211
- "The dual formulation is only valid with a positive L2 regularization. Also, an l2Const less than {1} " +
212
- "could drastically slow down the convergence. So using l2Const = {1} instead." , L2Const ) ;
213
-
210
+ ch . Warning ( $ "The L2 regularization constant must be at least { L2LowerBound } . In SDCA, the dual formulation " +
211
+ $ "is only valid with a positive constant, and values below { L2LowerBound } cause very slow convergence. " +
212
+ $ "The original { nameof ( L2Const ) } = { L2Const } , was replaced with { nameof ( L2Const ) } = { L2LowerBound } .") ;
214
213
L2Const = L2LowerBound ;
215
214
ch . Done ( ) ;
216
215
}
@@ -1752,4 +1751,4 @@ public static CommonOutputs.BinaryClassificationOutput TrainBinary(IHostEnvironm
1752
1751
1753
1752
}
1754
1753
}
1755
- }
1754
+ }
You can’t perform that action at this time.
0 commit comments