Interface IQualityMeasure

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    FStat

    public interface IQualityMeasure
    extends java.io.Serializable
    Interface 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
      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 corresponding classValues.
    • 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 corresponding classValues.
        Parameters:
        distances - List of distances storing the distance of each instance to a shapelet
        classValues - The class values of the instances
        Returns:
        Returns the calculated quality score