def get_weights(self):

        self._update_cutoff()

        component_cutoff = self.component_cutoff.get_value()

        W = self.W.get_value(borrow=False)
        W = W[:, :component_cutoff]

        if self.whiten:
            W /= N.sqrt(self.v.get_value(borrow=False)[:component_cutoff])

        return W
Replaces a host key in the known hosts file with another.
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/models/pca.py/_PCABase.get_weights--crossover with--dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/ssh/client.py/SSHClient.replace_host_key