Skip to content

Instantly share code, notes, and snippets.

@prateekjoshi565
Created April 21, 2019 12:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prateekjoshi565/97df97b3c7c54fa904bd4daa37437266 to your computer and use it in GitHub Desktop.
Save prateekjoshi565/97df97b3c7c54fa904bd4daa37437266 to your computer and use it in GitHub Desktop.
for i in range(5):
k = xval.sample(1).index[0]
print("Movie: ", movies_new['movie_name'][k], "\nPredicted genre: ", infer_tags(xval[k])), print("Actual genre: ",movies_new['genre_new'][k], "\n")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment