Class DiSH.Par

  • All Implemented Interfaces:
    Parameterizer
    Enclosing class:
    DiSH

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

      Fields 
      Modifier and Type Field Description
      static double DEFAULT_EPSILON
      The default value for epsilon.
      static DiSH.Strategy DEFAULT_STRATEGY
      Default strategy.
      protected double epsilon
      The epsilon value for each dimension.
      static OptionID EPSILON_ID
      A comma separated list of positive doubles specifying the maximum radius of the neighborhood to be considered in each dimension for determination of the preference vector (default is DEFAULT_EPSILON in each dimension).
      protected int minpts
      Threshold for minimum number of points in the neighborhood.
      static OptionID MINPTS_ID
      Positive threshold for minimum numbers of points in the epsilon-neighborhood of a points.
      static OptionID MU_ID
      Parameter that specifies the a minimum number of points as a smoothing factor to avoid the single-link-effect, must be an integer greater than 0.
      protected DiSH.Strategy strategy
      The strategy to determine the preference vector.
      static OptionID STRATEGY_ID
      The strategy for determination of the preference vector, available strategies are: DiSH.Strategy.APRIORI and DiSH.Strategy.MAX_INTERSECTION.
    • 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.
      DiSH 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

      • DEFAULT_EPSILON

        public static final double DEFAULT_EPSILON
        The default value for epsilon.
        See Also:
        Constant Field Values
      • EPSILON_ID

        public static final OptionID EPSILON_ID
        A comma separated list of positive doubles specifying the maximum radius of the neighborhood to be considered in each dimension for determination of the preference vector (default is DEFAULT_EPSILON in each dimension). If only one value is specified, this value will be used for each dimension.
      • MINPTS_ID

        public static final OptionID MINPTS_ID
        Positive threshold for minimum numbers of points in the epsilon-neighborhood of a points.
      • DEFAULT_STRATEGY

        public static final DiSH.Strategy DEFAULT_STRATEGY
        Default strategy.
      • MU_ID

        public static final OptionID MU_ID
        Parameter that specifies the a minimum number of points as a smoothing factor to avoid the single-link-effect, must be an integer greater than 0.
      • epsilon

        protected double epsilon
        The epsilon value for each dimension.
      • minpts

        protected int minpts
        Threshold for minimum number of points in the neighborhood.
      • strategy

        protected DiSH.Strategy strategy
        The strategy to determine the preference vector.
    • 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 DiSH 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