Interface CategoricalSummaryStatistic
-
- All Superinterfaces:
SummaryStatistic
- All Known Implementing Classes:
AbstractCategoricalSummaryStatistic
,AbstractGeneralSummaryStatistic
,Accuracy
,NoPrediction
public interface CategoricalSummaryStatistic extends SummaryStatistic
Interface for statistics that work on categorical predictions.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Field Summary
Fields Modifier and Type Field Description static String
MISSING_CATEGORICAL
the placeholder for missing values.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String[]
getCategoricalActual()
Returns the actual values.String[]
getCategoricalClassDistributionLabels()
Returns the class distributions values.double[][]
getCategoricalClassDistributions()
Returns the class distributions values.String[]
getCategoricalPredicted()
Returns the predicted values.double[]
getCategoricalProbabilities()
Returns the probabilities values.void
setCategoricalActual(String[] value)
Sets the actual values.void
setCategoricalClassDistributionLabels(String[] value)
Sets the class labels (order in the class distributions).void
setCategoricalClassDistributions(double[][] value)
Sets the class distributions.void
setCategoricalPredicted(String[] value)
Sets the predicted values.void
setCategoricalProbabilities(double[] value)
Sets the probabilities.-
Methods inherited from interface adams.flow.transformer.summarystatistics.SummaryStatistic
calculate, clear, getNames
-
-
-
-
Field Detail
-
MISSING_CATEGORICAL
static final String MISSING_CATEGORICAL
the placeholder for missing values.- See Also:
- Constant Field Values
-
-
Method Detail
-
setCategoricalActual
void setCategoricalActual(String[] value)
Sets the actual values.- Parameters:
value
- the actual
-
getCategoricalActual
String[] getCategoricalActual()
Returns the actual values.- Returns:
- the actual
-
setCategoricalPredicted
void setCategoricalPredicted(String[] value)
Sets the predicted values.- Parameters:
value
- the predicted
-
getCategoricalPredicted
String[] getCategoricalPredicted()
Returns the predicted values.- Returns:
- the predicted
-
setCategoricalProbabilities
void setCategoricalProbabilities(double[] value)
Sets the probabilities.- Parameters:
value
- the probabilities
-
getCategoricalProbabilities
double[] getCategoricalProbabilities()
Returns the probabilities values.- Returns:
- the probabilities
-
setCategoricalClassDistributions
void setCategoricalClassDistributions(double[][] value)
Sets the class distributions.- Parameters:
value
- the class distributions
-
getCategoricalClassDistributions
double[][] getCategoricalClassDistributions()
Returns the class distributions values.- Returns:
- the class distributions
-
setCategoricalClassDistributionLabels
void setCategoricalClassDistributionLabels(String[] value)
Sets the class labels (order in the class distributions).- Parameters:
value
- the class distribution labels
-
getCategoricalClassDistributionLabels
String[] getCategoricalClassDistributionLabels()
Returns the class distributions values.- Returns:
- the class distribution labels
-
-