12 references to ExceptUserArg
Microsoft.ML.Core (4)
Utilities\Contracts.cs (1)
516
throw
ExceptUserArg
(name, msg);
Utilities\Stream.cs (3)
855
throw Contracts.
ExceptUserArg
(userArgument, exc.Message);
859
throw Contracts.
ExceptUserArg
(userArgument, exc.Message);
863
throw Contracts.
ExceptUserArg
(userArgument, exc.Message);
Microsoft.ML.Data (4)
DataLoadSave\Text\TextSaver.cs (1)
299
throw Contracts.
ExceptUserArg
(nameof(Arguments.Separator), "Invalid separator - must be: space, tab, comma, semicolon, or bar");
Evaluators\EvaluatorBase.cs (1)
372
throw Contracts.
ExceptUserArg
(nameof(MamlEvaluatorBase.ArgumentsBase.StratColumns),
Transforms\ColumnBindingsBase.cs (1)
327
Contracts.
ExceptUserArg
(standardColumnArgName, "New column needs a name") :
Transforms\TypeConverting.cs (1)
590
throw Contracts.
ExceptUserArg
(nameof(type), $"Unsupported type {type}.");
Microsoft.ML.Transforms (4)
Text\NgramHashingTransformer.cs (2)
964
throw Contracts.
ExceptUserArg
(nameof(skipLength), string.Format(
968
throw Contracts.
ExceptUserArg
(nameof(skipLength),
Text\NgramTransform.cs (2)
1041
throw Contracts.
ExceptUserArg
(nameof(skipLength), string.Format(
1044
throw Contracts.
ExceptUserArg
(nameof(skipLength),