49 references to BinaryClassification
Microsoft.ML.Data (4)
DataLoadSave\TransformerChain.cs (1)
300
if (predictor.PredictionKind == PredictionKind.
BinaryClassification
)
Scorers\SchemaBindablePredictorWrapper.cs (3)
364
case PredictionKind.
BinaryClassification
:
494
if (Predictor.PredictionKind != PredictionKind.
BinaryClassification
)
495
ch.Warning("Scoring predictor of kind '{0}' as '{1}'.", Predictor.PredictionKind, PredictionKind.
BinaryClassification
);
Microsoft.ML.Ensemble (8)
PipelineEnsemble.cs (1)
296
public override PredictionKind PredictionKind { get { return PredictionKind.
BinaryClassification
; } }
Selector\SubModelSelector\AllSelector.cs (1)
21
protected override PredictionKind PredictionKind => PredictionKind.
BinaryClassification
;
Selector\SubModelSelector\BaseSubModelSelector.cs (2)
61
case PredictionKind.
BinaryClassification
:
107
case PredictionKind.
BinaryClassification
:
Selector\SubModelSelector\BestDiverseSelectorBinary.cs (1)
48
protected override PredictionKind PredictionKind => PredictionKind.
BinaryClassification
;
Selector\SubModelSelector\BestPerformanceSelector.cs (1)
51
protected override PredictionKind PredictionKind => PredictionKind.
BinaryClassification
;
Trainer\Binary\EnsembleTrainer.cs (2)
78
Host.CheckParam(predictionKind == PredictionKind.
BinaryClassification
, nameof(PredictionKind));
81
private protected override PredictionKind PredictionKind => PredictionKind.
BinaryClassification
;
Microsoft.ML.EntryPoints (2)
PermutationFeatureImportance.cs (1)
68
if (predictor.PredictionKind == PredictionKind.
BinaryClassification
)
ScoreColumnSelector.cs (1)
73
if (input.PredictorModel.Predictor.PredictionKind == PredictionKind.
BinaryClassification
)
Microsoft.ML.FastTree (10)
FastTreeClassification.cs (2)
100
private protected override PredictionKind PredictionKind => PredictionKind.
BinaryClassification
;
182
private protected override PredictionKind PredictionKind => PredictionKind.
BinaryClassification
;
GamClassification.cs (2)
79
private protected override PredictionKind PredictionKind => PredictionKind.
BinaryClassification
;
200
private protected override PredictionKind PredictionKind => PredictionKind.
BinaryClassification
;
GamModelParameters.cs (1)
902
case PredictionKind.
BinaryClassification
:
RandomForestClassification.cs (2)
89
private protected override PredictionKind PredictionKind => PredictionKind.
BinaryClassification
;
175
private protected override PredictionKind PredictionKind => PredictionKind.
BinaryClassification
;
TreeEnsemble\TreeEnsembleCombiner.cs (3)
26
case PredictionKind.
BinaryClassification
:
32
throw _host.ExceptUserArg(nameof(kind), $"Tree ensembles can be either of type {nameof(PredictionKind.
BinaryClassification
)}, " +
102
case PredictionKind.
BinaryClassification
:
Microsoft.ML.LightGbm (2)
LightGbmBinaryTrainer.cs (2)
57
private protected override PredictionKind PredictionKind => PredictionKind.
BinaryClassification
;
123
private protected override PredictionKind PredictionKind => PredictionKind.
BinaryClassification
;
Microsoft.ML.Mkl.Components (1)
SymSgdClassificationTrainer.cs (1)
235
private protected override PredictionKind PredictionKind => PredictionKind.
BinaryClassification
;
Microsoft.ML.OnnxConverter (1)
SaveOnnxCommand.cs (1)
359
if (rawPred.PredictionKind == PredictionKind.
BinaryClassification
|| rawPred.PredictionKind == PredictionKind.MulticlassClassification)
Microsoft.ML.Predictor.Tests (8)
TestPredictors.cs (8)
669
IModelCombiner combiner = new TreeEnsembleCombiner(Env, PredictionKind.
BinaryClassification
);
795
CombineAndTestEnsembles(dataView, "pe", "oc=average", PredictionKind.
BinaryClassification
, predictors);
852
if (predictionKind == PredictionKind.
BinaryClassification
)
868
if (predictionKind == PredictionKind.
BinaryClassification
)
896
var probGetter = predictionKind == PredictionKind.
BinaryClassification
?
899
var predGetter = predictionKind == PredictionKind.
BinaryClassification
?
915
probGetters[i] = predictionKind == PredictionKind.
BinaryClassification
?
918
predGetters[i] = predictionKind == PredictionKind.
BinaryClassification
?
Microsoft.ML.StandardTrainers (13)
FactorizationMachine\FactorizationMachineTrainer.cs (1)
180
PredictionKind ITrainer.PredictionKind => PredictionKind.
BinaryClassification
;
FactorizationMachine\FieldAwareFactorizationMachineModelParameters.cs (1)
30
private protected override PredictionKind PredictionKind => PredictionKind.
BinaryClassification
;
LdSvm\LdSvmModelParameters.cs (1)
156
private protected override PredictionKind PredictionKind { get { return PredictionKind.
BinaryClassification
; } }
LdSvm\LdSvmTrainer.cs (1)
178
private protected override PredictionKind PredictionKind => PredictionKind.
BinaryClassification
;
Standard\LinearModelParameters.cs (1)
510
private protected override PredictionKind PredictionKind => PredictionKind.
BinaryClassification
;
Standard\LogisticRegression\LogisticRegression.cs (1)
161
private protected override PredictionKind PredictionKind => PredictionKind.
BinaryClassification
;
Standard\Online\AveragedPerceptron.cs (1)
192
private protected override PredictionKind PredictionKind => PredictionKind.
BinaryClassification
;
Standard\Online\LinearSvm.cs (1)
303
private protected override PredictionKind PredictionKind => PredictionKind.
BinaryClassification
;
Standard\SdcaBinary.cs (2)
1457
private protected override PredictionKind PredictionKind => PredictionKind.
BinaryClassification
;
1951
private protected override PredictionKind PredictionKind => PredictionKind.
BinaryClassification
;
Standard\Simple\SimpleTrainers.cs (3)
61
private protected override PredictionKind PredictionKind => PredictionKind.
BinaryClassification
;
209
PredictionKind ITrainer.PredictionKind => PredictionKind.
BinaryClassification
;
438
private protected override PredictionKind PredictionKind => PredictionKind.
BinaryClassification
;