作者:
apple2 (apple)
2019-07-30 07:40:19各位大大好,
我用python hmmlearn package
使用GaussianHmm時
model = hmm.GaussianHMM(n_components=10, covariance_type='full',min_covar
=0.00001, tol=0.0001, n_iter=NUM_ITERS, init_params='stmc')
model.fit(train_dataset)
程式執行有時會有錯誤訊息(有時正常執行) 如下:
component 3 of 'full' covars must be symmetric, positive-definite
修改covariance_type='spherical' 也會有錯誤訊息 如下:
'spherical' covars must be non-negative
請問有人知道這個問題如何解決嗎
非常謝謝!