public class Ensemble
extends java.util.LinkedList<weka.classifiers.Classifier>
implements weka.classifiers.Classifier
| Constructor and Description |
|---|
Ensemble() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildClassifier(weka.core.Instances data) |
double |
classifyInstance(weka.core.Instance instance) |
double[] |
distributionForInstance(weka.core.Instance instance) |
weka.core.Capabilities |
getCapabilities() |
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, spliterator, toArray, toArrayequals, hashCode, listIterator, removeRange, subListcontainsAll, isEmpty, removeAll, retainAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitpublic void buildClassifier(weka.core.Instances data)
throws java.lang.Exception
buildClassifier in interface weka.classifiers.Classifierjava.lang.Exceptionpublic double classifyInstance(weka.core.Instance instance)
throws java.lang.Exception
classifyInstance in interface weka.classifiers.Classifierjava.lang.Exceptionpublic double[] distributionForInstance(weka.core.Instance instance)
throws java.lang.Exception
distributionForInstance in interface weka.classifiers.Classifierjava.lang.Exceptionpublic weka.core.Capabilities getCapabilities()
getCapabilities in interface weka.classifiers.Classifier