You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/samples/Microsoft.ML.Samples/Dynamic/Trainers/BinaryClassification/StochasticDualCoordinateAscentWithOptions.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ public static void Example()
27
27
// Make the convergence tolerance tighter.
28
28
ConvergenceTolerance=0.05f,
29
29
// Increase the maximum number of passes over training data.
30
-
NumberOfIterations=30,
30
+
MaximumNumberOfIterations=30,
31
31
// Give the instances of the positive class slightly more weight.
Copy file name to clipboardExpand all lines: docs/samples/Microsoft.ML.Samples/Dynamic/Trainers/MulticlassClassification/StochasticDualCoordinateAscentWithOptions.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ public static void Example()
33
33
// Make the convergence tolerance tighter.
34
34
ConvergenceTolerance=0.05f,
35
35
// Increase the maximum number of passes over training data.
Copy file name to clipboardExpand all lines: docs/samples/Microsoft.ML.Samples/Dynamic/Trainers/Regression/StochasticDualCoordinateAscentWithOptions.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ public static void Example()
26
26
// Make the convergence tolerance tighter.
27
27
ConvergenceTolerance=0.02f,
28
28
// Increase the maximum number of passes over training data.
Copy file name to clipboardExpand all lines: src/Microsoft.ML.StandardLearners/Standard/SdcaBinary.cs
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -201,7 +201,7 @@ public abstract class OptionsBase : TrainerInputBaseWithLabel
201
201
[Argument(ArgumentType.AtMostOnce,HelpText="Maximum number of iterations; set to 1 to simulate online learning. Defaults to automatic.",NullName="<Auto>",ShortName="iter, MaxIterations")]
202
202
[TGUI(Label="Max number of iterations",SuggestedSweeps="<Auto>,10,20,100")]
env.CheckUserArg(L2Regularization==null||L2Regularization>=0,nameof(L2Regularization),"L2 constant must be non-negative.");
238
238
env.CheckUserArg(L1Threshold==null||L1Threshold>=0,nameof(L1Threshold),"L1 threshold must be non-negative.");
239
-
env.CheckUserArg(NumberOfIterations==null||NumberOfIterations>0,nameof(NumberOfIterations),"Max number of iterations must be positive.");
239
+
env.CheckUserArg(MaximumNumberOfIterations==null||MaximumNumberOfIterations>0,nameof(MaximumNumberOfIterations),"Max number of iterations must be positive.");
240
240
env.CheckUserArg(ConvergenceTolerance>0&&ConvergenceTolerance<=1,nameof(ConvergenceTolerance),"Convergence tolerance must be positive and no larger than 1.");
/// <param name="l1Threshold">The L1 <a href='tmpurl_regularization'>regularization</a> hyperparameter. Higher values will tend to lead to more sparse model.</param>
136
-
/// <param name="numberOfIterations">The maximum number of passes to perform over the data.</param>
136
+
/// <param name="maximumNumberOfIterations">The maximum number of passes to perform over the data.</param>
137
137
/// <param name="loss">The custom <a href="tmpurl_loss">loss</a>, if unspecified will be <see cref="SquaredLoss"/>.</param>
138
138
/// <example>
139
139
/// <format type="text/markdown">
@@ -148,11 +148,11 @@ public static SdcaRegressionTrainer StochasticDualCoordinateAscent(this Regressi
/// <param name="l1Threshold">The L1 <a href='tmpurl_regularization'>regularization</a> hyperparameter. Higher values will tend to lead to more sparse model.</param>
188
-
/// <param name="numberOfIterations">The maximum number of passes to perform over the data.</param>
188
+
/// <param name="maximumNumberOfIterations">The maximum number of passes to perform over the data.</param>
189
189
/// <example>
190
190
/// <format type="text/markdown">
191
191
/// <![CDATA[
@@ -199,11 +199,11 @@ public static SdcaBinaryTrainer StochasticDualCoordinateAscent(
/// <param name="l1Threshold">The L1 <a href='tmpurl_regularization'>regularization</a> hyperparameter. Higher values will tend to lead to more sparse model.</param>
241
-
/// <param name="numberOfIterations">The maximum number of passes to perform over the data.</param>
241
+
/// <param name="maximumNumberOfIterations">The maximum number of passes to perform over the data.</param>
242
242
/// <example>
243
243
/// <format type="text/markdown">
244
244
/// <![CDATA[
@@ -253,11 +253,11 @@ public static SdcaNonCalibratedBinaryTrainer StochasticDualCoordinateAscentNonCa
/// <param name="l1Threshold">The L1 <a href='tmpurl_regularization'>regularization</a> hyperparameter. Higher values will tend to lead to more sparse model.</param>
289
-
/// <param name="numberOfIterations">The maximum number of passes to perform over the data.</param>
289
+
/// <param name="maximumNumberOfIterations">The maximum number of passes to perform over the data.</param>
290
290
/// <example>
291
291
/// <format type="text/markdown">
292
292
/// <![CDATA[
@@ -300,11 +300,11 @@ public static SdcaMultiClassTrainer StochasticDualCoordinateAscent(this Multicla
0 commit comments