Class SharedNearestNeighborPreprocessor.Factory.Par<O>

    • Field Detail

      • numberOfNeighbors

        protected int numberOfNeighbors
        Holds the number of nearest neighbors to be used.
      • distanceFunction

        protected Distance<O> distanceFunction
        Hold the distance function to be used.
    • 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