Interface IQualityMeasure
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
FStat
public interface IQualityMeasure extends java.io.SerializableInterface for a quality measure assessing distances of instances to a shapelet given the corresponding class values. This functional interface is used within the Shapelet Transform approach to assess shapelet candidates.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doubleassessQuality(java.util.List<java.lang.Double> distances, int[] classValues)Computes a quality score based on the distances of each instance to the shapelet and the correspondingclassValues.
-
-
-
Method Detail
-
assessQuality
double assessQuality(java.util.List<java.lang.Double> distances, int[] classValues)Computes a quality score based on the distances of each instance to the shapelet and the correspondingclassValues.- Parameters:
distances- List of distances storing the distance of each instance to a shapeletclassValues- The class values of the instances- Returns:
- Returns the calculated quality score
-
-