隐马尔可夫模型之python实战
手写定义数据Hidden_states = ("box 1", "box 2", "box 3") # 隐状态集合Observations_states = ('red', 'white', 'red') # 观测状态集合Start_probability = {'box 1': 0.2, 'box 2': 0.4, 'box 3': 0.4} # 初始状态Hidden_transition_probability = { # 隐马尔可