MCPcopy Create free account
hub / github.com/rushter/MLAlgorithms / _predict

Method _predict

mla/linear_models.py:87–89  ·  view source on GitHub ↗
(self, X=None)

Source from the content-addressed store, hash-verified

85 logging.info(" Theta: %s" % self.theta.flatten())
86
87 def _predict(self, X=None):
88 X = self._add_intercept(X)
89 return X.dot(self.theta)
90
91 def _gradient_descent(self):
92 theta = self.theta

Callers

nothing calls this directly

Calls 1

_add_interceptMethod · 0.95

Tested by

no test coverage detected