I - The type of the input values (to be measured).O - The type of output values describing the measurement results.public interface IMeasure<I,O>
| Modifier and Type | Method and Description |
|---|---|
O |
calculateAvgMeasure(java.util.List<I> actual,
java.util.List<I> expected)
Computes the measure for lists of input actual and the expected outcome expected and aggregates the measured values with the mean, as this is the most frequently used aggregate function.
|
O |
calculateMeasure(I actual,
I expected)
Computes the measure for a measured input actual and the expected outcome expected.
|
java.util.List<O> |
calculateMeasure(java.util.List<I> actual,
java.util.List<I> expected)
Computes the measure for a lists of input actual and the expected outcome expected.
|
O |
calculateMeasure(java.util.List<I> actual,
java.util.List<I> expected,
ai.libs.jaicore.basic.aggregate.IAggregateFunction<O> aggregateFunction)
Computes the measure for lists of input actual and the expected outcome expected and aggregates the measured values with the given aggregation.
|
O calculateMeasure(I actual, I expected)
actual - The actually available values.expected - The expected values to compare the actual values with.java.util.List<O> calculateMeasure(java.util.List<I> actual, java.util.List<I> expected)
actual - The list of actually available values.expected - The list of expected values to compare the actual values with.O calculateMeasure(java.util.List<I> actual, java.util.List<I> expected, ai.libs.jaicore.basic.aggregate.IAggregateFunction<O> aggregateFunction)
actual - The list of actually available values.expected - The list of expected values to compare the actual values with.aggregateFunction - The aggregate function to be used to aggregate all the measurements.O calculateAvgMeasure(java.util.List<I> actual, java.util.List<I> expected)
actual - The list of actually available values.expected - The list of expected values to compare the actual values with.aggregateFunction - The aggregate function to be used to aggregate all the measurements.