Class Art2aUtils

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

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

Note: No checks are performed.
  • Constructor Details

    • Art2aUtils

      protected Art2aUtils()
      Constructor
  • Method Details

    • setContrastEnhancedUnitVector

      protected static boolean setContrastEnhancedUnitVector(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