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
/// To create this trainer, use [Sdca](xref:Microsoft.ML.StandardTrainersCatalog.Sdca(Microsoft.ML.RegressionCatalog.RegressionTrainers,System.String,System.String,System.String,Microsoft.ML.Trainers.ISupportSdcaRegressionLoss,System.Nullable{System.Single},System.Nullable{System.Single},System.Nullable{System.Int32}))
30
+
/// or [Sdca(Options)](xref:Microsoft.ML.StandardTrainersCatalog.Sdca(Microsoft.ML.RegressionCatalog.RegressionTrainers,Microsoft.ML.Trainers.SdcaRegressionTrainer.Options)).
/// | Required NuGet in addition to Microsoft.ML | None |
41
+
///
42
+
/// ### Training Algorithm Details
43
+
/// This trainer is based on the Stochastic Dual Coordinate Ascent (SDCA) method, a state-of-the-art optimization technique for convex objective functions.
44
+
/// The algorithm can be scaled for use on large out-of-memory data sets due to a semi-asynchronized implementation that supports multi-threading.
45
+
/// Convergence is underwritten by periodically enforcing synchronization between primal and dual updates in a separate thread.
46
+
/// Several choices of loss functions are also provided.The SDCA method combines several of the best properties and capabilities of logistic regression and SVM algorithms.
47
+
/// Note that SDCA is a stochastic and streaming optimization algorithm. The results depends on the order of the training data.
48
+
/// For reproducible results, it is recommended that one sets 'Shuffle' to False and 'NumThreads' to 1.
49
+
/// Elastic net regularization can be specified by the 'L2Const' and 'L1Threshold' parameters. Note that the 'L2Const' has an effect on the rate of convergence.
50
+
/// In general, the larger the 'L2Const', the faster SDCA converges.
51
+
/// For more information, see: [Scaling Up Stochastic Dual Coordinate Ascent](https://www.microsoft.com/en-us/research/wp-content/uploads/2016/06/main-3.pdf ) and
52
+
/// [Stochastic Dual Coordinate Ascent Methods for Regularized Loss Minimization](http://www.jmlr.org/papers/volume14/shalev-shwartz13a/shalev-shwartz13a.pdf).
/// <param name="labelColumnName">The name of the label column.</param>
136
-
/// <param name="featureColumnName">The name of the feature column.</param>
135
+
/// <param name="labelColumnName">The name of the label column. The column data must be <see cref="System.Single"/></param>
136
+
/// <param name="featureColumnName">The name of the feature column. The column data must be a known-sized vector of <see cref="System.Single"/></param>
137
137
/// <param name="exampleWeightColumnName">The name of the example weight column (optional).</param>
138
138
/// <param name="lossFunction">The <a href="https://en.wikipedia.org/wiki/Loss_function">loss</a> function minimized in the training process. Using, for example, its default <see cref="SquaredLoss"/> leads to a least square trainer.</param>
139
139
/// <param name="l2Regularization">The L2 weight for <a href='https://en.wikipedia.org/wiki/Regularization_(mathematics)'>regularization</a>.</param>
@@ -160,7 +160,7 @@ public static SdcaRegressionTrainer Sdca(this RegressionCatalog.RegressionTraine
160
160
}
161
161
162
162
/// <summary>
163
-
/// Predict a target using a linear regression model trained with <see cref="SdcaRegressionTrainer"/> and advanced options.
163
+
/// Creates a <see cref="SdcaRegressionTrainer"/>, which predicts a target using a linear regression model trained with advanced options.
/// <param name="labelColumnName">The name of the label column.</param>
188
-
/// <param name="featureColumnName">The name of the feature column.</param>
187
+
/// <param name="labelColumnName">The name of the label column. The column data must be <see cref="System.Single"/>.</param>
188
+
/// <param name="featureColumnName">The name of the feature column. The column data must be a known-sized vector of <see cref="System.Single"/>.</param>
189
189
/// <param name="exampleWeightColumnName">The name of the example weight column (optional).</param>
190
190
/// <param name="l2Regularization">The L2 weight for <a href='https://en.wikipedia.org/wiki/Regularization_(mathematics)'>regularization</a>.</param>
191
191
/// <param name="l1Regularization">The L1 <a href='https://en.wikipedia.org/wiki/Regularization_(mathematics)'>regularization</a> hyperparameter. Higher values will tend to lead to more sparse model.</param>
@@ -211,7 +211,7 @@ public static SdcaLogisticRegressionBinaryTrainer SdcaLogisticRegression(
211
211
}
212
212
213
213
/// <summary>
214
-
/// Predict a target using a linear classification model trained with <see cref="SdcaLogisticRegressionBinaryTrainer"/> and advanced options.
214
+
/// Creates a <see cref="SdcaLogisticRegressionBinaryTrainer"/>, which predicts a target using a linear classification model with advanced options.
0 commit comments