

def apply_config(self, config):
    '\n        Applies config\n        '
    self.hash_name = config['hash_name']
    self.dim = config['dim']
    self.projection_count = config['projection_count']
    self.components = config['components']

dataset/ETHPy150Open pixelogik/NearPy/nearpy/hashes/pcabinaryprojections.py PCABinaryProjections.apply_config/original