Skip to content

Commit e1ab18c

Browse files
authored
One line renaming (#2782)
1 parent 0ada2fd commit e1ab18c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Microsoft.ML.StandardLearners/FactorizationMachine/FactorizationMachineTrainer.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,12 +182,12 @@ internal FieldAwareFactorizationMachineBinaryClassificationTrainer(IHostEnvironm
182182
/// <param name="env">The private instance of <see cref="IHostEnvironment"/>.</param>
183183
/// <param name="featureColumnNames">The name of column hosting the features. The i-th element stores feature column of the i-th field.</param>
184184
/// <param name="labelColumnName">The name of the label column.</param>
185-
/// <param name="weightColumnName">The name of the weight column (optional).</param>
185+
/// <param name="exampleWeightColumnName">The name of the weight column (optional).</param>
186186
[BestFriend]
187187
internal FieldAwareFactorizationMachineBinaryClassificationTrainer(IHostEnvironment env,
188188
string[] featureColumnNames,
189189
string labelColumnName = DefaultColumnNames.Label,
190-
string weightColumnName = null)
190+
string exampleWeightColumnName = null)
191191
{
192192
Contracts.CheckValue(env, nameof(env));
193193
_host = env.Register(LoadName);
@@ -202,7 +202,7 @@ internal FieldAwareFactorizationMachineBinaryClassificationTrainer(IHostEnvironm
202202
FeatureColumns[i] = new SchemaShape.Column(featureColumnNames[i], SchemaShape.Column.VectorKind.Vector, NumberDataViewType.Single, false);
203203

204204
LabelColumn = new SchemaShape.Column(labelColumnName, SchemaShape.Column.VectorKind.Scalar, BooleanDataViewType.Instance, false);
205-
WeightColumn = weightColumnName != null ? new SchemaShape.Column(weightColumnName, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false) : default;
205+
WeightColumn = exampleWeightColumnName != null ? new SchemaShape.Column(exampleWeightColumnName, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false) : default;
206206
}
207207

208208
/// <summary>

0 commit comments

Comments
 (0)