4 instantiations of FastTreeBinaryModelParameters
Microsoft.ML.FastTree (4)
FastTreeClassification.cs (2)
92
var predictor = new
FastTreeBinaryModelParameters
(env, ctx);
206
var pred = new
FastTreeBinaryModelParameters
(Host, TrainedEnsemble, FeatureCount, InnerOptions);
TreeEnsemble\TreeEnsembleCombiner.cs (2)
104
return new
FastTreeBinaryModelParameters
(_host, ensemble, featureCount, null);
107
var fastTreeModel = new
FastTreeBinaryModelParameters
(_host, ensemble, featureCount, null);
23 references to FastTreeBinaryModelParameters
Microsoft.ML.FastTree (17)
FastTreeClassification.cs (14)
35
[assembly: LoadableClass(typeof(IPredictorProducing<float>), typeof(
FastTreeBinaryModelParameters
), null, typeof(SignatureLoadModel),
37
FastTreeBinaryModelParameters
.LoaderSignature)]
62
loaderAssemblyName: typeof(
FastTreeBinaryModelParameters
).Assembly.FullName);
92
var
predictor = new FastTreeBinaryModelParameters(env, ctx);
97
return new SchemaBindableCalibratedModelParameters<
FastTreeBinaryModelParameters
, ICalibrator>(env, predictor, calibrator);
131
BinaryPredictionTransformer<CalibratedModelParametersBase<
FastTreeBinaryModelParameters
, PlattCalibrator>>,
132
CalibratedModelParametersBase<
FastTreeBinaryModelParameters
, PlattCalibrator>>
184
private protected override CalibratedModelParametersBase<
FastTreeBinaryModelParameters
, PlattCalibrator> TrainModelCore(TrainContext context)
206
var
pred = new FastTreeBinaryModelParameters(Host, TrainedEnsemble, FeatureCount, InnerOptions);
213
return new FeatureWeightsCalibratedModelParameters<
FastTreeBinaryModelParameters
, PlattCalibrator>(Host, pred, cali);
301
private protected override BinaryPredictionTransformer<CalibratedModelParametersBase<
FastTreeBinaryModelParameters
, PlattCalibrator>> MakeTransformer(
302
CalibratedModelParametersBase<
FastTreeBinaryModelParameters
, PlattCalibrator> model, DataViewSchema trainSchema)
303
=> new BinaryPredictionTransformer<CalibratedModelParametersBase<
FastTreeBinaryModelParameters
, PlattCalibrator>>(Host, model, trainSchema, FeatureColumn.Name);
309
public BinaryPredictionTransformer<CalibratedModelParametersBase<
FastTreeBinaryModelParameters
, PlattCalibrator>> Fit(IDataView trainData, IDataView validationData)
TreeEnsemble\TreeEnsembleCombiner.cs (2)
107
var
fastTreeModel = new FastTreeBinaryModelParameters(_host, ensemble, featureCount, null);
108
return new FeatureWeightsCalibratedModelParameters<
FastTreeBinaryModelParameters
, PlattCalibrator>(_host, fastTreeModel, cali);
TreeEnsembleFeaturizer.cs (1)
415
if (predictor is CalibratedModelParametersBase<
FastTreeBinaryModelParameters
, PlattCalibrator> calibrated)
Microsoft.ML.IntegrationTests (1)
IntrospectiveTraining.cs (1)
90
var
fastTreeModel = model.LastTransformer.Model.SubModel;
Microsoft.ML.TestFramework (1)
EnvironmentExtensions.cs (1)
23
env.ComponentCatalog.RegisterAssembly(typeof(
FastTreeBinaryModelParameters
).Assembly); // ML.FastTree
Microsoft.ML.Tests (4)
CalibratedModelParametersTests.cs (2)
79
var castedModel = loadedModel as BinaryPredictionTransformer<CalibratedModelParametersBase<
FastTreeBinaryModelParameters
, PlattCalibrator>>;
83
Type expectedInternalType = typeof(FeatureWeightsCalibratedModelParameters<
FastTreeBinaryModelParameters
, PlattCalibrator>);
TrainerEstimators\TreeEnsembleFeaturizerTest.cs (2)
292
/// 1. It first trains a <see cref="
FastTreeBinaryModelParameters
"/> using <see cref="FastTreeBinaryTrainer"/>.
293
/// 2. Then, it creates the a <see cref="PretrainedTreeFeaturizationEstimator"/> from the trained <see cref="
FastTreeBinaryModelParameters
"/>.