# NOT RUN {
# loads data about CPU execution metrics of a distributed
# version of Alternating Least Squares (ALS) algorithm
library(gama)
data(cpu.als)
# call estimation by using minimal method (Elbow graphic)
k <- gama.how.many.k (cpu.als)
print(k)
# call estimation by using broad method (NbClust)
k <- gama.how.many.k (cpu.als, method = 'broad')
print(k)
# }
Run the code above in your browser using DataLab