code: public DoubleVector[] chooseSeeds(int k, Matrix dataPoints) {
          // If no weights were selected, then just use a uniform weighting of 1.
          int[] weights = new int[dataPoints.rows()];
          Arrays.fill(weights, 1);
          return chooseSeeds(dataPoints, k, weights);
      }
docs: Selects {@code k} rows of {@code dataPoints} to be seeds of a
  <i>k</i>-means instance.  If more seeds are requested than are available,
  all possible rows are returned.
  
  @param dataPoints a matrix whose rows are to be evaluated and from which
  {@code k} data points will be selected
  @param k the number of data points (rows) to select
  
  @return the set of rows that were selected