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

Method predict

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

Source from the content-addressed store, hash-verified

107 return myr2(Y, Yhat)
108
109 def predict(self, X):
110 N = len(X)
111 Yhat = np.empty(N)
112 for i in xrange(N):
113 Yhat[i] = self.predict_op(X[i])
114 return Yhat
115
116# we need to skip the 3 footer rows
117# skipfooter does not work with the default engine, 'c'

Callers 2

scoreMethod · 0.95
rnn.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected