Interface EigenPairFilter

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static OptionID PCA_EIGENPAIR_FILTER
      Parameter to specify the filter for determination of the strong and weak eigenvectors, must be a subclass of EigenPairFilter.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int filter​(double[] eigenValues)
      Filters the specified eigenvalues into strong and weak eigenvalues, where strong eigenvalues have high variance and weak eigenvalues have small variance.
    • Field Detail

      • PCA_EIGENPAIR_FILTER

        static final OptionID PCA_EIGENPAIR_FILTER
        Parameter to specify the filter for determination of the strong and weak eigenvectors, must be a subclass of EigenPairFilter.
    • Method Detail

      • filter

        int filter​(double[] eigenValues)
        Filters the specified eigenvalues into strong and weak eigenvalues, where strong eigenvalues have high variance and weak eigenvalues have small variance.
        Parameters:
        eigenValues - the array of eigenvalues, must be sorted descending
        Returns:
        the number of eigenvectors to keep