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

Method forward

airline/ann.py:118–122  ·  view source on GitHub ↗
(self, X)

Source from the content-addressed store, hash-verified

116 plt.show()
117
118 def forward(self, X):
119 Z = X
120 for h in self.hidden_layers:
121 Z = h.forward(Z)
122 return Z.dot(self.W) + self.b
123
124 def score(self, X, Y):
125 Yhat = self.predict_op(X)

Callers 1

fitMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected