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