71 references to GetTrainerOutputAnnotation
Microsoft.ML.Core (1)
Data\AnnotationUtils.cs (1)
454
cols.AddRange(
GetTrainerOutputAnnotation
());
Microsoft.ML.Data (1)
Prediction\CalibratorCatalog.cs (1)
81
/// The same annotation data that would be produced by <see cref="AnnotationUtils.
GetTrainerOutputAnnotation
(bool)"/> is marked as
Microsoft.ML.FastTree (13)
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
()))
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
());
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 (4)
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
()))
Microsoft.ML.PCA (2)
PcaTrainer.cs (2)
380
new SchemaShape(AnnotationUtils.
GetTrainerOutputAnnotation
())),
386
new SchemaShape(AnnotationUtils.
GetTrainerOutputAnnotation
()))
Microsoft.ML.Recommender (1)
MatrixFactorizationTrainer.cs (1)
595
new SchemaShape.Column(DefaultColumnNames.Score, SchemaShape.Column.VectorKind.Scalar, NumberDataViewType.Single, false, new SchemaShape(AnnotationUtils.
GetTrainerOutputAnnotation
())),
Microsoft.ML.StandardTrainers (38)
FactorizationMachine\FactorizationMachineTrainer.cs (3)
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)
375
.Concat(AnnotationUtils.
GetTrainerOutputAnnotation
()));
Standard\MulticlassClassification\MetaMulticlassTrainer.cs (1)
164
var predictedLabelAnnotationCols = AnnotationUtils.
GetTrainerOutputAnnotation
();
Standard\MulticlassClassification\MulticlassNaiveBayesTrainer.cs (1)
120
.Concat(AnnotationUtils.
GetTrainerOutputAnnotation
()));
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)
165
.Concat(AnnotationUtils.
GetTrainerOutputAnnotation
()));
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 (3)
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
()))
Microsoft.ML.TorchSharp (2)
AutoFormerV2\ObjectDetectionTrainer.cs (1)
549
.Concat(AnnotationUtils.
GetTrainerOutputAnnotation
()));
NasBert\NasBertTrainer.cs (1)
438
.Concat(AnnotationUtils.
GetTrainerOutputAnnotation
()));