Class CLARA.Par<V>

  • All Implemented Interfaces:
    Parameterizer
    Enclosing class:
    CLARA<V>

    public static class CLARA.Par<V>
    extends PAM.Par<V>
    Parameterization class.
    Author:
    Erich Schubert
    • Field Detail

      • NUMSAMPLES_ID

        public static final OptionID NUMSAMPLES_ID
        The number of samples to run.
      • SAMPLESIZE_ID

        public static final OptionID SAMPLESIZE_ID
        The sample size.
      • NOKEEPMED_ID

        public static final OptionID NOKEEPMED_ID
        Draw independent samples.
      • RANDOM_ID

        public static final OptionID RANDOM_ID
        Random generator.
      • sampling

        double sampling
        Sampling rate. If less than 1, it is considered to be a relative value.
      • numsamples

        int numsamples
        Number of samples to draw (i.e. iterations).
      • keepmed

        boolean keepmed
        Keep the previous medoids in the sample.
    • 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
        Overrides:
        configure in class PAM.Par<V>
        Parameters:
        config - Parameterization
      • make

        public CLARA<V> 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
        Overrides:
        make in class PAM.Par<V>
        Returns:
        a new instance