171 references to SchemaShape
Microsoft.ML.Core (3)
Data\IEstimator.cs (3)
22
private static readonly SchemaShape _empty = new
SchemaShape
(Enumerable.Empty<Column>());
194
var annotations = mCols.Count > 0 ? new
SchemaShape
(mCols) : _empty;
200
return new
SchemaShape
(cols);
Microsoft.ML.Data (22)
Prediction\CalibratorCatalog.cs (2)
128
false, new
SchemaShape
(annotations));
130
return new
SchemaShape
(outColumns.Values);
Training\TrainerEstimatorBase.cs (1)
89
return new
SchemaShape
(outColumns.Values);
Transforms\ColumnConcatenatingEstimator.cs (2)
138
return new SchemaShape.Column(name, vecKind, itemType, false, new
SchemaShape
(meta));
150
return new
SchemaShape
(result.Values);
Transforms\ColumnCopying.cs (1)
84
return new
SchemaShape
(resultDic.Values);
Transforms\ColumnSelecting.cs (1)
143
return new
SchemaShape
(columns);
Transforms\FeatureContributionCalculationTransformer.cs (2)
356
DefaultColumnNames.FeatureContributions, col.Kind, col.ItemType, false, new
SchemaShape
(featContributionMetadata));
358
return new
SchemaShape
(result.Values);
Transforms\Hashing.cs (2)
1969
NumberDataViewType.UInt32, true, new
SchemaShape
(metadata));
1971
return new
SchemaShape
(result.Values);
Transforms\KeyToValue.cs (2)
650
metadata = new
SchemaShape
(new[] { slotCol });
655
return new
SchemaShape
(result.Values);
Transforms\KeyToVector.cs (2)
840
NumberDataViewType.Single, false, new
SchemaShape
(metadata));
843
return new
SchemaShape
(result.Values);
Transforms\Normalizer.cs (2)
364
var meta = new
SchemaShape
(newMetadataKinds);
368
return new
SchemaShape
(result.Values);
Transforms\TypeConverting.cs (1)
648
return new
SchemaShape
(result.Values);
Transforms\ValueMapping.cs (1)
131
return new
SchemaShape
(resultDic.Values);
Transforms\ValueToKeyMappingEstimator.cs (3)
201
metadata = new
SchemaShape
(new[] { slotMeta, kv });
203
metadata = new
SchemaShape
(new[] { kv });
207
return new
SchemaShape
(result.Values);
Microsoft.ML.FastTree (14)
FastTreeClassification.cs (3)
317
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
318
new SchemaShape.Column(DefaultColumnNames.Probability, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation(true))),
319
new SchemaShape.Column(DefaultColumnNames.PredictedLabel, SchemaShape.Column.VectorKind.Scalar, BooleanDataViewType.Instance, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
FastTreeRanking.cs (1)
489
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
FastTreeRegression.cs (1)
205
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
FastTreeTweedie.cs (1)
364
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
GamClassification.cs (3)
188
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
189
new SchemaShape.Column(DefaultColumnNames.Probability, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation(true))),
190
new SchemaShape.Column(DefaultColumnNames.PredictedLabel, SchemaShape.Column.VectorKind.Scalar, BooleanDataViewType.Instance, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
GamRegression.cs (1)
139
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
RandomForestClassification.cs (2)
383
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
384
new SchemaShape.Column(DefaultColumnNames.PredictedLabel, SchemaShape.Column.VectorKind.Scalar, BooleanDataViewType.Instance, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
RandomForestRegression.cs (1)
509
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
TreeEnsembleFeaturizationEstimator.cs (1)
148
return new
SchemaShape
(result.Values);
Microsoft.ML.ImageAnalytics (5)
ImageGrayscale.cs (1)
260
return new
SchemaShape
(result.Values);
ImageLoader.cs (1)
454
return new
SchemaShape
(result.Values);
ImagePixelExtractor.cs (1)
824
return new
SchemaShape
(result.Values);
ImageResizer.cs (1)
523
return new
SchemaShape
(result.Values);
VectorToImageTransform.cs (1)
758
return new
SchemaShape
(result.Values);
Microsoft.ML.KMeansClustering (2)
KMeansPlusPlusTrainer.cs (2)
317
new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
323
new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
Microsoft.ML.LightGbm (7)
LightGbmBinaryTrainer.cs (3)
292
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
293
new SchemaShape.Column(DefaultColumnNames.Probability, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation(true))),
294
new SchemaShape.Column(DefaultColumnNames.PredictedLabel, SchemaShape.Column.VectorKind.Scalar, BooleanDataViewType.Instance, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
LightGbmMulticlassTrainer.cs (2)
378
var metadata = LightGbmTrainerOptions.LightGbmModel == null ? new SchemaShape(labelCol.Annotations.Where(x => x.Name == AnnotationUtils.Kinds.KeyValues).Concat(AnnotationUtils.GetTrainerOutputAnnotation())) : new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation());
381
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Vector, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.AnnotationsForMulticlassScoreColumn(labelCol))),
LightGbmRankingTrainer.cs (1)
305
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
LightGbmRegressionTrainer.cs (1)
251
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
Microsoft.ML.Mkl.Components (5)
OlsLinearRegression.cs (1)
141
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
SymSgdClassificationTrainer.cs (3)
284
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
285
new SchemaShape.Column(DefaultColumnNames.Probability, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation(true))),
286
new SchemaShape.Column(DefaultColumnNames.PredictedLabel, SchemaShape.Column.VectorKind.Scalar, BooleanDataViewType.Instance, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
VectorWhitening.cs (1)
903
return new
SchemaShape
(result.Values);
Microsoft.ML.OnnxTransformer (1)
OnnxTransform.cs (1)
1087
return new
SchemaShape
(resultDic.Values);
Microsoft.ML.PCA (3)
PcaTrainer.cs (2)
396
new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
402
new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
PcaTransformer.cs (1)
831
return new
SchemaShape
(result.Values);
Microsoft.ML.Recommender (2)
MatrixFactorizationTrainer.cs (2)
598
return new
SchemaShape
(outColumns.Values);
608
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
Microsoft.ML.StandardTrainers (42)
FactorizationMachine\FactorizationMachineTrainer.cs (4)
661
return new
SchemaShape
(outColumns.Values);
671
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
672
new SchemaShape.Column(DefaultColumnNames.Probability, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation(true))),
673
new SchemaShape.Column(DefaultColumnNames.PredictedLabel, SchemaShape.Column.VectorKind.Scalar, BooleanDataViewType.Instance, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
LdSvm\LdSvmTrainer.cs (2)
195
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
196
new SchemaShape.Column(DefaultColumnNames.PredictedLabel, SchemaShape.Column.VectorKind.Scalar, BooleanDataViewType.Instance, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
Standard\LogisticRegression\LogisticRegression.cs (3)
175
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
176
new SchemaShape.Column(DefaultColumnNames.Probability, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation(true))),
177
new SchemaShape.Column(DefaultColumnNames.PredictedLabel, SchemaShape.Column.VectorKind.Scalar, BooleanDataViewType.Instance, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
Standard\LogisticRegression\MulticlassLogisticRegression.cs (1)
379
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Vector, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.AnnotationsForMulticlassScoreColumn(labelCol))),
Standard\MulticlassClassification\MetaMulticlassTrainer.cs (3)
158
return new
SchemaShape
(outColumns.Values);
178
false, new
SchemaShape
(scoreAnnotationCols)),
180
true, new
SchemaShape
(predictedLabelAnnotationCols))
Standard\MulticlassClassification\MulticlassNaiveBayesTrainer.cs (1)
124
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Vector, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.AnnotationsForMulticlassScoreColumn(labelCol))),
Standard\Online\AveragedPerceptron.cs (2)
202
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
203
new SchemaShape.Column(DefaultColumnNames.PredictedLabel, SchemaShape.Column.VectorKind.Scalar, BooleanDataViewType.Instance, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
Standard\Online\LinearSvm.cs (2)
326
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
327
new SchemaShape.Column(DefaultColumnNames.PredictedLabel, SchemaShape.Column.VectorKind.Scalar, BooleanDataViewType.Instance, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
Standard\Online\OnlineGradientDescent.cs (1)
173
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
Standard\PoissonRegression\PoissonRegression.cs (1)
123
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
Standard\SdcaBinary.cs (16)
1632
new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
1638
new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation(true))),
1644
new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
1729
new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())
1736
new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
1787
new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())
1794
new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
1805
new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation(true))));
2305
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
2306
new SchemaShape.Column(DefaultColumnNames.Probability, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation(true))),
2307
new SchemaShape.Column(DefaultColumnNames.PredictedLabel, SchemaShape.Column.VectorKind.Scalar, BooleanDataViewType.Instance, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
2394
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
2395
new SchemaShape.Column(DefaultColumnNames.PredictedLabel, SchemaShape.Column.VectorKind.Scalar, BooleanDataViewType.Instance, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
2448
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
2449
new SchemaShape.Column(DefaultColumnNames.Probability, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation(true))),
2450
new SchemaShape.Column(DefaultColumnNames.PredictedLabel, SchemaShape.Column.VectorKind.Scalar, BooleanDataViewType.Instance, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
Standard\SdcaMulticlass.cs (1)
168
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Vector, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.AnnotationsForMulticlassScoreColumn(labelCol))),
Standard\SdcaRegression.cs (1)
195
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
Standard\Simple\SimpleTrainers.cs (4)
318
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
319
new SchemaShape.Column(DefaultColumnNames.Probability, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation(true))),
320
new SchemaShape.Column(DefaultColumnNames.PredictedLabel, SchemaShape.Column.VectorKind.Scalar, BooleanDataViewType.Instance, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
325
return new
SchemaShape
(outColumns.Values);
Microsoft.ML.TensorFlow (1)
TensorflowTransform.cs (1)
1050
return new
SchemaShape
(resultDic.Values);
Microsoft.ML.TimeSeries (11)
IidChangePointDetector.cs (2)
276
Transformer.InternalTransform.OutputColumnName, SchemaShape.Column.VectorKind.Vector, NumberDataViewType.Double, false, new
SchemaShape
(metadata));
278
return new
SchemaShape
(resultDic.Values);
IidSpikeDetector.cs (2)
251
Transformer.InternalTransform.OutputColumnName, SchemaShape.Column.VectorKind.Vector, NumberDataViewType.Double, false, new
SchemaShape
(metadata));
253
return new
SchemaShape
(resultDic.Values);
SRCNNAnomalyDetector.cs (2)
283
Transformer.InternalTransform.OutputColumnName, SchemaShape.Column.VectorKind.Vector, NumberDataViewType.Double, false, new
SchemaShape
(metadata));
285
return new
SchemaShape
(resultDic.Values);
SsaChangePointDetector.cs (2)
311
_options.Name, SchemaShape.Column.VectorKind.Vector, NumberDataViewType.Double, false, new
SchemaShape
(metadata));
313
return new
SchemaShape
(resultDic.Values);
SSaForecasting.cs (1)
354
return new
SchemaShape
(resultDic.Values);
SsaSpikeDetector.cs (2)
290
_options.Name, SchemaShape.Column.VectorKind.Vector, NumberDataViewType.Double, false, new
SchemaShape
(metadata));
292
return new
SchemaShape
(resultDic.Values);
Microsoft.ML.TorchSharp (17)
AutoFormerV2\ObjectDetectionTrainer.cs (6)
479
NumberDataViewType.UInt32, true, new
SchemaShape
(metadata.ToArray()));
485
NumberDataViewType.Single, false, new
SchemaShape
(scoreMetadata.ToArray()));
488
return new
SchemaShape
(outColumns.Values);
562
var predLabelMetadata = new
SchemaShape
(new SchemaShape.Column[] { labelAnnotationsColumn }
583
NumberDataViewType.Single, false, new
SchemaShape
(scoreMetadata.ToArray()));
585
return new
SchemaShape
(outColumns.Values);
NasBert\NasBertTrainer.cs (7)
358
NumberDataViewType.UInt32, true, new
SchemaShape
(metadata.ToArray()));
361
NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.AnnotationsForMulticlassScoreColumn(labelCol)));
373
NumberDataViewType.UInt32, true, new
SchemaShape
(metadata.ToArray()));
381
return new
SchemaShape
(outColumns.Values);
459
var predLabelMetadata = new
SchemaShape
(new SchemaShape.Column[] { labelAnnotationsColumn }
466
NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.AnnotationsForMulticlassScoreColumn(labelAnnotationsColumn)));
474
return new
SchemaShape
(outColumns.Values);
Roberta\QATrainer.cs (4)
530
NumberDataViewType.Single, false, new
SchemaShape
(scoreMetadata.ToArray()));
532
return new
SchemaShape
(outColumns.Values);
617
NumberDataViewType.Single, false, new
SchemaShape
(scoreMetadata.ToArray()));
619
return new
SchemaShape
(outColumns.Values);
Microsoft.ML.Transforms (34)
CountFeatureSelection.cs (2)
183
result[colPair.Name] = new SchemaShape.Column(colPair.Name, col.Kind, col.ItemType, false, new
SchemaShape
(metadata.ToArray()));
185
return new
SchemaShape
(result.Values);
CustomMappingTransformer.cs (1)
279
return new
SchemaShape
(result.Values);
Dracula\CountTableTransformer.cs (2)
344
var meta = new
SchemaShape
(newMetadataKinds);
348
return new
SchemaShape
(result.Values);
ExpressionTransformer.cs (2)
205
var outputSchemaShapeColumn = new SchemaShape.Column(_columns[i].Name, outputVectorKind, typeRes, false, new
SchemaShape
(metadata));
208
return new
SchemaShape
(columnDictionary.Values);
GcnTransform.cs (2)
924
result[colPair.Name] = new SchemaShape.Column(colPair.Name, col.Kind, col.ItemType, false, new
SchemaShape
(metadata.ToArray()));
926
return new
SchemaShape
(result.Values);
KeyToVectorMapping.cs (2)
486
NumberDataViewType.Single, false, new
SchemaShape
(metadata));
489
return new
SchemaShape
(result.Values);
MissingValueDroppingTransformer.cs (1)
54
return new
SchemaShape
(resultDic.Values);
MissingValueIndicatorTransformer.cs (2)
549
result[colPair.outputColumnName] = new SchemaShape.Column(colPair.outputColumnName, col.Kind, type, false, new
SchemaShape
(metadata.ToArray()));
551
return new
SchemaShape
(result.Values);
MissingValueReplacing.cs (2)
1053
result[colInfo.Name] = new SchemaShape.Column(colInfo.Name, col.Kind, type, false, new
SchemaShape
(metadata.ToArray()));
1055
return new
SchemaShape
(result.Values);
MutualInformationFeatureSelection.cs (2)
250
result[colPair.outputColumnName] = new SchemaShape.Column(colPair.outputColumnName, col.Kind, col.ItemType, false, new
SchemaShape
(metadata.ToArray()));
252
return new
SchemaShape
(result.Values);
RandomFourierFeaturizing.cs (1)
736
return new
SchemaShape
(result.Values);
StatefulCustomMappingTransformer.cs (1)
412
return new
SchemaShape
(result.Values);
Text\LdaTransform.cs (1)
1334
return new
SchemaShape
(result.Values);
Text\NgramHashingTransformer.cs (2)
1229
result[colInfo.Name] = new SchemaShape.Column(colInfo.Name, SchemaShape.Column.VectorKind.Vector, NumberDataViewType.Single, false, new
SchemaShape
(metadata));
1231
return new
SchemaShape
(result.Values);
Text\NgramTransform.cs (2)
1090
result[colInfo.Name] = new SchemaShape.Column(colInfo.Name, SchemaShape.Column.VectorKind.Vector, NumberDataViewType.Single, false, new
SchemaShape
(metadata));
1092
return new
SchemaShape
(result.Values);
Text\StopWordsRemovingTransformer.cs (2)
681
return new
SchemaShape
(result.Values);
1249
return new
SchemaShape
(result.Values);
Text\TextFeaturizingEstimator.cs (2)
660
new
SchemaShape
(metadata));
668
return new
SchemaShape
(result.Values);
Text\TextNormalizing.cs (1)
590
return new
SchemaShape
(result.Values);
Text\TokenizingByCharacters.cs (2)
696
result[colInfo.outputColumnName] = new SchemaShape.Column(colInfo.outputColumnName, SchemaShape.Column.VectorKind.VariableVector, NumberDataViewType.UInt16, true, new
SchemaShape
(metadata.ToArray()));
699
return new
SchemaShape
(result.Values);
Text\WordEmbeddingsExtractor.cs (1)
944
return new
SchemaShape
(result.Values);
Text\WordTokenizing.cs (1)
543
return new
SchemaShape
(result.Values);
Microsoft.ML.Vision (2)
DnnRetrainTransform.cs (1)
1274
return new
SchemaShape
(resultDic.Values);
ImageClassificationTrainer.cs (1)
668
NumberDataViewType.UInt32, true, new
SchemaShape
(metadata.ToArray()))