@@ -350,17 +350,17 @@ internal MatrixFactorizationTrainer(IHostEnvironment env, Options options)
350
350
/// Initializes a new instance of <see cref="MatrixFactorizationTrainer"/>.
351
351
/// </summary>
352
352
/// <param name="env">The private instance of <see cref="IHostEnvironment"/>.</param>
353
+ /// <param name="labelColumnName">The name of the label column.</param>
353
354
/// <param name="matrixColumnIndexColumnName">The name of the column hosting the matrix's column IDs.</param>
354
355
/// <param name="matrixRowIndexColumnName">The name of the column hosting the matrix's row IDs.</param>
355
- /// <param name="labelColumn">The name of the label column.</param>
356
356
/// <param name="approximationRank">Rank of approximation matrixes.</param>
357
357
/// <param name="learningRate">Initial learning rate. It specifies the speed of the training algorithm.</param>
358
358
/// <param name="numIterations">Number of training iterations.</param>
359
359
[ BestFriend ]
360
360
internal MatrixFactorizationTrainer ( IHostEnvironment env ,
361
+ string labelColumnName ,
361
362
string matrixColumnIndexColumnName ,
362
363
string matrixRowIndexColumnName ,
363
- string labelColumn = DefaultColumnNames . Label ,
364
364
int approximationRank = Defaults . ApproximationRank ,
365
365
double learningRate = Defaults . LearningRate ,
366
366
int numIterations = Defaults . NumIterations )
@@ -383,7 +383,7 @@ internal MatrixFactorizationTrainer(IHostEnvironment env,
383
383
384
384
_info = new TrainerInfo ( normalization : false , caching : false ) ;
385
385
386
- LabelName = labelColumn ;
386
+ LabelName = labelColumnName ;
387
387
MatrixColumnIndexName = matrixColumnIndexColumnName ;
388
388
MatrixRowIndexName = matrixRowIndexColumnName ;
389
389
}
0 commit comments