Skip to content

Instantly share code, notes, and snippets.

@TheLoneNut
Created February 15, 2018 15:59
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 TheLoneNut/0aa6b06cfcd60b4eee4073b630fb8a7a to your computer and use it in GitHub Desktop.
Save TheLoneNut/0aa6b06cfcd60b4eee4073b630fb8a7a to your computer and use it in GitHub Desktop.
database = {}
database['normal'] = traffic_to_encoding(get_example_label(train_cases_df, df_lens, 0), base_network)
database['error2'] = traffic_to_encoding(get_example_label(train_cases_df, df_lens, 1), base_network)
# Prediction on traffic
identify_traffic(x, database, base_network)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment