public abstract class _RandomForest extends Object
| Modifier and Type | Class | Description |
|---|---|---|
static class |
_RandomForest.Prediction |
This class encapsulates the prediction returned by the Random Forest classifier
Modified:
author Tom Misawa(riversun.org@gmail.com)
version July 10, 2019
Original:
author Martin Pielot
version June 30, 2015
|
| Modifier and Type | Field | Description |
|---|---|---|
String |
MyClass |
|
boolean |
use_votes |
Flag that decides the voting strategy: when false, the class is decided by a simple majority vote; when true, the
decision takes the number of positive leafs returned by each tree into account.
|
| Constructor | Description |
|---|---|
_RandomForest() |
| Modifier and Type | Method | Description |
|---|---|---|
_RandomForest.Prediction |
runClassification() |
Runs the classification.
|
protected abstract void |
runClassifiers(List<_RandomForest.Prediction> predictions) |
Tells the implementing class to run the classification
|
public String MyClass
public final boolean use_votes
protected abstract void runClassifiers(List<_RandomForest.Prediction> predictions)
predictions - a list in which the classifier will store the predictions of each individual tree.public _RandomForest.Prediction runClassification()
Copyright © 2019. All rights reserved.