50 references to ExceptUserArg
Microsoft.ML.Data (29)
Commands\ScoreCommand.cs (1)
175throw ch.ExceptUserArg(nameof(Arguments.OutputColumns), "Column '{0}' not found.", outCol);
Commands\TrainCommand.cs (1)
523throw ectx.ExceptUserArg(nameof(TrainCommand.Arguments.CustomColumns), "Custom column with name '{0}' needs a kind. Use col[<Kind>]={0}", kindName.Value);
DataLoadSave\Text\TextLoader.cs (4)
815throw ch.ExceptUserArg(nameof(range.Min), "Column #{0} not found in the dataset (it only has {1} columns)", min, inputSize); 1244throw _host.ExceptUserArg(nameof(Options.DecimalMarker), "Decimal marker cannot be the '{0}' character. It must be '.' or ','.", options.DecimalMarker); 1250throw _host.ExceptUserArg(nameof(Options.EscapeChar), "EscapeChar '{0}' can't be used both as EscapeChar and separator", _escapeChar); 1283throw _host.ExceptUserArg(nameof(Options.Separator), "Illegal separator: '{0}'", sep);
Evaluators\ClusteringEvaluator.cs (1)
815throw Host.ExceptUserArg(nameof(Arguments.FeatureColumn), "Features column '{0}' not found", feat);
Evaluators\EvaluatorUtils.cs (4)
78throw env.ExceptUserArg(nameof(EvaluateCommand.Arguments.Evaluator), "No default evaluator found for score column kind '{0}'.", tmp.ToString()); 178throw ectx.ExceptUserArg(argName, "{0} column is missing", valueKind); 180throw ectx.ExceptUserArg(argName, "{0} column has incompatible type", valueKind); 248throw ectx.ExceptUserArg(nameof(EvaluateCommand.Arguments.WeightColumn), "Incompatible Weight column. Weight column type must be {0}.", NumberDataViewType.Single);
Transforms\NAFilter.cs (3)
110throw Host.ExceptUserArg(nameof(args.Columns), "Source column '{0}' not found", src); 112throw Host.ExceptUserArg(nameof(args.Columns), "Source column '{0}' specified multiple times", src); 116throw Host.ExceptUserArg(nameof(args.Columns), $"Column '{src}' has type {type} which does not support missing values, so we cannot filter on them", src);
Transforms\NormalizeColumn.cs (5)
447throw host.ExceptUserArg(nameof(AffineArgumentsBase.Columns), "Wrong column type. Expected: Single, Double, or Vector of Single or Vector of Double. Got: {0}.", typeSrc.ToString()); 566throw host.ExceptUserArg(nameof(AffineArgumentsBase.Columns), "Wrong column type. Expected: Single, Double, Vector of Single or Vector of Double. Got: {0}.", typeSrc); 702throw host.ExceptUserArg(nameof(BinArguments.Columns), "Wrong column type. Expected: Single, Double, Vector of Single or Vector of Double. Got: {0}.", typeSrc); 1077throw host.ExceptUserArg(nameof(column), "Wrong column type for column {0}. Expected: Single, Double, Vector of Single or Vector of Double. Got: {1}.", column.InputColumnName, srcType.ToString()); 1188throw host.ExceptUserArg(nameof(SupervisedBinArguments.LabelColumn), "Label column '{0}' not found", labelColumnName);
Transforms\RangeFilter.cs (2)
102throw Host.ExceptUserArg(nameof(options.Column), "Source column '{0}' not found", options.Column); 108throw ch.ExceptUserArg(nameof(options.Column), "Column '{0}' does not have compatible type", options.Column);
Transforms\TransformBase.cs (2)
347throw host.ExceptUserArg(nameof(OneToOneColumn.Source), "Source column '{0}' not found", item.Source); 354throw host.ExceptUserArg(nameof(OneToOneColumn.Source), InvalidTypeErrorFormat, item.Source, type, reason);
Transforms\ValueToKeyMappingTransformer.cs (4)
284throw ch.ExceptUserArg(nameof(options.Sort), "Undefined sorting criteria '{0}' detected", options.Sort); 291throw env.ExceptUserArg(nameof(options.Sort), "Undefined sorting criteria '{0}' detected for column '{1}'", sortOrder, item.Name); 456throw ch.ExceptUserArg(nameof(termsColumn), "Unknown column '{0}'", src); 481throw ch.ExceptUserArg(nameof(keyData), "Input data's column must be of type '{0}' but was '{1}'", bldr.ItemType, typeSrc);
Transforms\ValueToKeyMappingTransformerImpl.cs (2)
225throw ch.ExceptUserArg(nameof(Options.Term), "Nothing parsed as '{0}'", ItemType); 250throw ch.ExceptUserArg(nameof(Options.Term), "Nothing parsed as '{0}'", ItemType);
Microsoft.ML.FastTree (3)
FastTreeRanking.cs (1)
177throw ch.ExceptUserArg(nameof(FastTreeTrainerOptions.CustomGains),
TreeEnsembleFeaturizer.cs (2)
657throw ch.ExceptUserArg(nameof(args.TrainedModelFile), 728throw ch.ExceptUserArg(nameof(args.PredictorModel),
Microsoft.ML.Sweeper (1)
ConfigRunner.cs (1)
85throw Host.ExceptUserArg(nameof(OptionsBase.Exe), "Executable {0} not found", Exe);
Microsoft.ML.TimeSeries (1)
AdaptiveSingularSpectrumSequenceModeler.cs (1)
1558throw _host.ExceptUserArg(nameof(data.Schema.Feature.Value.Name), "The time series input column has " +
Microsoft.ML.Transforms (16)
CountFeatureSelection.cs (3)
173throw _host.ExceptUserArg(nameof(inputSchema), "Column '{0}' does not have compatible type. Expected types are float, double or string.", colPair.InputColumnName); 310throw env.ExceptUserArg(nameof(CountFeatureSelectingEstimator.Options.Columns), "Source column '{0}' not found", colName); 314throw env.ExceptUserArg(nameof(CountFeatureSelectingEstimator.Options.Columns), "Variable length column '{0}' is not allowed", colName);
Dracula\CountTableTransformer.cs (1)
133throw _host.ExceptUserArg(nameof(_labelColumnName), "Label column '{0}' not found", _labelColumnName);
HashJoiningTransform.cs (1)
205throw Host.ExceptUserArg(nameof(args.NumberOfBits), "numberOfBits should be between {0} and {1} inclusive", NumBitsMin, NumBitsLim - 1);
LoadTransform.cs (1)
118throw h.ExceptUserArg(nameof(args.Tags), "No transforms were found that match the search criteria ({0})", criteria);
MissingValueReplacing.cs (1)
442throw env.ExceptUserArg(nameof(options.ReplacementKind), "Undefined sorting criteria '{0}' detected for column '{1}'", kind, item.Name);
MutualInformationFeatureSelection.cs (6)
238throw _host.ExceptUserArg(nameof(inputSchema), 444throw _host.ExceptUserArg(nameof(MutualInformationFeatureSelectingEstimator.Options.LabelColumnName), 451throw _host.ExceptUserArg(nameof(MutualInformationFeatureSelectingEstimator.Options.LabelColumnName), 462throw _host.ExceptUserArg(nameof(MutualInformationFeatureSelectingEstimator.Options.Columns), 469throw _host.ExceptUserArg(nameof(MutualInformationFeatureSelectingEstimator.Options.Columns), 475throw _host.ExceptUserArg(nameof(MutualInformationFeatureSelectingEstimator.Options.Columns),
Text\StopWordsRemovingTransformer.cs (1)
869throw ch.ExceptUserArg(nameof(Options.StopwordsColumn), "Unknown column '{0}'", srcCol);
UngroupTransform.cs (2)
335throw ectx.ExceptUserArg(nameof(Options.Columns), "Pivot column '{0}' is not found", name); 337throw ectx.ExceptUserArg(nameof(Options.Columns),