Skip to content

Instantly share code, notes, and snippets.

@dcshapiro
Created November 27, 2017 23:24
Show Gist options
  • Save dcshapiro/fcd85288e8be51be4fb736d528e0e938 to your computer and use it in GitHub Desktop.
Save dcshapiro/fcd85288e8be51be4fb736d528e0e938 to your computer and use it in GitHub Desktop.
%%time
from numpy import newaxis
results=[]
for i in range(len(x_test)):
x_i=x_test[i]
results.append(model.predict(x_i[newaxis,:]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment