Class DependencyDerivator.Par<V extends NumberVector>

    • Field Detail


        public static final OptionID DEPENDENCY_DERIVATOR_RANDOM_SAMPLE_ID
        Flag to use random sample (use knn query around centroid, if flag is not set).

        public static final OptionID OUTPUT_ACCURACY_ID
        Parameter to specify the threshold for output accuracy fraction digits, must be an integer equal to or greater than 0.

        public static final OptionID SAMPLE_SIZE_ID
        Optional parameter to specify the threshold for the size of the random sample to use, must be an integer greater than 0.
      • outputAccuracy

        protected int outputAccuracy
        Output accuracy.
      • sampleSize

        protected int sampleSize
        Sample size.
      • randomSample

        protected boolean randomSample
        Flag to enable random sampling
      • pca

        protected PCARunner pca
        Class to compute PCA with
    • 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
        config - Parameterization
      • make

        public DependencyDerivator<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
        a new instance