Class CASH.Par

  • All Implemented Interfaces:
    Parameterizer
    Enclosing class:
    CASH

    public static class CASH.Par
    extends java.lang.Object
    implements Parameterizer
    Parameterization class.
    Author:
    Erich Schubert
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected boolean adjust
      Apply adjustment heuristic for interval choosing.
      static OptionID ADJUST_ID
      Flag to indicate that an adjustment of the applied heuristic for choosing an interval is performed after an interval is selected.
      protected double jitter
      Maximum jitter for distance values.
      static OptionID JITTER_ID
      Parameter to specify the maximum jitter for distance values, must be a double greater than 0.
      protected int maxLevel
      Maximum level for splitting the hypercube.
      static OptionID MAXLEVEL_ID
      Parameter to specify the maximum level for splitting the hypercube, must be an integer greater than 0.
      protected int minDim
      Minimum dimensionality of the subspaces to be found
      static OptionID MINDIM_ID
      Parameter to specify the minimum dimensionality of the subspaces to be found, must be an integer greater than 0.
      protected int minPts
      Threshold for minimum number of points in a cluster
      static OptionID MINPTS_ID
      Parameter to specify the threshold for minimum number of points in a cluster, must be an integer greater than 0.
    • Constructor Summary

      Constructors 
      Constructor Description
      Par()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void configure​(Parameterization config)
      Configure the class.
      CASH make()
      Make an instance after successful configuration.
      • Methods inherited from class java.lang.Object

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

      • MINPTS_ID

        public static final OptionID MINPTS_ID
        Parameter to specify the threshold for minimum number of points in a cluster, must be an integer greater than 0.
      • MAXLEVEL_ID

        public static final OptionID MAXLEVEL_ID
        Parameter to specify the maximum level for splitting the hypercube, must be an integer greater than 0.
      • MINDIM_ID

        public static final OptionID MINDIM_ID
        Parameter to specify the minimum dimensionality of the subspaces to be found, must be an integer greater than 0.
      • JITTER_ID

        public static final OptionID JITTER_ID
        Parameter to specify the maximum jitter for distance values, must be a double greater than 0.
      • ADJUST_ID

        public static final OptionID ADJUST_ID
        Flag to indicate that an adjustment of the applied heuristic for choosing an interval is performed after an interval is selected.
      • minPts

        protected int minPts
        Threshold for minimum number of points in a cluster
      • maxLevel

        protected int maxLevel
        Maximum level for splitting the hypercube.
      • minDim

        protected int minDim
        Minimum dimensionality of the subspaces to be found
      • jitter

        protected double jitter
        Maximum jitter for distance values.
      • adjust

        protected boolean adjust
        Apply adjustment heuristic for interval choosing.
    • Constructor Detail

      • Par

        public Par()
    • Method Detail

      • configure

        public void configure​(Parameterization config)
        Description copied from interface: Parameterizer
        Configure the class.

        Note: the status is collected by the parameterization object, so that multiple errors may arise and be reported in one run.

        Specified by:
        configure in interface Parameterizer
        Parameters:
        config - Parameterization
      • make

        public CASH make()
        Description copied from interface: Parameterizer
        Make an instance after successful configuration.

        Note: your class should return the exact type, only this very broad interface should use Object as return type.

        Specified by:
        make in interface Parameterizer
        Returns:
        a new instance