99namespace Microsoft . ML
1010{
1111 /// <summary>
12- /// The trainer catalog extensions for the <see cref="OlsLinearRegressionTrainer "/> and <see cref="SymSgdClassificationTrainer "/>.
12+ /// The trainer catalog extensions for the <see cref="OrdinaryLeastSquaresRegressionTrainer "/> and <see cref="SymbolicStochasticGradientDescentClassificationTrainer "/>.
1313 /// </summary>
1414 public static class HalLearnersCatalog
1515 {
1616 /// <summary>
17- /// Predict a target using a linear regression model trained with the <see cref="OlsLinearRegressionTrainer "/>.
17+ /// Predict a target using a linear regression model trained with the <see cref="OrdinaryLeastSquaresRegressionTrainer "/>.
1818 /// </summary>
1919 /// <param name="catalog">The <see cref="RegressionCatalog"/>.</param>
2020 /// <param name="labelColumnName">The name of the label column.</param>
@@ -27,48 +27,48 @@ public static class HalLearnersCatalog
2727 /// ]]>
2828 /// </format>
2929 /// </example>
30- public static OlsLinearRegressionTrainer OrdinaryLeastSquares ( this RegressionCatalog . RegressionTrainers catalog ,
30+ public static OrdinaryLeastSquaresRegressionTrainer OrdinaryLeastSquares ( this RegressionCatalog . RegressionTrainers catalog ,
3131 string labelColumnName = DefaultColumnNames . Label ,
3232 string featureColumnName = DefaultColumnNames . Features ,
3333 string exampleWeightColumnName = null )
3434 {
3535 Contracts . CheckValue ( catalog , nameof ( catalog ) ) ;
3636 var env = CatalogUtils . GetEnvironment ( catalog ) ;
37- var options = new OlsLinearRegressionTrainer . Options
37+ var options = new OrdinaryLeastSquaresRegressionTrainer . Options
3838 {
3939 LabelColumnName = labelColumnName ,
4040 FeatureColumnName = featureColumnName ,
4141 ExampleWeightColumnName = exampleWeightColumnName
4242 } ;
4343
44- return new OlsLinearRegressionTrainer ( env , options ) ;
44+ return new OrdinaryLeastSquaresRegressionTrainer ( env , options ) ;
4545 }
4646
4747 /// <summary>
48- /// Predict a target using a linear regression model trained with the <see cref="OlsLinearRegressionTrainer "/>.
48+ /// Predict a target using a linear regression model trained with the <see cref="OrdinaryLeastSquaresRegressionTrainer "/>.
4949 /// </summary>
5050 /// <param name="catalog">The <see cref="RegressionCatalog"/>.</param>
51- /// <param name="options">Algorithm advanced options. See <see cref="OlsLinearRegressionTrainer .Options"/>.</param>
51+ /// <param name="options">Algorithm advanced options. See <see cref="OrdinaryLeastSquaresRegressionTrainer .Options"/>.</param>
5252 /// <example>
5353 /// <format type="text/markdown">
5454 /// <]
5656 /// ]]>
5757 /// </format>
5858 /// </example>
59- public static OlsLinearRegressionTrainer OrdinaryLeastSquares (
59+ public static OrdinaryLeastSquaresRegressionTrainer OrdinaryLeastSquares (
6060 this RegressionCatalog . RegressionTrainers catalog ,
61- OlsLinearRegressionTrainer . Options options )
61+ OrdinaryLeastSquaresRegressionTrainer . Options options )
6262 {
6363 Contracts . CheckValue ( catalog , nameof ( catalog ) ) ;
6464 Contracts . CheckValue ( options , nameof ( options ) ) ;
6565
6666 var env = CatalogUtils . GetEnvironment ( catalog ) ;
67- return new OlsLinearRegressionTrainer ( env , options ) ;
67+ return new OrdinaryLeastSquaresRegressionTrainer ( env , options ) ;
6868 }
6969
7070 /// <summary>
71- /// Predict a target using a linear binary classification model trained with the <see cref="SymSgdClassificationTrainer "/>.
71+ /// Predict a target using a linear binary classification model trained with the <see cref="SymbolicStochasticGradientDescentClassificationTrainer "/>.
7272 /// </summary>
7373 /// <param name="catalog">The <see cref="BinaryClassificationCatalog"/>.</param>
7474 /// <param name="labelColumnName">The name of the label column.</param>
@@ -81,43 +81,43 @@ public static OlsLinearRegressionTrainer OrdinaryLeastSquares(
8181 /// ]]>
8282 /// </format>
8383 /// </example>
84- public static SymSgdClassificationTrainer SymbolicStochasticGradientDescent ( this BinaryClassificationCatalog . BinaryClassificationTrainers catalog ,
84+ public static SymbolicStochasticGradientDescentClassificationTrainer SymbolicStochasticGradientDescent ( this BinaryClassificationCatalog . BinaryClassificationTrainers catalog ,
8585 string labelColumnName = DefaultColumnNames . Label ,
8686 string featureColumnName = DefaultColumnNames . Features ,
87- int numberOfIterations = SymSgdClassificationTrainer . Defaults . NumberOfIterations )
87+ int numberOfIterations = SymbolicStochasticGradientDescentClassificationTrainer . Defaults . NumberOfIterations )
8888 {
8989 Contracts . CheckValue ( catalog , nameof ( catalog ) ) ;
9090 var env = CatalogUtils . GetEnvironment ( catalog ) ;
9191
92- var options = new SymSgdClassificationTrainer . Options
92+ var options = new SymbolicStochasticGradientDescentClassificationTrainer . Options
9393 {
9494 LabelColumnName = labelColumnName ,
9595 FeatureColumnName = featureColumnName ,
9696 } ;
9797
98- return new SymSgdClassificationTrainer ( env , options ) ;
98+ return new SymbolicStochasticGradientDescentClassificationTrainer ( env , options ) ;
9999 }
100100
101101 /// <summary>
102- /// Predict a target using a linear binary classification model trained with the <see cref="SymSgdClassificationTrainer "/>.
102+ /// Predict a target using a linear binary classification model trained with the <see cref="SymbolicStochasticGradientDescentClassificationTrainer "/>.
103103 /// </summary>
104104 /// <param name="catalog">The <see cref="BinaryClassificationCatalog"/>.</param>
105- /// <param name="options">Algorithm advanced options. See <see cref="SymSgdClassificationTrainer .Options"/>.</param>
105+ /// <param name="options">Algorithm advanced options. See <see cref="SymbolicStochasticGradientDescentClassificationTrainer .Options"/>.</param>
106106 /// <example>
107107 /// <format type="text/markdown">
108108 /// <]
110110 /// ]]>
111111 /// </format>
112112 /// </example>
113- public static SymSgdClassificationTrainer SymbolicStochasticGradientDescent (
113+ public static SymbolicStochasticGradientDescentClassificationTrainer SymbolicStochasticGradientDescent (
114114 this BinaryClassificationCatalog . BinaryClassificationTrainers catalog ,
115- SymSgdClassificationTrainer . Options options )
115+ SymbolicStochasticGradientDescentClassificationTrainer . Options options )
116116 {
117117 Contracts . CheckValue ( catalog , nameof ( catalog ) ) ;
118118 Contracts . CheckValue ( options , nameof ( options ) ) ;
119119 var env = CatalogUtils . GetEnvironment ( catalog ) ;
120- return new SymSgdClassificationTrainer ( env , options ) ;
120+ return new SymbolicStochasticGradientDescentClassificationTrainer ( env , options ) ;
121121 }
122122
123123 /// <summary>
0 commit comments