Class CosineHashFunctionFamily.Par

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int k
      The number of projections to use for each hash function.
      static OptionID NUMPROJ_ID
      Number of projections to use in each hash function.
      (package private) RandomFactory random
      Random generator to use.
      static OptionID RANDOM_ID
      Parameter for fixing the random seed.
    • Constructor Summary

      Constructors 
      Constructor Description
      Par()  
    • Field Detail

      • RANDOM_ID

        public static final OptionID RANDOM_ID
        Parameter for fixing the random seed.
      • NUMPROJ_ID

        public static final OptionID NUMPROJ_ID
        Number of projections to use in each hash function.
      • k

        int k
        The number of projections to use for each hash function.
    • 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 CosineHashFunctionFamily 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