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