Class Art2aEuclidUtils

java.lang.Object
de.unijena.cheminf.clustering.art2a.Art2aEuclidUtils

public class Art2aEuclidUtils extends Object
Library of static, thread-safe (stateless) utility methods for ART-2a-Euclid clustering.

Note: No checks are performed.
  • Constructor Details

    • Art2aEuclidUtils

      protected Art2aEuclidUtils()
      Constructor
  • Method Details

    • setContrastEnhancedVector

      protected static boolean setContrastEnhancedVector(float[] aDataVector, float[] aBufferVector, Utils.MinMaxValue[] aMinMaxComponents, float aThresholdForContrastEnhancement)
      Transforms original data vector into corresponding contrast enhanced unit vector (see code). Note: No checks are performed.
      Parameters:
      aDataVector - Data vector (IS NOT CHANGED)
      aBufferVector - Buffer vector for contrast enhanced unit vector derived from data vector (MUST ALREADY BE INSTANTIATED and is set within the method)
      aMinMaxComponents - Min-max components of original data matrix
      aThresholdForContrastEnhancement - Threshold for contrast enhancement
      Returns:
      True: Scaled data vector has a length of zero, false: Otherwise