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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description Eaggregate(E toAggregate)Aggregate an object with this onevoidfinalizeAggregation()Call to complete the aggregation process.
-
-
-
Method Detail
-
aggregate
E aggregate(E toAggregate) throws java.lang.Exception
Aggregate an object with this one- Parameters:
toAggregate- the object to aggregate- Returns:
- the result of aggregation
- Throws:
java.lang.Exception- if the supplied object can't be aggregated for some reason
-
finalizeAggregation
void finalizeAggregation() throws java.lang.ExceptionCall to complete the aggregation process. Allows implementers to do any final processing based on how many objects were aggregated.- Throws:
java.lang.Exception- if the aggregation can't be finalized for some reason
-
-
DataMelt 3.0 © DataMelt by jWork.ORG