If pruning threshold is high, or if some nodes have small probability to be reached from anywhere, pruning can result in some of the columns being all zeros, and the corresponding nodes will not get into any cluster.
This pull request should fix this issue by keeping the maximum value in each column, regardless of whether it is under the pruning threshold.
If pruning threshold is high, or if some nodes have small probability to be reached from anywhere, pruning can result in some of the columns being all zeros, and the corresponding nodes will not get into any cluster. This pull request should fix this issue by keeping the maximum value in each column, regardless of whether it is under the pruning threshold.