Transforms\NormalizeColumn.cs (7)
1130host.CheckUserArg(!string.IsNullOrWhiteSpace(args.LabelColumn), nameof(args.LabelColumn), "Must specify the label column name");
1131int labelColumnId = GetLabelColumnId(host, cursor.Schema, args.LabelColumn);
1134host.CheckUserArg(labelKeyType.Count > 0, nameof(args.LabelColumn), "Label column must have a known cardinality");
1136host.CheckUserArg(labelColumnType is NumberDataViewType, nameof(args.LabelColumn), "Label column must be a number or a key type");
1142args.LabelColumn ?? DefaultColumnNames.Label,
1188throw host.ExceptUserArg(nameof(SupervisedBinArguments.LabelColumn), "Label column '{0}' not found", labelColumnName);