17 implementations of InputType
Microsoft.ML.Data (1)
Prediction\Calibrator.cs (1)
298DataViewType IValueMapper.InputType => _mapper.InputType;
Microsoft.ML.Ensemble (3)
Trainer\EnsembleDistributionModelParameters.cs (1)
49DataViewType IValueMapper.InputType => _inputType;
Trainer\EnsembleModelParameters.cs (1)
45DataViewType IValueMapper.InputType => _inputType;
Trainer\Multiclass\EnsembleMulticlassModelParameters.cs (1)
40DataViewType IValueMapper.InputType => _inputType;
Microsoft.ML.FastTree (2)
FastTree.cs (1)
2811DataViewType IValueMapper.InputType => InputType;
GamModelParameters.cs (1)
53DataViewType IValueMapper.InputType => _inputType;
Microsoft.ML.KMeansClustering (1)
KMeansModelParameters.cs (1)
55DataViewType IValueMapper.InputType => _inputType;
Microsoft.ML.PCA (1)
PcaTrainer.cs (1)
607DataViewType IValueMapper.InputType
Microsoft.ML.StandardTrainers (8)
LdSvm\LdSvmModelParameters.cs (1)
264public DataViewType InputType { get; }
Standard\LinearModelParameters.cs (1)
299DataViewType IValueMapper.InputType
Standard\LogisticRegression\MulticlassLogisticRegression.cs (1)
450DataViewType IValueMapper.InputType => InputType;
Standard\MulticlassClassification\MulticlassNaiveBayesTrainer.cs (1)
254DataViewType IValueMapper.InputType => _inputType;
Standard\MulticlassClassification\OneVersusAllTrainer.cs (1)
439DataViewType IValueMapper.InputType
Standard\MulticlassClassification\PairwiseCouplingTrainer.cs (1)
259DataViewType IValueMapper.InputType => _inputType;
Standard\Simple\SimpleTrainers.cs (2)
64DataViewType IValueMapper.InputType => _inputType; 441DataViewType IValueMapper.InputType => _inputType;
Microsoft.ML.Vision (1)
ImageClassificationTrainer.cs (1)
1382DataViewType IValueMapper.InputType => _inputType;
19 references to InputType
Microsoft.ML.Data (8)
Prediction\Calibrator.cs (1)
298DataViewType IValueMapper.InputType => _mapper.InputType;
Scorers\SchemaBindablePredictorWrapper.cs (7)
130var typeIn = ValueMapper != null ? ValueMapper.InputType : new VectorDataViewType(NumberDataViewType.Single); 486Contracts.Check(distMapper.InputType is VectorDataViewType vectorType && vectorType.ItemType == NumberDataViewType.Single, 649Contracts.CheckParam(ValueMapper != null && ValueMapper.InputType is VectorDataViewType vectorType 668Contracts.CheckDecode(ValueMapper != null && ValueMapper.InputType is VectorDataViewType vectorType 707typeSrc.Size == ValueMapper.InputType.GetVectorSize() || ValueMapper.InputType.GetVectorSize() == 0); 711var featureCount = ValueMapper != null ? ValueMapper.InputType.GetVectorSize() : 0;
Microsoft.ML.Ensemble (5)
OutputCombiners\BaseStacking.cs (2)
117if (!(ivm.InputType is VectorDataViewType vectorType) || vectorType.ItemType != NumberDataViewType.Single) 118throw Contracts.Except("Stacking predictor input type is unsupported: {0}", ivm.InputType);
Trainer\EnsembleDistributionModelParameters.cs (1)
108&& mapper.InputType is VectorDataViewType inVectorType && inVectorType.ItemType == NumberDataViewType.Single
Trainer\EnsembleModelParameters.cs (1)
99&& mapper.InputType is VectorDataViewType inputVectorType && inputVectorType.ItemType == NumberDataViewType.Single
Trainer\Multiclass\EnsembleMulticlassModelParameters.cs (1)
158&& mapper.InputType is VectorDataViewType inVectorType && inVectorType.ItemType == NumberDataViewType.Single
Microsoft.ML.FastTree (4)
TreeEnsembleFeaturizer.cs (4)
655if (vm.InputType.GetVectorSize() != data.Schema.Feature.Value.Type.GetVectorSize()) 659vm.InputType.GetVectorSize(), data.Schema.Feature.Value.Type.GetVectorSize()); 726if (data != null && vm.InputType.GetVectorSize() != data.Schema.Feature.Value.Type.GetVectorSize()) 730vm.InputType.GetVectorSize(), data.Schema.Feature.Value.Type.GetVectorSize());
Microsoft.ML.StandardTrainers (2)
Standard\MulticlassClassification\OneVersusAllTrainer.cs (1)
522if (!(mapper.InputType is VectorDataViewType mapperVectorType) || mapperVectorType.ItemType != NumberDataViewType.Single)
Standard\MulticlassClassification\PairwiseCouplingTrainer.cs (1)
331VectorDataViewType vectorType = mapper.InputType as VectorDataViewType;