modules.clustering.NBClustering
#
NBClustering ObjectsThis module computes Naive Bayes Clusters. This version only works for Bernoulli variables.
This version also computes
#
__init__Attributes:
count_variables
- List[str] A list with the variables to take into account.num_clusters
- The number of clusters to compute.min_support
- Variable values with lower support will be ignored.
#
doPerforms clustering of the dataset.
Attributes:
data
- Should be a Stream.
#
asvtdLearn an approximate pair M, omega @param X: the dataset @param k: the number of clusters
#
EMImplementation of EM to learn a NBM with binary variables @param X: the dataset @param M: the centers of the mixture @param omega: the mixing weights @param Eps: the stopping criterion @param verbose: whether to show or not the error