There's a K-means clustering example in chapter 9 of Mahout in Action which uses the following construct:
List<Vector> randomPoints = RandomSeedGenerator.chooseRandomPoints(points, k); However there's no such method in the RandomSeedGenerator class: https://builds.apache.org/hudson/job/Mahout-Quality/javadoc/ Is there some other alternative?