Skip to content

Instantly share code, notes, and snippets.

@kangeugine
Created August 31, 2017 06:10
Show Gist options
  • Save kangeugine/9adc60aa4c58b811aa85f851deaa6fd5 to your computer and use it in GitHub Desktop.
Save kangeugine/9adc60aa4c58b811aa85f851deaa6fd5 to your computer and use it in GitHub Desktop.
HMM Problem #1
import math
math.exp(model.score(np.array([[0]])))
# 0.30000000000000004
math.exp(model.score(np.array([[1]])))
# 0.36000000000000004
math.exp(model.score(np.array([[2]])))
# 0.3400000000000001
math.exp(model.score(np.array([[2,2,2]])))
# 0.04590400000000001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment