class_docstr: PUBDEV-1843: Grid testing.  Subtask 2 for kmeans
  
  This class is used to generate kmeans clusters to test the kmeans algo with gridsearch.  It may run rather
  slowly.  Since this is used to generate training data for kmeans, it does not need to be run unless we
  need new datasets.
class_docstr_tok: ["PUBDEV-1843",":","Grid","testing",".","Subtask","2","for","kmeans","This","class","is","used","to","generate","kmeans","clusters","to","test","the","kmeans","algo","with","gridsearch",".","It","may","run","rather","slowly",".","Since","this","is","used","to","generate","training","data","for","kmeans",",","it","does","not","need","to","be","run","unless","we","need","new","datasets","."]
code: def __init__(self):
      self.setup_data()
  
file_path: h2o-3/h2o-py/dynamic_tests/testdir_algos/kmeans/pyunit_NOPASS_generate_kmeans_clusters.py
imports: import sys
  import random
  import os
  import numpy
  import math
  from builtins import range
  import time
  import json
  import h2o
  from tests import pyunit_utils
label_desc: Use image node_id 1 to create a new Generate_kmeans_clusters object  with example: obj = Generate_kmeans_clusters()