public class ClassificationEnsembleOptions extends Object implements com.oracle.labs.mlrg.olcut.config.Options
Modifier and Type | Class and Description |
---|---|
static class |
ClassificationEnsembleOptions.EnsembleType
The type of ensemble.
|
Modifier and Type | Field and Description |
---|---|
int |
ensembleSize |
long |
seed |
ClassificationEnsembleOptions.EnsembleType |
type |
Constructor and Description |
---|
ClassificationEnsembleOptions() |
Modifier and Type | Method and Description |
---|---|
Trainer<Label> |
wrapTrainer(Trainer<Label> trainer)
Wraps the supplied trainer using the ensemble trainer described by these options.
|
@Option(longName="ensemble-type", usage="Ensemble method, options are {ADABOOST, BAGGING, RF}.") public ClassificationEnsembleOptions.EnsembleType type
@Option(longName="ensemble-size", usage="Number of base learners in the ensemble.") public int ensembleSize
@Option(longName="ensemble-seed", usage="RNG seed.") public long seed
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.