Interface SummaryStatistic
-
- All Known Subinterfaces:
CategoricalSummaryStatistic,NumericSummaryStatistic
- All Known Implementing Classes:
AbstractCategoricalSummaryStatistic,AbstractGeneralSummaryStatistic,AbstractNumericSummaryStatistic,AbstractSummaryStatistic,Accuracy,CorrelationCoefficient,MeanAbsoluteError,NoPrediction,RootMeanSquaredError
public interface SummaryStatisticInterface for classes that calculate statistics.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double[]calculate()Calculates the summary statistics, corresponding with the names.voidclear()Clears all input.String[]getNames()Returns the names of the statistics.
-
-
-
Method Detail
-
getNames
String[] getNames()
Returns the names of the statistics.- Returns:
- the names
-
clear
void clear()
Clears all input.
-
calculate
double[] calculate()
Calculates the summary statistics, corresponding with the names.- Returns:
- the statistics
- See Also:
getNames()
-
-