Skip to content

Instantly share code, notes, and snippets.

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 deelipku23/bcf83144ae9bdc3c329fbae7aa499f4a to your computer and use it in GitHub Desktop.
Save deelipku23/bcf83144ae9bdc3c329fbae7aa499f4a to your computer and use it in GitHub Desktop.
# http://zetcode.com/python/prettytable/
from prettytable import PrettyTable
x = PrettyTable()
x.field_names = ["Sentence Vectoriser","Model" ,"Train Loss" , "validation Loss","SpearmenValidation Score" ]
x.add_row(["Universal Sentence Encoder", "Model_1",0.38,0.40,0.349 ])
x.add_row(["Fastext Word Vector", "Model_2",0.51,0.54,0.30 ])
x.add_row(["Fastext Word Vector", "Model_3",0.50,0.53,0.31 ])
x.add_row(["Fastext Word Vector", "Model_4",0.46,0.51,0.29 ])
print(x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment