Package elki.outlier

Class COP.Par<V extends NumberVector>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) COP.DistanceDist dist
      Distance distributution assumption.
      static OptionID DIST_ID
      Distribution assumption for distances.
      protected Distance<? super V> distance
      The distance function to use.
      (package private) double expect
      Expected amount of outliers.
      static OptionID EXPECT_ID
      Expected share of outliers.
      (package private) int k
      Number of neighbors to be considered.
      static OptionID K_ID
      Parameter to specify the number of nearest neighbors of an object to be considered for computing its score, must be an integer greater than 0.
      (package private) boolean models
      Include COP models
      static OptionID MODELS_ID
      Include COP error vectors in output.
      (package private) PCARunner pca
      Holds the object performing the dependency derivation.
      static OptionID PCARUNNER_ID
      Class to compute the PCA with.
    • 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.
      COP<V> 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

      • K_ID

        public static final OptionID K_ID
        Parameter to specify the number of nearest neighbors of an object to be considered for computing its score, must be an integer greater than 0.
      • DIST_ID

        public static final OptionID DIST_ID
        Distribution assumption for distances.
      • PCARUNNER_ID

        public static final OptionID PCARUNNER_ID
        Class to compute the PCA with.
      • EXPECT_ID

        public static final OptionID EXPECT_ID
        Expected share of outliers.
      • MODELS_ID

        public static final OptionID MODELS_ID
        Include COP error vectors in output.
      • k

        int k
        Number of neighbors to be considered.
      • pca

        PCARunner pca
        Holds the object performing the dependency derivation.
      • expect

        double expect
        Expected amount of outliers.
      • models

        boolean models
        Include COP models
    • 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 COP<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
        Returns:
        a new instance