Class FStat

  • All Implemented Interfaces:
    IQualityMeasure, java.io.Serializable

    public class FStat
    extends java.lang.Object
    implements IQualityMeasure
    F-Stat quality measure performing a analysis of variance according to chapter 3.2 of the original paper. It analyzes the ratio of the variability between the group of instances within a class to the variability within the class groups.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      FStat()  
    • Method Summary

      All Methods Instance Methods Concrete 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FStat

        public FStat()
    • Method Detail

      • assessQuality

        public 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.
        Specified by:
        assessQuality in interface IQualityMeasure
        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