(self, x)
| 48 | return self.session.run(self.cost, feed_dict={self.tfx: x}) |
| 49 | |
| 50 | def log_likelihood(self, x): |
| 51 | return -self.session.run(self.cost, feed_dict={self.tfx: x}) |
| 52 | |
| 53 | def get_cost_multi(self, X): |
| 54 | return np.array([self.get_cost(x) for x in X]) |