class_docstr: K-means
  
  Performs k-means clustering on an H2O dataset.
class_docstr_tok: ["K-means","Performs","k-means","clustering","on","an","H2O","dataset","."]
docstr: RNG Seed
  
  Type: ``int``, defaults to ``-1``.
  
  :examples:
  
  >>> prostate = h2o.import_file("http://s3.amazonaws.com/h2o-public-test-data/smalldata/prostate/prostate.csv")
  >>> predictors = ["AGE", "RACE", "DPROS", "DCAPS", "PSA", "VOL", "GLEASON"]
  >>> train, valid = prostate.split_frame(ratios=[.8], seed=1234)
  >>> pros_w_seed = H2OKMeansEstimator(seed=1234)
  >>> pros_w_seed.train(x=predictors,
  ...                   training_frame=train,
  ...                   validation_frame=valid)
  >>> pros_wo_seed = H2OKMeansEstimator()
  >>> pros_wo_seed.train(x=predictors,
  ...                    training_frame=train,
  ...                    validation_frame=valid)
  >>> pros_w_seed.scoring_history()
  >>> pros_wo_seed.scoring_history()
docstr_tok: ["RNG","Seed","Type",":","``","int","``",",","defaults","to","``","-1","``",".",":","examples",":",">",">",">","prostate","=","h2o.import_file","(","``","http",":","\/\/s3.amazonaws.com\/h2o-public-test-data\/smalldata\/prostate\/prostate.csv","''",")",">",">",">","predictors","=","[","``","AGE","''",",","``","RACE","''",",","``","DPROS","''",",","``","DCAPS","''",",","``","PSA","''",",","``","VOL","''",",","``","GLEASON","''","]",">",">",">","train",",","valid","=","prostate.split_frame","(","ratios=","[",".8","]",",","seed=1234",")",">",">",">","pros_w_seed","=","H2OKMeansEstimator","(","seed=1234",")",">",">",">","pros_w_seed.train","(","x=predictors",",","...","training_frame=train",",","...","validation_frame=valid",")",">",">",">","pros_wo_seed","=","H2OKMeansEstimator","(",")",">",">",">","pros_wo_seed.train","(","x=predictors",",","...","training_frame=train",",","...","validation_frame=valid",")",">",">",">","pros_w_seed.scoring_history","(",")",">",">",">","pros_wo_seed.scoring_history","(",")"]
code: def seed(self):
      """
      RNG Seed
  
      Type: ``int``, defaults to ``-1``.
  
      :examples:
  
      >>> prostate = h2o.import_file("http://s3.amazonaws.com/h2o-public-test-data/smalldata/prostate/prostate.csv")
      >>> predictors = ["AGE", "RACE", "DPROS", "DCAPS", "PSA", "VOL", "GLEASON"]
      >>> train, valid = prostate.split_frame(ratios=[.8], seed=1234)
      >>> pros_w_seed = H2OKMeansEstimator(seed=1234)
      >>> pros_w_seed.train(x=predictors,
      ...                   training_frame=train,
      ...                   validation_frame=valid)
      >>> pros_wo_seed = H2OKMeansEstimator()
      >>> pros_wo_seed.train(x=predictors,
      ...                    training_frame=train,
      ...                    validation_frame=valid)
      >>> pros_w_seed.scoring_history()
      >>> pros_wo_seed.scoring_history()
      """
      return self._parms.get("seed")
  
imports: from h2o.estimators.estimator_base import H2OEstimator
  from h2o.exceptions import H2OValueError
  from h2o.frame import H2OFrame
  from h2o.utils.typechecks import assert_is_type, Enum, numeric
label_desc: Use image node_id 34 for calling the H2OKMeansEstimator obj's underlying member method code with example usage: obj.seed() and returns: self