Class Ensemble

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<weka.classifiers.Classifier>, java.util.Collection<weka.classifiers.Classifier>, java.util.Deque<weka.classifiers.Classifier>, java.util.List<weka.classifiers.Classifier>, java.util.Queue<weka.classifiers.Classifier>, weka.classifiers.Classifier

    public class Ensemble
    extends java.util.LinkedList<weka.classifiers.Classifier>
    implements weka.classifiers.Classifier
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.AbstractList

        modCount
    • Constructor Summary

      Constructors 
      Constructor Description
      Ensemble()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void buildClassifier​(weka.core.Instances data)  
      double classifyInstance​(weka.core.Instance instance)  
      double[] distributionForInstance​(weka.core.Instance instance)  
      weka.core.Capabilities getCapabilities()  
      • Methods inherited from class java.util.LinkedList

        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, toArray
      • Methods inherited from class java.util.AbstractSequentialList

        iterator
      • Methods inherited from class java.util.AbstractList

        equals, hashCode, listIterator, removeRange, subList
      • Methods inherited from class java.util.AbstractCollection

        containsAll, isEmpty, removeAll, retainAll, toString
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface java.util.Deque

        iterator
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.List

        containsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, replaceAll, retainAll, sort, subList
    • Constructor Detail

      • Ensemble

        public Ensemble()
    • Method Detail

      • buildClassifier

        public void buildClassifier​(weka.core.Instances data)
                             throws java.lang.Exception
        Specified by:
        buildClassifier in interface weka.classifiers.Classifier
        Throws:
        java.lang.Exception
      • classifyInstance

        public double classifyInstance​(weka.core.Instance instance)
                                throws java.lang.Exception
        Specified by:
        classifyInstance in interface weka.classifiers.Classifier
        Throws:
        java.lang.Exception
      • distributionForInstance

        public double[] distributionForInstance​(weka.core.Instance instance)
                                         throws java.lang.Exception
        Specified by:
        distributionForInstance in interface weka.classifiers.Classifier
        Throws:
        java.lang.Exception
      • getCapabilities

        public weka.core.Capabilities getCapabilities()
        Specified by:
        getCapabilities in interface weka.classifiers.Classifier