5 instantiations of FastTreeBinaryTrainer
Microsoft.ML.FastTree (5)
FastTreeArguments.cs (1)
107
ITrainer IComponentFactory<ITrainer>.CreateComponent(IHostEnvironment env) => new
FastTreeBinaryTrainer
(env, this);
FastTreeClassification.cs (1)
442
() => new
FastTreeBinaryTrainer
(host, input),
TreeEnsembleFeaturizationEstimator.cs (1)
244
var trainer = new
FastTreeBinaryTrainer
(Env, _trainerOptions);
TreeTrainersCatalog.cs (2)
101
return new
FastTreeBinaryTrainer
(env, labelColumnName, featureColumnName, exampleWeightColumnName, numberOfLeaves, numberOfTrees, minimumExampleCountPerLeaf, learningRate);
123
return new
FastTreeBinaryTrainer
(env, options);
71 references to FastTreeBinaryTrainer
Microsoft.ML.AutoML (7)
API\BinaryClassificationExperiment.cs (1)
112
/// See <see cref="
FastTreeBinaryTrainer
"/>.
API\MulticlassClassificationExperiment.cs (1)
91
/// <see cref="OneVersusAllTrainer"/> using <see cref="
FastTreeBinaryTrainer
"/>.
SweepableEstimator\Estimators\FastTree.cs (2)
13
var option = new
FastTreeBinaryTrainer
.Options()
82
var option = new
FastTreeBinaryTrainer
.Options()
TrainerExtensions\BinaryTrainerExtensions.cs (1)
96
var options = TrainerExtensionUtil.CreateOptions<
FastTreeBinaryTrainer
.Options>(sweepParams, columnInfo.LabelColumnName);
TrainerExtensions\MultiTrainerExtensions.cs (2)
202
var
binaryTrainer = _binaryLearnerCatalogItem.CreateInstance(mlContext, sweepParams, columnInfo) as
FastTreeBinaryTrainer
;
Microsoft.ML.Core.Tests (3)
UnitTests\TestEntryPoints.cs (3)
2175
var ftInput = new
FastTreeBinaryTrainer
.Options
2182
var
trainer = new FastTreeBinaryTrainer(Env, ftInput);
4458
var fastTree = Trainers.FastTree.FastTree.TrainBinary(Env, new
FastTreeBinaryTrainer
.Options
Microsoft.ML.FastTree (31)
FastTreeArguments.cs (2)
13
[assembly: EntryPointModule(typeof(
FastTreeBinaryTrainer
.Options))]
59
/// Options for the <see cref="
FastTreeBinaryTrainer
"/> as used in
FastTreeClassification.cs (17)
16
[assembly: LoadableClass(
FastTreeBinaryTrainer
.Summary, typeof(
FastTreeBinaryTrainer
), typeof(
FastTreeBinaryTrainer
.Options),
18
FastTreeBinaryTrainer
.UserNameValue,
19
FastTreeBinaryTrainer
.LoadNameValue,
23
FastTreeBinaryTrainer
.ShortName,
42
/// Model parameters for <see cref="
FastTreeBinaryTrainer
"/>.
127
/// <seealso cref="TreeExtensions.FastTree(BinaryClassificationCatalog.BinaryClassificationTrainers,
FastTreeBinaryTrainer
.Options)"/>
130
BoostingFastTreeTrainerBase<
FastTreeBinaryTrainer
.Options,
146
/// Initializes a new instance of <see cref="
FastTreeBinaryTrainer
"/>
171
/// Initializes a new instance of <see cref="
FastTreeBinaryTrainer
"/> by using the <see cref="Options"/> class.
306
/// Trains a <see cref="
FastTreeBinaryTrainer
"/> using both training and validation data, returns
431
Desc =
FastTreeBinaryTrainer
.Summary,
432
UserName =
FastTreeBinaryTrainer
.UserNameValue,
433
ShortName =
FastTreeBinaryTrainer
.ShortName)]
434
public static CommonOutputs.BinaryClassificationOutput TrainBinary(IHostEnvironment env,
FastTreeBinaryTrainer
.Options input)
441
return TrainerEntryPointsUtils.Train<
FastTreeBinaryTrainer
.Options, CommonOutputs.BinaryClassificationOutput>(host, input,
GamClassification.cs (1)
148
return new
FastTreeBinaryTrainer
.ObjectiveImpl(
GamRegression.cs (1)
81
/// Initializes a new instance of <see cref="
FastTreeBinaryTrainer
"/>
TreeEnsembleFeaturizationEstimator.cs (4)
223
private readonly
FastTreeBinaryTrainer
.Options _trainerOptions;
231
/// The configuration of <see cref="
FastTreeBinaryTrainer
"/> used to train the underlying <see cref="TreeEnsembleModelParameters"/>.
233
public
FastTreeBinaryTrainer
.Options TrainerOptions;
244
var
trainer = new FastTreeBinaryTrainer(Env, _trainerOptions);
TreeTrainersCatalog.cs (6)
73
/// Create <see cref="
FastTreeBinaryTrainer
"/>, which predicts a target using a decision tree binary classification model.
90
public static
FastTreeBinaryTrainer
FastTree(this BinaryClassificationCatalog.BinaryClassificationTrainers catalog,
105
/// Create <see cref="
FastTreeBinaryTrainer
"/> with advanced options, which predicts a target using a decision tree binary classification model.
116
public static
FastTreeBinaryTrainer
FastTree(this BinaryClassificationCatalog.BinaryClassificationTrainers catalog,
117
FastTreeBinaryTrainer
.Options options)
525
/// Create <see cref="FastTreeBinaryFeaturizationEstimator"/>, which uses <see cref="
FastTreeBinaryTrainer
"/> to train <see cref="TreeEnsembleModelParameters"/> to create tree-based features.
Microsoft.ML.IntegrationTests (3)
IntrospectiveTraining.cs (1)
84
new
FastTreeBinaryTrainer
.Options { NumberOfLeaves = 5, NumberOfTrees = 3, NumberOfThreads = 1 }));
Training.cs (2)
48
var
fastTreeTrainer = mlContext.BinaryClassification.Trainers.FastTree(
49
new
FastTreeBinaryTrainer
.Options { NumberOfThreads = 1 });
Microsoft.ML.Predictor.Tests (3)
TestPredictors.cs (3)
632
fastTrees[i] = FastTree.TrainBinary(ML, new
FastTreeBinaryTrainer
.Options
654
fastTrees[i] = FastTree.TrainBinary(ML, new
FastTreeBinaryTrainer
.Options
761
FastTree.TrainBinary(ML, new
FastTreeBinaryTrainer
.Options
Microsoft.ML.Samples (6)
Dynamic\Trainers\BinaryClassification\FastTree.cs (1)
30
var
pipeline = mlContext.BinaryClassification.Trainers
Dynamic\Trainers\BinaryClassification\FastTreeWithOptions.cs (2)
31
var options = new
FastTreeBinaryTrainer
.Options
42
var
pipeline = mlContext.BinaryClassification.Trainers
Dynamic\Transforms\TreeFeaturization\FastTreeBinaryFeaturizationWithOptions.cs (1)
46
var trainerOptions = new
FastTreeBinaryTrainer
.Options
Dynamic\Transforms\TreeFeaturization\PretrainedTreeEnsembleFeaturizationWithOptions.cs (2)
38
var
trainer = mlContext.BinaryClassification.Trainers.FastTree(
39
new
FastTreeBinaryTrainer
.Options
Microsoft.ML.TestFramework (1)
Learners.cs (1)
42
ok &= typeof(
FastTreeBinaryTrainer
) != null;
Microsoft.ML.Tests (17)
CalibratedModelParametersTests.cs (1)
73
new
FastTreeBinaryTrainer
.Options { NumberOfThreads = 1 }).Fit(data);
Scenarios\Api\Estimators\PredictAndMetadata.cs (1)
112
var
singleTrainer = mlContext.BinaryClassification.Trainers.FastTree();
Scenarios\OvaTest.cs (1)
107
mlContext.BinaryClassification.Trainers.FastTree(new
FastTreeBinaryTrainer
.Options { NumberOfThreads = 1 }),
TrainerEstimators\TreeEnsembleFeaturizerTest.cs (11)
25
var
trainer = ML.BinaryClassification.Trainers.FastTree(
26
new
FastTreeBinaryTrainer
.Options
132
var
trainer = ML.BinaryClassification.Trainers.FastTree(
133
new
FastTreeBinaryTrainer
.Options
239
var
trainer = ML.BinaryClassification.Trainers.FastTree(
240
new
FastTreeBinaryTrainer
.Options
292
/// 1. It first trains a <see cref="FastTreeBinaryModelParameters"/> using <see cref="
FastTreeBinaryTrainer
"/>.
307
var
trainer = ML.BinaryClassification.Trainers.FastTree(
308
new
FastTreeBinaryTrainer
.Options
357
var trainerOptions = new
FastTreeBinaryTrainer
.Options
716
var trainerOptions = new
FastTreeBinaryTrainer
.Options
TrainerEstimators\TreeEstimators.cs (3)
41
var
trainer = ML.BinaryClassification.Trainers.FastTree(
42
new
FastTreeBinaryTrainer
.Options
989
new
FastTreeBinaryTrainer
.Options { NumberOfTrees = 2, NumberOfThreads = 1, NumberOfLeaves = 5 }));