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

Method forward

airline/rnn.py:99–103  ·  view source on GitHub ↗
(self, X)

Source from the content-addressed store, hash-verified

97 plt.show()
98
99 def forward(self, X):
100 Z = X
101 for h in self.hidden_layers:
102 Z = h.output(Z)
103 return Z.dot(self.Wo) + self.bo
104
105 def score(self, X, Y):
106 Yhat = self.predict(X)

Callers 1

fitMethod · 0.95

Calls 1

outputMethod · 0.45

Tested by

no test coverage detected