def reset(self, dim):
        if self.dim != dim:
            raise Exception('PCA hash is trained for specific dimension!')
Resets / Initializes the hash for the specified dimension.
dataset/ETHPy150Open pixelogik/NearPy/nearpy/hashes/pcabinaryprojections.py/PCABinaryProjections.reset