Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

EM algorithm, change nclusters property doesn't cause isTrained() to return false.

Suppose I create EM object, train it and then change its "nclusters" property. In my understanding, this should reset it to the untrained state, since the sizes of means and covs do not satisfy the number of clusters.

However, isTrained() returns true.

Is is a bug or feature?

EM algorithm, change nclusters property doesn't cause isTrained() to return false.

Suppose I create EM object, train it and then change its "nclusters" property. In my understanding, this should reset it to the untrained state, since the sizes of means and covs do not satisfy longer correspond to the number of clusters.

However, isTrained() returns true.

Is is a bug or feature?

EM algorithm, change nclusters property doesn't cause isTrained() to return false.

Suppose I create EM object, train it and then change its "nclusters" property. In my understanding, this should reset it to the untrained state, since the sizes of means and covs do not longer correspond to the number of clusters.

However, isTrained() returns true.

Is is a bug or feature?