Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created May 26, 2021 11:08
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 amankharwal/c590b111431536f75ad6759a4c630f44 to your computer and use it in GitHub Desktop.
Save amankharwal/c590b111431536f75ad6759a4c630f44 to your computer and use it in GitHub Desktop.
output = [1, 0, 1, 0, 1, 0, 0, 1, 1, 1]
output1 = [le.classes_[int(i)] for i in output]
print(output1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment