Package | Description |
---|---|
org.tribuo.classification.ensemble |
Provides majority vote ensemble combiners for classification
along with an implementation of multiclass Adaboost.
|
org.tribuo.common.nearest |
Provides a K-Nearest Neighbours implementation which works across
all Tribuo
Output types. |
org.tribuo.common.tree |
Provides common functionality for building decision trees, irrespective
of the predicted
Output . |
org.tribuo.ensemble |
Provides an interface for model prediction combinations,
two base classes for ensemble models, a base class for
ensemble excuses, and a Bagging implementation.
|
org.tribuo.regression.ensemble |
Provides
EnsembleCombiner implementations
for working with multi-output regression problems. |
Modifier and Type | Class and Description |
---|---|
class |
FullyWeightedVotingCombiner
A combiner which performs a weighted or unweighted vote across the predicted labels.
|
class |
VotingCombiner
A combiner which performs a weighted or unweighted vote across the predicted labels.
|
Constructor and Description |
---|
KNNTrainer(int k,
KNNTrainer.Distance distance,
int numThreads,
EnsembleCombiner<T> combiner,
KNNModel.Backend backend)
Creates a K-NN trainer using the supplied parameters.
|
Constructor and Description |
---|
RandomForestTrainer(DecisionTreeTrainer<T> trainer,
EnsembleCombiner<T> combiner,
int numMembers)
Constructs a RandomForestTrainer with the default seed
Trainer.DEFAULT_SEED . |
RandomForestTrainer(DecisionTreeTrainer<T> trainer,
EnsembleCombiner<T> combiner,
int numMembers,
long seed)
Constructs a RandomForestTrainer with the supplied seed, trainer, combining function and number of members.
|
Modifier and Type | Field and Description |
---|---|
protected EnsembleCombiner<T> |
WeightedEnsembleModel.combiner |
protected EnsembleCombiner<T> |
BaggingTrainer.combiner |
Constructor and Description |
---|
BaggingTrainer(Trainer<T> trainer,
EnsembleCombiner<T> combiner,
int numMembers) |
BaggingTrainer(Trainer<T> trainer,
EnsembleCombiner<T> combiner,
int numMembers,
long seed) |
WeightedEnsembleModel(String name,
EnsembleModelProvenance description,
ImmutableFeatureMap featureIDMap,
ImmutableOutputInfo<T> outputIDInfo,
List<Model<T>> newModels,
EnsembleCombiner<T> combiner) |
WeightedEnsembleModel(String name,
EnsembleModelProvenance description,
ImmutableFeatureMap featureIDMap,
ImmutableOutputInfo<T> outputIDInfo,
List<Model<T>> newModels,
EnsembleCombiner<T> combiner,
float[] weights) |
Modifier and Type | Class and Description |
---|---|
class |
AveragingCombiner
A combiner which performs a weighted or unweighted average of the predicted
regressors independently across the output dimensions.
|
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.