|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.cmu.minorthird.classify.BatchClassifierLearner
edu.cmu.minorthird.classify.BatchBinaryClassifierLearner
edu.cmu.minorthird.classify.algorithms.trees.RandomForests
public class RandomForests
Random Forests implementation. See http://www.stat.berkeley.edu/~breiman/RandomForests/ For algorith details.
| Nested Class Summary | |
|---|---|
static class |
RandomForests.VotingClassifier
A set of RandomTree Classifiers FIXME!! All of this stuff is copied directly for AdaBoost with (very) minor modifications |
| Field Summary |
|---|
| Fields inherited from class edu.cmu.minorthird.classify.BatchClassifierLearner |
|---|
classifier, dataset |
| Constructor Summary | |
|---|---|
RandomForests()
|
|
RandomForests(int numComponents)
|
|
RandomForests(RandomTreeLearner baseLearner,
int numComponents)
|
|
| Method Summary | |
|---|---|
Classifier |
batchTrain(Dataset dataset)
subclasses should use this method to implement a batch supervised learning algorithm. |
static java.util.Vector<Feature> |
getDatasetFeatures(Dataset dataset)
Return a vector of all features in the dataset. |
| Methods inherited from class edu.cmu.minorthird.classify.BatchBinaryClassifierLearner |
|---|
batchTrainBinary, getBinaryClassifier, getSchema, setSchema |
| Methods inherited from class edu.cmu.minorthird.classify.BatchClassifierLearner |
|---|
addExample, completeTraining, copy, getClassifier, hasNextQuery, nextQuery, reset, setInstancePool |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface edu.cmu.minorthird.classify.ClassifierLearner |
|---|
addExample, completeTraining, copy, getClassifier, hasNextQuery, nextQuery, reset, setInstancePool |
| Constructor Detail |
|---|
public RandomForests()
public RandomForests(int numComponents)
public RandomForests(RandomTreeLearner baseLearner,
int numComponents)
| Method Detail |
|---|
public Classifier batchTrain(Dataset dataset)
BatchClassifierLearner
batchTrain in class BatchClassifierLearnerpublic static java.util.Vector<Feature> getDatasetFeatures(Dataset dataset)
dataset -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||