| Package | Description |
|---|---|
| de.jungblut.classification.tree |
| Modifier and Type | Method and Description |
|---|---|
static FeatureType[] |
FeatureType.allNominal(int numFeatures)
Creates an array that denotes the type of a feature at a given feature
index.
|
static FeatureType[] |
FeatureType.allNumerical(int numFeatures)
Creates an array that denotes the type of a feature at a given feature
index.
|
static FeatureType |
FeatureType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FeatureType[] |
FeatureType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static DecisionTree |
DecisionTree.create(FeatureType[] featureTypes)
Creates a new decision tree with the given feature types.
|
static RandomForest |
RandomForest.create(int numTrees,
FeatureType[] types)
Creates a new random forest, trains on one thread with the number of trees
supplied.
|
static DecisionTree |
DecisionTree.createCompiledTree(FeatureType[] featureTypes)
Creates a new compiled decision tree with the given feature types.
|
RandomForest |
RandomForest.setFeatureTypes(FeatureType[] types) |
DecisionTree |
DecisionTree.setFeatureTypes(FeatureType[] featureTypes)
Sets the type of feature per index.
|
Copyright © 2016. All rights reserved.