Skip to content

Instantly share code, notes, and snippets.

@TheLoneNut
Created February 15, 2018 15:58
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/25ebd13b077c38230e80532a7f5b69f1 to your computer and use it in GitHub Desktop.
Save TheLoneNut/25ebd13b077c38230e80532a7f5b69f1 to your computer and use it in GitHub Desktop.
def traffic_to_encoding(x, model):
    return model.predict(np.array([x]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment