如何在 matlab 中生成伯努利块混合模型?
数据挖掘
机器学习
聚类
matlab
二进制
2021-09-15 07:47:14
1个回答
第一的,不是伯努利随机变量。在文中,被描述为实值。此外,尺寸和不正确。
文本表明我们正在绘制一个数据矩阵调用它 这样 .
特定条目具有分布 . 在哪里 is some given matrix of parameters. The maximum row index of is . The maximum column index of is . So is .
All that remains is to pin down the indices and . These are vectors rather than matrices since they have a categorical distribution, for example should be an integer between and .
Putting this together we need to:
- Draw , a vector of length , by
- Draw , a vector of length , by
- Draw , an matrix, by
其它你可能感兴趣的问题
