Class P3C.Par

  • All Implemented Interfaces:
    Parameterizer
    Enclosing class:
    P3C

    public static class P3C.Par
    extends java.lang.Object
    implements Parameterizer
    Parameterization class.
    Author:
    Florian Nuecke
    • Field Detail

      • ALPHA_THRESHOLD_ID

        public static final OptionID ALPHA_THRESHOLD_ID
        Parameter for the chi squared test threshold.
      • POISSON_THRESHOLD_ID

        public static final OptionID POISSON_THRESHOLD_ID
        Parameter for the poisson test threshold.
      • MAX_EM_ITERATIONS_ID

        public static final OptionID MAX_EM_ITERATIONS_ID
        Maximum number of iterations for the EM step.
      • EM_DELTA_ID

        public static final OptionID EM_DELTA_ID
        Threshold when to stop EM iterations.
      • MIN_CLUSTER_SIZE_ID

        public static final OptionID MIN_CLUSTER_SIZE_ID
        Minimum cluster size for noise flagging. (Not existant in the original publication).
      • alpha

        protected double alpha
        Parameter for the chi squared test threshold. While statistical values such as 0.01 are a good choice, we found the need to modify this parameter in our experiments.
      • poissonThreshold

        protected double poissonThreshold
        Parameter for the poisson test threshold.
      • maxEmIterations

        protected int maxEmIterations
        Maximum number of iterations for the EM step.
      • emDelta

        protected double emDelta
        Threshold when to stop EM iterations.
      • minClusterSize

        protected int minClusterSize
        Minimum cluster size for noise flagging. (Not existant in the original publication).
    • 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 P3C 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