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)
316
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
317
new SchemaShape.Column(DefaultColumnNames.Probability, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation(true))),
318
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)
187
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
188
new SchemaShape.Column(DefaultColumnNames.Probability, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation(true))),
189
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)
379
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
380
new SchemaShape.Column(DefaultColumnNames.PredictedLabel, SchemaShape.Column.VectorKind.Scalar, BooleanDataViewType.Instance, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
RandomForestRegression.cs (1)
508
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)
311
new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
317
new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
Microsoft.ML.LightGbm (7)
LightGbmBinaryTrainer.cs (3)
286
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
287
new SchemaShape.Column(DefaultColumnNames.Probability, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation(true))),
288
new SchemaShape.Column(DefaultColumnNames.PredictedLabel, SchemaShape.Column.VectorKind.Scalar, BooleanDataViewType.Instance, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
LightGbmMulticlassTrainer.cs (2)
367
var metadata = LightGbmTrainerOptions.LightGbmModel == null ? new SchemaShape(labelCol.Annotations.Where(x => x.Name == AnnotationUtils.Kinds.KeyValues).Concat(AnnotationUtils.GetTrainerOutputAnnotation())) : new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation());
370
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Vector, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.AnnotationsForMulticlassScoreColumn(labelCol))),
LightGbmRankingTrainer.cs (1)
302
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
LightGbmRegressionTrainer.cs (1)
250
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
Microsoft.ML.Mkl.Components (5)
OlsLinearRegression.cs (1)
138
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
SymSgdClassificationTrainer.cs (3)
276
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
277
new SchemaShape.Column(DefaultColumnNames.Probability, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation(true))),
278
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)
1090
return new
SchemaShape
(resultDic.Values);
Microsoft.ML.PCA (3)
PcaTrainer.cs (2)
380
new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
386
new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
PcaTransformer.cs (1)
831
return new
SchemaShape
(result.Values);
Microsoft.ML.Recommender (2)
MatrixFactorizationTrainer.cs (2)
585
return new
SchemaShape
(outColumns.Values);
595
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
Microsoft.ML.StandardTrainers (42)
FactorizationMachine\FactorizationMachineTrainer.cs (4)
651
return new
SchemaShape
(outColumns.Values);
661
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
662
new SchemaShape.Column(DefaultColumnNames.Probability, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation(true))),
663
new SchemaShape.Column(DefaultColumnNames.PredictedLabel, SchemaShape.Column.VectorKind.Scalar, BooleanDataViewType.Instance, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
LdSvm\LdSvmTrainer.cs (2)
184
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
185
new SchemaShape.Column(DefaultColumnNames.PredictedLabel, SchemaShape.Column.VectorKind.Scalar, BooleanDataViewType.Instance, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
Standard\LogisticRegression\LogisticRegression.cs (3)
173
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
174
new SchemaShape.Column(DefaultColumnNames.Probability, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation(true))),
175
new SchemaShape.Column(DefaultColumnNames.PredictedLabel, SchemaShape.Column.VectorKind.Scalar, BooleanDataViewType.Instance, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
Standard\LogisticRegression\MulticlassLogisticRegression.cs (1)
378
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)
201
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
202
new SchemaShape.Column(DefaultColumnNames.PredictedLabel, SchemaShape.Column.VectorKind.Scalar, BooleanDataViewType.Instance, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
Standard\Online\LinearSvm.cs (2)
309
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
310
new SchemaShape.Column(DefaultColumnNames.PredictedLabel, SchemaShape.Column.VectorKind.Scalar, BooleanDataViewType.Instance, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
Standard\Online\OnlineGradientDescent.cs (1)
172
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)
1629
new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
1635
new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation(true))),
1641
new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
1728
new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())
1735
new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
1786
new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())
1793
new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
1804
new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation(true))));
2303
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
2304
new SchemaShape.Column(DefaultColumnNames.Probability, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation(true))),
2305
new SchemaShape.Column(DefaultColumnNames.PredictedLabel, SchemaShape.Column.VectorKind.Scalar, BooleanDataViewType.Instance, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
2392
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
2393
new SchemaShape.Column(DefaultColumnNames.PredictedLabel, SchemaShape.Column.VectorKind.Scalar, BooleanDataViewType.Instance, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation()))
2446
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation())),
2447
new SchemaShape.Column(DefaultColumnNames.Probability, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.GetTrainerOutputAnnotation(true))),
2448
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)
197
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)
465
NumberDataViewType.UInt32, true, new
SchemaShape
(metadata.ToArray()));
471
NumberDataViewType.Single, false, new
SchemaShape
(scoreMetadata.ToArray()));
474
return new
SchemaShape
(outColumns.Values);
548
var predLabelMetadata = new
SchemaShape
(new SchemaShape.Column[] { labelAnnotationsColumn }
569
NumberDataViewType.Single, false, new
SchemaShape
(scoreMetadata.ToArray()));
571
return new
SchemaShape
(outColumns.Values);
NasBert\NasBertTrainer.cs (7)
336
NumberDataViewType.UInt32, true, new
SchemaShape
(metadata.ToArray()));
339
NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.AnnotationsForMulticlassScoreColumn(labelCol)));
351
NumberDataViewType.UInt32, true, new
SchemaShape
(metadata.ToArray()));
359
return new
SchemaShape
(outColumns.Values);
437
var predLabelMetadata = new
SchemaShape
(new SchemaShape.Column[] { labelAnnotationsColumn }
444
NumberDataViewType.Single, false, new
SchemaShape
(AnnotationUtils.AnnotationsForMulticlassScoreColumn(labelAnnotationsColumn)));
452
return new
SchemaShape
(outColumns.Values);
Roberta\QATrainer.cs (4)
523
NumberDataViewType.Single, false, new
SchemaShape
(scoreMetadata.ToArray()));
525
return new
SchemaShape
(outColumns.Values);
610
NumberDataViewType.Single, false, new
SchemaShape
(scoreMetadata.ToArray()));
612
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)
649
new
SchemaShape
(metadata));
657
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)
1275
return new
SchemaShape
(resultDic.Values);
ImageClassificationTrainer.cs (1)
645
NumberDataViewType.UInt32, true, new
SchemaShape
(metadata.ToArray()))