MCPcopy Index your code
hub / github.com/lazyprogrammer/machine_learning_examples / score

Method score

airline/ann.py:124–126  ·  view source on GitHub ↗
(self, X, Y)

Source from the content-addressed store, hash-verified

122 return Z.dot(self.W) + self.b
123
124 def score(self, X, Y):
125 Yhat = self.predict_op(X)
126 return myr2(Y, Yhat)
127
128 def predict(self, X):
129 return self.predict_op(X)

Callers 3

basic_mlp.pyFile · 0.45
ann.pyFile · 0.45
lr.pyFile · 0.45

Calls 1

myr2Function · 0.70

Tested by

no test coverage detected