Package weka.core

Interface Aggregateable<E>

All Known Implementing Classes:
AggregateableEvaluation, Bagging, DictionaryBuilder, DiscreteEstimator, KernelEstimator, Logistic, NaiveBayes, NaiveBayesMultinomialText, NaiveBayesUpdateable, NormalEstimator, RandomForest, SGD, SGDText, Vote

public interface Aggregateable<E>
Interface to something that can aggregate an object of the same type with itself.
Version:
$Revision: 9784 $
Author:
Mark Hall (mhall{[at]}pentaho{[dot]}com)
  • Method Summary

    Modifier and Type
    Method
    Description
    aggregate(E toAggregate)
    Aggregate an object with this one
    void
    Call to complete the aggregation process.
  • Method Details

    • aggregate

      E aggregate(E toAggregate) throws Exception
      Aggregate an object with this one
      Parameters:
      toAggregate - the object to aggregate
      Returns:
      the result of aggregation
      Throws:
      Exception - if the supplied object can't be aggregated for some reason
    • finalizeAggregation

      void finalizeAggregation() throws Exception
      Call to complete the aggregation process. Allows implementers to do any final processing based on how many objects were aggregated.
      Throws:
      Exception - if the aggregation can't be finalized for some reason