1 write to _weightCol
Microsoft.ML.Transforms (1)
SvmLight\SvmLightSaver.cs (1)
74
_weightCol
= args.ExampleWeightColumnName;
5 references to _weightCol
Microsoft.ML.Transforms (5)
SvmLight\SvmLightSaver.cs (5)
110
var weightCol = !string.IsNullOrWhiteSpace(
_weightCol
) ? data.Schema.GetColumnOrNull(
_weightCol
) : default;
111
if (!string.IsNullOrWhiteSpace(
_weightCol
) && !weightCol.HasValue)
112
throw ch.Except($"Column {
_weightCol
} not found in data");
118
if (column.Name != _labelCol && column.Name != _featureCol && column.Name != _groupCol && column.Name !=
_weightCol
)