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)
131var labelCol = input.Schema.GetColumnOrNull(_labelColumnName); 133throw _host.ExceptUserArg(nameof(_labelColumnName), "Label column '{0}' not found", _labelColumnName); 135CheckLabelType(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"); 325if (!inputSchema.TryFindColumn(_labelColumnName, out var labelCol)) 326throw _host.ExceptSchemaMismatch(nameof(inputSchema), "label", _labelColumnName);