42 references to ExceptParam
Microsoft.ML.Core (2)
Data\Repository.cs (2)
325throw ExceptionContext.ExceptParam(nameof(name), "Duplicate entry: '{0}'", pathEnt); 533throw ExceptionContext.ExceptParam(nameof(name), "Duplicate entry: '{0}'", pathLower);
Microsoft.ML.Data (31)
DataLoadSave\LegacyCompositeDataLoader.cs (1)
608throw _host.ExceptParam(nameof(col), "Bad call to GetSlotCursor on untransposable column '{0}'",
DataLoadSave\Transpose\TransposeLoader.cs (1)
643throw _host.ExceptParam(nameof(col), "Bad call to GetSlotCursor on untransposable column '{0}'",
DataView\LambdaColumnMapper.cs (4)
37throw env.ExceptParam(nameof(mapper), 42throw env.ExceptParam(nameof(mapper), 48throw env.ExceptParam(nameof(src), "The input data doesn't have a column named '{0}'", src); 61throw env.ExceptParam(nameof(mapper),
DataView\LambdaFilter.cs (3)
32throw env.ExceptParam(nameof(predicate), 39throw env.ExceptParam(nameof(src), "The input data doesn't have a column named '{0}'", src); 52throw env.ExceptParam(nameof(predicate),
DataView\Transposer.cs (6)
141throw ch.ExceptParam(nameof(view), "Column named '{0}' is not serializable by the transposer", _cols[c].Name); 143throw ch.ExceptParam(nameof(view), "Column named '{0}' is vector, but not of known size, and so cannot be transposed", _cols[c].Name); 188throw _host.ExceptParam(nameof(view), "View has {0} rows, we cannot transpose with more than {1}", rowCount, Utils.ArrayMaxSize); 214throw host.ExceptParam(nameof(columns), "Column named '{0}' not found", columns[c]); 228throw host.ExceptParam(nameof(columns), "Column index {0} illegal for data with {1} column", columns[c], schema.Count); 242throw _host.ExceptParam(nameof(col), "Bad call to GetSlotCursor on untransposable column '{0}'", _tview.Schema[col].Name);
EntryPoints\InputBase.cs (1)
111throw ch.ExceptParam(nameof(input.Caching), "Unknown option for caching: '{0}'", input.Caching);
Evaluators\BinaryClassifierEvaluator.cs (1)
1092throw Host.ExceptParam(nameof(schema), "Did not find the probability column '{0}'", _probCol);
Evaluators\QuantileRegressionEvaluator.cs (1)
291throw Host.ExceptParam(nameof(quantiles), "buffer must be of length '{0}'", scoreSize);
Scorers\MulticlassClassificationScorer.cs (1)
298throw env.ExceptParam(nameof(mapper), "Mapper did not have a '{0}' column", AnnotationUtils.Const.ScoreValueKind.Score);
Scorers\PredictedLabelScorerBase.cs (1)
298throw Host.ExceptParam(nameof(scoreColName), "mapper does not contain a column '{0}'", scoreColName);
Transforms\NormalizeColumn.cs (5)
997throw host.ExceptParam(nameof(srcType), "Wrong column type for input column. Expected: Single, Double, Vector of Single or Vector of Double. Got: {0}.", srcType.ToString()); 1036throw host.ExceptParam(nameof(srcType), "Wrong column type for input column. Expected: Single, Double, Vector of Single or Vector of Double. Got: {0}.", srcType.ToString()); 1117throw host.ExceptParam(nameof(column), "Wrong column type for column {0}. Expected: Single, Double, Vector of Single or Vector of Double. Got: {1}.", column.InputColumnName, srcType.ToString()); 1177throw host.ExceptParam(nameof(column), "Wrong column type for column {0}. Expected: Single, Double, Vec<Single, n> or Vec<Double, n>. Got: {1}.", 1229throw host.ExceptParam(nameof(srcType), "Wrong column type for input column. Expected: Single, Double, Vector of Single or Vector of Double. Got: {0}.", srcType.ToString());
Transforms\PerGroupTransformBase.cs (3)
44ectx.ExceptParam(nameof(labelCol), "Label column '{0}' does not exist", labelCol) : 50ectx.ExceptParam(nameof(scoreCol), "Score column '{0}' does not exist", scoreCol) : 56ectx.ExceptParam(nameof(groupCol), "Group column '{0}' does not exist", groupCol) :
Transforms\TransformBase.cs (1)
774return Host.ExceptParam(nameof(col), "Bad call to GetSlotCursor on untransposable column '{0}'",
Transforms\TypeConverting.cs (1)
405throw Host.ExceptParam(nameof(inputSchema),
Transforms\ValueToKeyMappingTransformer.cs (1)
563throw ch.ExceptParam(nameof(keyData), "Terms from input data type '{0}' but mismatches column '{1}' item type '{2}'",
Microsoft.ML.FastTree (1)
FastTree.cs (1)
1777throw Host.ExceptParam(nameof(data), "Input data had {0} rows, but can only accommodate {1}", numInstances, Utils.ArrayMaxSize);
Microsoft.ML.Recommender (2)
MatrixFactorizationTrainer.cs (2)
458throw ch.ExceptParam(nameof(validData), "Train and validation sets' matrix-column types differed, {0} vs. {1}", 463throw ch.ExceptParam(nameof(validData), "Train and validation sets' matrix-row types differed, {0} vs. {1}",
Microsoft.ML.StandardTrainers (1)
FactorizationMachine\FactorizationMachineTrainer.cs (1)
426throw ch.ExceptParam(nameof(data), "Training feature column '{0}' must be a known-size vector of Single, but has type: {1}.", col.Name, col.Type);
Microsoft.ML.Transforms (5)
GroupTransform.cs (1)
652throw Ch.ExceptParam(nameof(column), "Column #{0} is not active", column);
MissingValueReplacing.cs (4)
574throw Host.ExceptParam(nameof(InputSchema), "Column '{0}' item type '{1}' does not match expected ColumnType of '{2}'", 580throw Host.ExceptParam(nameof(inputSchema), "Column '{0}' item type '{1}' cannot be a vector when Columntype is a scalar of type '{2}'", 583throw Host.ExceptParam(nameof(inputSchema), "Column '{0}' is unknown size vector '{1}' must be a scalar instead of type '{2}'", _infos[i].InputColumnName, type, parent._replaceTypes[i]); 585throw Host.ExceptParam(nameof(inputSchema), "Column '{0}' item type '{1}' must be a scalar or a vector of the same size as Columntype '{2}'",