39 references to ExceptParam
Microsoft.ML.Core (11)
ComponentModel\LoadableClassAttribute.cs (1)
220
throw Contracts.
ExceptParam
(nameof(sigTypes), "Invalid signature parameter attributes");
Data\RoleMappedSchema.cs (1)
229
throw Contracts.
ExceptParam
(nameof(schema), $"{kvp.Value} column '{kvp.Key.Value}' not found");
Utilities\Contracts.cs (1)
537
throw
ExceptParam
(paramName, msg);
Utilities\FuncInstanceMethodInfo1`2.cs (1)
60
throw Contracts.
ExceptParam
(nameof(expression), "Unexpected expression form");
Utilities\FuncInstanceMethodInfo1`3.cs (1)
61
throw Contracts.
ExceptParam
(nameof(expression), "Unexpected expression form");
Utilities\FuncInstanceMethodInfo1`4.cs (1)
62
throw Contracts.
ExceptParam
(nameof(expression), "Unexpected expression form");
Utilities\FuncInstanceMethodInfo2`4.cs (1)
62
throw Contracts.
ExceptParam
(nameof(expression), "Unexpected expression form");
Utilities\FuncInstanceMethodInfo3`3.cs (1)
61
throw Contracts.
ExceptParam
(nameof(expression), "Unexpected expression form");
Utilities\FuncInstanceMethodInfo3`4.cs (1)
62
throw Contracts.
ExceptParam
(nameof(expression), "Unexpected expression form");
Utilities\PathUtils.cs (1)
143
throw Contracts.
ExceptParam
(nameof(folder), $"Failed to create folder for the provided path: {folder}. \nException: {exc.Message}");
Utilities\Utils.cs (1)
965
throw Contracts.
ExceptParam
(nameof(func), "Cannot be generic on return type");
Microsoft.ML.Data (20)
Data\SchemaDefinition.cs (1)
457
throw Contracts.
ExceptParam
(nameof(userType), "Some of member {0}'s dimension lengths are negative");
DataLoadSave\Binary\Codecs.cs (1)
1360
throw Contracts.
ExceptParam
(nameof(type), "type must be a key type");
DataView\CompositeRowToRowMapper.cs (1)
69
throw Contracts.
ExceptParam
(nameof(input), $"Mapper required column '{input.Schema[c].Name}' active but it was not.");
DataView\InternalSchemaDefinition.cs (2)
225
throw Contracts.
ExceptParam
(nameof(userSchemaDefinition), "Null field name detected in schema definition");
255
throw Contracts.
ExceptParam
(nameof(userSchemaDefinition), "No return parameter found in computed column.");
DataView\TypedCursor.cs (2)
254
throw Contracts.
ExceptParam
(nameof(actualType), $"The expected type '{expectedType.RawType}' does not match the type of the '{singleName}' member: '{actualType}'. Please change the {singleName} member to '{expectedType.RawType}'");
278
throw Contracts.
ExceptParam
(nameof(schemaDefinition), "Null field name detected in schema definition");
Model\Pfa\PfaContext.cs (1)
188
throw Contracts.
ExceptParam
(nameof(name), $"Cell {name} already exists");
Training\TrainerUtils.cs (5)
54
throw Contracts.
ExceptParam
(nameof(data), "Training data must specify a feature column.");
87
throw Contracts.
ExceptParam
(nameof(data), "Training data must specify a label column.");
122
throw Contracts.
ExceptParam
(nameof(data), "Training data must specify a label column.");
142
throw Contracts.
ExceptParam
(nameof(data), "Training data must specify a label column.");
190
throw Contracts.
ExceptParam
(nameof(data), "Training data must specify a label column.");
Transforms\Hashing.cs (1)
1839
throw Contracts.
ExceptParam
(nameof(maximumNumberOfInverts), "Value too small, must be -1 or larger");
Transforms\Normalizer.cs (1)
163
throw Contracts.
ExceptParam
(nameof(mode), "Unknown normalizer mode");
Transforms\OneToOneTransformerBase.cs (1)
30
throw Contracts.
ExceptParam
(nameof(columns), $"Name of the result column '{column.outputColumnName}' specified multiple times");
Utilities\ColumnCursor.cs (3)
46
throw Contracts.
ExceptParam
(nameof(column), string.Format("column with name {0}, type {1}, and index {2} cannot be found in {3}",
74
throw Contracts.
ExceptParam
(nameof(column), string.Format("Cannot load vector type, {0}, specified in {1} to the user-defined type, {2}.", column.Type, nameof(column), typeof(T)));
94
throw Contracts.
ExceptParam
(nameof(column), string.Format("Cannot map column (name: {0}, type: {1}) in {2} to the user-defined type, {3}.",
Utilities\TypeParsingUtils.cs (1)
90
throw Contracts.
ExceptParam
(nameof(count), "The cardinality of valid values of a "
Microsoft.ML.Ensemble (1)
FeatureSubsetModel.cs (1)
25
throw Contracts.
ExceptParam
(nameof(predictor),
Microsoft.ML.Mkl.Components (1)
OlsLinearRegression.cs (1)
583
throw Contracts.
ExceptParam
(nameof(ap), "Input matrix was not positive-definite. Try using a larger L2 regularization weight.");
Microsoft.ML.Parquet (1)
PartitionedPathUtils.cs (1)
31
throw Contracts.
ExceptParam
(nameof(basepath), "Paths cannot be made relative as they are of different schemes.");
Microsoft.ML.TensorFlow (2)
TensorflowUtils.cs (2)
316
throw Contracts.
ExceptParam
(nameof(folder), $"Failed to create folder for the provided path: {folder}. \nException: {exc.Message}");
385
throw Contracts.
ExceptParam
(nameof(folder), $"Failed to create folder for the provided path: {folder}. \nException: {exc.Message}");
Microsoft.ML.TimeSeries (1)
PredictionEngine.cs (1)
180
throw Contracts.
ExceptParam
(nameof(input), $"Mapper required column '{input.Schema[c].Name}' active but it was not.");
Microsoft.ML.Transforms (2)
Dracula\CountTableTransformer.cs (1)
106
throw Contracts.
ExceptParam
(nameof(columns), $"New estimator applied {columns.Length} columns, but old transformer applied to {initial.Featurizer.PriorCoef.Length} columns");
Text\NgramHashingTransformer.cs (1)
957
throw Contracts.
ExceptParam
(nameof(maximumNumberOfInverts), "Value too small, must be -1 or larger");