1 write to WeightColumn
Microsoft.ML.Data (1)
Training\TrainerEstimatorBase.cs (1)
69WeightColumn = weight;
9 references to WeightColumn
Microsoft.ML.Data (8)
Training\TrainerEstimatorBase.cs (8)
114if (WeightColumn.IsValid) 116if (!inputSchema.TryFindColumn(WeightColumn.Name, out var weightCol)) 117throw Host.ExceptSchemaMismatch(nameof(inputSchema), "weight", WeightColumn.Name); 118if (!WeightColumn.IsCompatibleWith(weightCol)) 119throw Host.ExceptSchemaMismatch(nameof(inputSchema), "weight", WeightColumn.Name, 120WeightColumn.GetTypeString(), weightCol.GetTypeString()); 166new RoleMappedData(data, label: LabelColumn.Name, feature: FeatureColumn.Name, weight: WeightColumn.Name); 198new RoleMappedData(data, label: LabelColumn.Name, feature: FeatureColumn.Name, group: GroupIdColumn.Name, weight: WeightColumn.Name);
Microsoft.ML.StandardTrainers (1)
Standard\LogisticRegression\LbfgsPredictorBase.cs (1)
243options.ExampleWeightColumnName = WeightColumn.Name;