Skip to content

Instantly share code, notes, and snippets.

@funktor funktor/ Secret
Created Oct 14, 2018

What would you like to do?
from collections import Counter
info =
def print_transitions(trans_features):
for (label_from, label_to), weight in trans_features:
print("%-6s -> %-7s %0.6f" % (label_from, label_to, weight))
print("Top likely transitions:")
print("\nTop unlikely transitions:")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.