def _mean_hiddens(self, v):
        p = safe_sparse_dot(v, self.components_.T)
        p += self.intercept_hidden_
        return expit(p, out=p)
Computes the probabilities P(h=1|v).
dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/neural_network/rbm.py/BernoulliRBM._mean_hiddens