def _get_predictions(self):
if self.regressor is None:<EOL><INDENT>preds = safe_sparse_dot(self.hidden_activations_, self.coefs_)<EOL><DEDENT>else:<EOL><INDENT>preds = self.regressor.predict(self.hidden_activations_)<EOL><DEDENT>return preds<EOL>
get predictions using internal least squares/supplied regressor