151 references to ExceptSchemaMismatch
Microsoft.ML.Data (50)
DataLoadSave\DataOperationsCatalog.cs (2)
201throw _env.ExceptSchemaMismatch(nameof(columnsToPrefetch), "prefetch", columnsToPrefetch[i]); 556throw env.ExceptSchemaMismatch(nameof(samplingKeyColumn), "SamplingKeyColumn", samplingKeyColumn);
DataView\TypedCursor.cs (1)
108throw _host.ExceptSchemaMismatch(nameof(_data.Schema), "", col.ColumnName);
Evaluators\AnomalyDetectionEvaluator.cs (4)
674throw Host.ExceptSchemaMismatch(nameof(top.Schema), "instance", AnomalyDetectionEvaluator.TopKResultsColumns.Instance); 679throw Host.ExceptSchemaMismatch(nameof(top.Schema), "anomaly score", AnomalyDetectionEvaluator.TopKResultsColumns.AnomalyScore); 684throw Host.ExceptSchemaMismatch(nameof(top.Schema), "label", AnomalyDetectionEvaluator.TopKResultsColumns.Label); 718throw Host.ExceptSchemaMismatch(nameof(overall.Schema), "number of anomalies", AnomalyDetectionEvaluator.OverallMetrics.NumAnomalies);
Evaluators\EvaluatorBase.cs (4)
489throw Host.ExceptSchemaMismatch(nameof(schema), "label", LabelCol); 491throw Host.ExceptSchemaMismatch(nameof(schema), "score", ScoreCol); 505throw Host.ExceptSchemaMismatch(nameof(schema), "label", LabelCol); 507throw Host.ExceptSchemaMismatch(nameof(schema), "score", ScoreCol);
Evaluators\MulticlassClassificationEvaluator.cs (1)
1058throw Host.ExceptSchemaMismatch(nameof(schema), "label", labelName);
Prediction\Calibrator.cs (1)
958throw ch.ExceptSchemaMismatch(nameof(weightColumn), "weight", weightColumn);
Prediction\CalibratorCatalog.cs (1)
92throw Host.ExceptSchemaMismatch(nameof(inputSchema), columnRole, column.Name);
Scorers\PredictionTransformer.cs (4)
234throw Host.ExceptSchemaMismatch(nameof(featureColumn), "feature", featureColumn); 249throw Host.ExceptSchemaMismatch(nameof(FeatureColumnName), "feature", FeatureColumnName); 264throw Host.ExceptSchemaMismatch(nameof(FeatureColumnName), "feature", FeatureColumnName); 283throw Host.ExceptSchemaMismatch(nameof(inputSchema), "feature", FeatureColumnName);
Training\TrainerEstimatorBase.cs (3)
109throw Host.ExceptSchemaMismatch(nameof(inputSchema), "feature", FeatureColumn.Name); 117throw Host.ExceptSchemaMismatch(nameof(inputSchema), "weight", WeightColumn.Name); 128throw Host.ExceptSchemaMismatch(nameof(inputSchema), "label", LabelColumn.Name);
Transforms\ColumnConcatenatingEstimator.cs (1)
107throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", sources[i]);
Transforms\ColumnConcatenatingTransformer.cs (1)
467throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", srcName);
Transforms\ColumnCopying.cs (1)
80throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", inputColumnName);
Transforms\ColumnSelecting.cs (4)
139throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", string.Join(",", invalidColumns)); 478throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", string.Join(",", invalidColumns)); 497throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", string.Join(",", invalidColumns)); 515throw _host.ExceptSchemaMismatch(nameof(input), "input", string.Join(",", invalidColumns));
Transforms\FeatureContributionCalculationTransformer.cs (2)
182throw Host.ExceptSchemaMismatch(nameof(schema), "input", _parent.ColumnPairs[0].inputColumnName); 343throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", _featureColumn);
Transforms\Hashing.cs (2)
204throw Host.ExceptSchemaMismatch(nameof(input), "input", ColumnPairs[i].inputColumnName); 1960throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.InputColumnName);
Transforms\KeyToValue.cs (1)
641throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.inputColumnName);
Transforms\KeyToVector.cs (3)
281throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", _parent.ColumnPairs[i].inputColumnName); 825throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.InputColumnName); 827throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.InputColumnName);
Transforms\NAFilter.cs (1)
146throw Host.ExceptSchemaMismatch(nameof(schema), "source", src);
Transforms\Normalizer.cs (2)
352throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.InputColumnName); 546throw env.ExceptSchemaMismatch(nameof(data), "input", info.InputColumnName);
Transforms\OneToOneTransformerBase.cs (1)
80throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", ColumnPairs[col].inputColumnName);
Transforms\RangeFilter.cs (1)
152throw Host.ExceptSchemaMismatch(nameof(schema), "source", column);
Transforms\SlotsDroppingTransformer.cs (2)
483throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", _parent.ColumnPairs[i].inputColumnName); 489throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", _parent.ColumnPairs[i].inputColumnName);
Transforms\TransformBase.cs (1)
397throw host.ExceptSchemaMismatch(nameof(inputSchema), "source", src);
Transforms\TypeConverting.cs (1)
629throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.InputColumnName);
Transforms\ValueMapping.cs (2)
115throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", inputColumnName); 1069throw Host.ExceptSchemaMismatch(nameof(_inputSchema), "input", inputColumnName);
Transforms\ValueToKeyMappingEstimator.cs (2)
185throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.InputColumnName); 188throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.InputColumnName);
Transforms\ValueToKeyMappingTransformer.cs (1)
235throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", ColumnPairs[i].inputColumnName);
Microsoft.ML.Ensemble (1)
PipelineEnsemble.cs (1)
57throw Parent.Host.ExceptSchemaMismatch(nameof(InputRoleMappedSchema), "input", name);
Microsoft.ML.EntryPoints (2)
FeatureCombiner.cs (2)
237throw host.ExceptSchemaMismatch(nameof(input), "predicted label", input.LabelColumn); 273throw host.ExceptSchemaMismatch(nameof(input), "label", input.PredictedLabelColumn);
Microsoft.ML.FastTree (2)
TreeEnsembleFeaturizationEstimator.cs (1)
132throw Env.ExceptSchemaMismatch(nameof(inputSchema), "input", FeatureColumnName);
TreeEnsembleFeaturizer.cs (1)
801throw ch.ExceptSchemaMismatch(nameof(input), "label", labelName);
Microsoft.ML.ImageAnalytics (5)
ImageGrayscale.cs (1)
253throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.inputColumnName);
ImageLoader.cs (1)
444throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", inputColumnName);
ImagePixelExtractor.cs (1)
816throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.InputColumnName);
ImageResizer.cs (1)
516throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.InputColumnName);
VectorToImageTransform.cs (1)
750throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.InputColumnName);
Microsoft.ML.Mkl.Components (3)
VectorWhitening.cs (3)
288throw env.ExceptSchemaMismatch(nameof(inputSchema), "input", columns[i].InputColumnName); 566throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", _parent.ColumnPairs[i].inputColumnName); 897throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", colPair.InputColumnName);
Microsoft.ML.OnnxTransformer (2)
OnnxTransform.cs (2)
533throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", _parent.Inputs[i]); 1070throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", input);
Microsoft.ML.PCA (2)
PcaTransformer.cs (2)
822throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.InputColumnName); 825throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.InputColumnName);
Microsoft.ML.Recommender (7)
MatrixFactorizationPredictor.cs (6)
456throw Host.ExceptSchemaMismatch(nameof(MatrixColumnIndexColumnName), "matrixColumnIndex", MatrixColumnIndexColumnName); 459throw Host.ExceptSchemaMismatch(nameof(yCol), "matrixRowIndex", MatrixRowIndexColumnName); 494throw Host.ExceptSchemaMismatch(nameof(MatrixColumnIndexColumnName), "matrixColumnIndex", MatrixColumnIndexColumnName); 498throw Host.ExceptSchemaMismatch(nameof(MatrixRowIndexColumnName), "matrixRowIndex", MatrixRowIndexColumnName); 515throw Host.ExceptSchemaMismatch(nameof(inputSchema), "matrixColumnIndex", MatrixColumnIndexColumnName); 517throw Host.ExceptSchemaMismatch(nameof(inputSchema), "matrixRowIndex", MatrixRowIndexColumnName);
MatrixFactorizationTrainer.cs (1)
561throw _host.ExceptSchemaMismatch(nameof(col), columnRole, cachedColumn.Name);
Microsoft.ML.StandardTrainers (4)
FactorizationMachine\FactorizationMachineTrainer.cs (1)
630throw _host.ExceptSchemaMismatch(nameof(inputSchema), columnRole, column.Name);
FactorizationMachine\FieldAwareFactorizationMachineModelParameters.cs (2)
320throw Host.ExceptSchemaMismatch(nameof(featureColumns), "feature", feat); 351throw Host.ExceptSchemaMismatch(nameof(FeatureColumns), "feature", featureColumns[i]);
Standard\MulticlassClassification\MetaMulticlassTrainer.cs (1)
148throw Host.ExceptSchemaMismatch(nameof(labelCol), "label", LabelColumn.Name);
Microsoft.ML.TensorFlow (2)
TensorflowTransform.cs (2)
553throw Host.ExceptSchemaMismatch(nameof(InputSchema), "source", _parent.Inputs[i]); 1039throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", input);
Microsoft.ML.TimeSeries (14)
IidAnomalyDetectionBase.cs (1)
124throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", InputColumnName);
IidChangePointDetector.cs (1)
266throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", Transformer.InternalTransform.InputColumnName);
IidSpikeDetector.cs (1)
242throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", Transformer.InternalTransform.InputColumnName);
SequentialAnomalyDetectionTransformBase.cs (1)
317throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", parent.InputColumnName);
SequentialForecastingTransformBase.cs (1)
114throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", parent.InputColumnName);
SequentialTransformBase.cs (1)
349throw Host.ExceptSchemaMismatch(nameof(_transform.Schema), "output", OutputColumnName);
SrCnnAnomalyDetectionBase.cs (1)
115throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", InputColumnName);
SRCNNAnomalyDetector.cs (1)
274throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", Transformer.InternalTransform.InputColumnName);
SrCnnTransformBase.cs (1)
160throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", parent.InputColumnName);
SsaAnomalyDetectionBase.cs (1)
250throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", InputColumnName);
SsaChangePointDetector.cs (1)
302throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", _options.Source);
SSaForecasting.cs (1)
335throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", _options.Source);
SsaForecastingBase.cs (1)
174throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", InputColumnName);
SsaSpikeDetector.cs (1)
281throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", _options.Source);
Microsoft.ML.TorchSharp (16)
AutoFormerV2\ObjectDetectionTrainer.cs (4)
481throw Host.ExceptSchemaMismatch(nameof(inputSchema), "label", Option.LabelColumnName); 487throw Host.ExceptSchemaMismatch(nameof(inputSchema), "BoundingBox", Option.BoundingBoxColumnName); 493throw Host.ExceptSchemaMismatch(nameof(inputSchema), "Image", Option.ImageColumnName); 577throw Host.ExceptSchemaMismatch(nameof(inputSchema), "Image", Options.ImageColumnName);
NasBert\NasBertTrainer.cs (6)
366throw Host.ExceptSchemaMismatch(nameof(inputSchema), "sentence", BertOptions.Sentence1ColumnName); 372throw Host.ExceptSchemaMismatch(nameof(inputSchema), "label", Option.LabelColumnName); 384throw Host.ExceptSchemaMismatch(nameof(inputSchema), "sentence2", BertOptions.Sentence2ColumnName); 403throw Host.ExceptSchemaMismatch(nameof(inputSchema), "sentence2", BertOptions.Sentence2ColumnName); 459throw Host.ExceptSchemaMismatch(nameof(inputSchema), "sentence", SentenceColumn.Name); 467throw Host.ExceptSchemaMismatch(nameof(inputSchema), "sentence2", SentenceColumn2.Name);
Roberta\QATrainer.cs (6)
532throw Host.ExceptSchemaMismatch(nameof(inputSchema), "Context", Option.ContextColumnName); 538throw Host.ExceptSchemaMismatch(nameof(inputSchema), "Question", Option.QuestionColumnName); 544throw Host.ExceptSchemaMismatch(nameof(inputSchema), "TrainingAnswer", Option.TrainingAnswerColumnName); 550throw Host.ExceptSchemaMismatch(nameof(inputSchema), "AnswerIndex", Option.AnswerIndexStartColumnName); 618throw Host.ExceptSchemaMismatch(nameof(inputSchema), "Context", Options.ContextColumnName); 624throw Host.ExceptSchemaMismatch(nameof(inputSchema), "Question", Options.QuestionColumnName);
Microsoft.ML.Transforms (39)
CountFeatureSelection.cs (1)
171throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", colPair.InputColumnName);
Dracula\CountTableTransformer.cs (2)
326throw _host.ExceptSchemaMismatch(nameof(inputSchema), "label", _labelColumnName); 331throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.InputColumnName);
ExpressionTransformer.cs (3)
120throw env.ExceptSchemaMismatch(nameof(inputSchema), "input", inputColumnNames[isrc]); 141throw env.ExceptSchemaMismatch(nameof(inputSchema), "input", inputColumnNames[isrc]); 178throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", _columns[i].InputColumnNames[j]);
GcnTransform.cs (1)
917throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", colPair.InputColumnName);
KeyToVectorMapping.cs (3)
195throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", _parent.ColumnPairs[i].inputColumnName); 474throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.inputColumnName); 476throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.inputColumnName);
MissingValueDroppingTransformer.cs (1)
46throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", inputColumnName);
MissingValueIndicatorTransformer.cs (2)
190throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", _parent.ColumnPairs[i].inputColumnName); 541throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", colPair.inputColumnName);
MissingValueReplacing.cs (3)
217throw Host.ExceptSchemaMismatch(nameof(input), "input", ColumnPairs[i].inputColumnName); 600throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", _parent.ColumnPairs[i].inputColumnName); 1041throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.InputColumnName);
MutualInformationFeatureSelection.cs (2)
224throw _host.ExceptSchemaMismatch(nameof(inputSchema), "label", $"Label column '{_labelColumnName}' not found in input schema"); 235throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", colPair.inputColumnName);
RandomFourierFeaturizing.cs (3)
288throw Host.ExceptSchemaMismatch(nameof(input), "input", ColumnPairs[i].inputColumnName); 729throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.InputColumnName); 731throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.InputColumnName);
Text\LdaTransform.cs (3)
576throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", _parent.ColumnPairs[i].inputColumnName); 839throw env.ExceptSchemaMismatch(nameof(inputData), "input", columns[i].InputColumnName); 1327throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.InputColumnName);
Text\NgramHashingTransformer.cs (4)
215throw Host.ExceptSchemaMismatch(nameof(input), "input", _columns[i].InputColumnNamesArray[j]); 398throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", srcName); 675throw _parent.Host.ExceptSchemaMismatch(nameof(inputSchema), "input", srcName); 1221throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", input);
Text\NgramTransform.cs (1)
1084throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.InputColumnName);
Text\StopWordsRemovingTransformer.cs (4)
369throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", _parent.ColumnPairs[i].inputColumnName); 381throw Host.ExceptSchemaMismatch(nameof(inputSchema), "language", _parent._columns[i].LanguageColumn); 676throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.InputColumnName); 1244throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.inputColumnName);
Text\TextFeaturizingEstimator.cs (1)
646throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", srcName);
Text\TextNormalizing.cs (1)
585throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.inputColumnName);
Text\TokenizingByCharacters.cs (1)
689throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.inputColumnName);
Text\WordBagTransform.cs (1)
193throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", _columnName);
Text\WordEmbeddingsExtractor.cs (1)
937throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.InputColumnName);
Text\WordTokenizing.cs (1)
537throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", colInfo.InputColumnName);
Microsoft.ML.Vision (2)
DnnRetrainTransform.cs (2)
776throw Host.ExceptSchemaMismatch(nameof(InputSchema), "source", _parent._inputs[i]); 1261throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input", input);