# NOT RUN {
# Load the CNAE2 dataset
data("CNAE2")
# Perform parameter estimation and clustering, very
# few iterations are used for this example
dir_CNAE2 = dir_mult_GD(x = CNAE2, k = 2, n_it = 2)
# Shows cluster labels to documents
dir_CNAE2$clusters
# }
Run the code above in your browser using DataLab