1 write to _labelColumnName
Microsoft.ML.Transforms (1)
Dracula\CountTableTransformer.cs (1)
126
_labelColumnName
= labelColumnName;
7 references to _labelColumnName
Microsoft.ML.Transforms (7)
Dracula\CountTableTransformer.cs (7)
131
var labelCol = input.Schema.GetColumnOrNull(
_labelColumnName
);
133
throw _host.ExceptUserArg(nameof(
_labelColumnName
), "Label column '{0}' not found",
_labelColumnName
);
135
CheckLabelType(new RoleMappedData(input, roles: RoleMappedSchema.CreatePair(RoleMappedSchema.ColumnRole.Label,
_labelColumnName
)), out var labelCardinality);
305
_host.CheckUserArg(labelCardinality > 1, nameof(
_labelColumnName
), "Label column type must have known cardinality more than 1");
325
if (!inputSchema.TryFindColumn(
_labelColumnName
, out var labelCol))
326
throw _host.ExceptSchemaMismatch(nameof(inputSchema), "label",
_labelColumnName
);