Skip to content

Commit

Permalink
公开HMM的成员
Browse files Browse the repository at this point in the history
  • Loading branch information
hankcs committed Mar 5, 2020
1 parent c45c0cd commit 958b7c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ public abstract class HiddenMarkovModel
/**
* 初始状态概率向量
*/
float[] start_probability;
public float[] start_probability;
/**
* 观测概率矩阵
*/
float[][] emission_probability;
public float[][] emission_probability;
/**
* 状态转移概率矩阵
*/
float[][] transition_probability;
public float[][] transition_probability;

/**
* 构造隐马模型
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class SecondOrderHiddenMarkovModel extends HiddenMarkovModel
/**
* 状态转移概率矩阵
*/
float[][][] transition_probability2;
public float[][][] transition_probability2;

/**
* 构造隐马模型
Expand Down

0 comments on commit 958b7c0

Please # to comment.