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: Whether to estimate the number of clusters (<=k) iteratively and deterministically.
  
  Type: ``bool``, defaults to ``False``.
  
  :examples:
  
  >>> iris = h2o.import_file("http://h2o-public-test-data.s3.amazonaws.com/smalldata/iris/iris_wheader.csv")
  >>> iris['class'] = iris['class'].asfactor()
  >>> predictors = iris.columns[:-1]
  >>> train, valid = iris.split_frame(ratios=[.8], seed=1234)
  >>> iris_kmeans = H2OKMeansEstimator(k=10,
  ...                                  estimate_k=True,
  ...                                  standardize=False,
  ...                                  seed=1234)
  >>> iris_kmeans.train(x=predictors,
  ...                   training_frame=train,
  ...                   validation_frame=valid)
  >>> iris_kmeans.scoring_history()
docstr_tok: ["Whether","to","estimate","the","number","of","clusters","(","<","=k",")","iteratively","and","deterministically",".","Type",":","``","bool","``",",","defaults","to","``","False","``",".",":","examples",":",">",">",">","iris","=","h2o.import_file","(","``","http",":","\/\/h2o-public-test-data.s3.amazonaws.com\/smalldata\/iris\/iris_wheader.csv","''",")",">",">",">","iris","[","'class","'","]","=","iris","[","'class","'","]",".asfactor","(",")",">",">",">","predictors","=","iris.columns","[",":","-1","]",">",">",">","train",",","valid","=","iris.split_frame","(","ratios=","[",".8","]",",","seed=1234",")",">",">",">","iris_kmeans","=","H2OKMeansEstimator","(","k=10",",","...","estimate_k=True",",","...","standardize=False",",","...","seed=1234",")",">",">",">","iris_kmeans.train","(","x=predictors",",","...","training_frame=train",",","...","validation_frame=valid",")",">",">",">","iris_kmeans.scoring_history","(",")"]
code: def estimate_k(self):
      """
      Whether to estimate the number of clusters (<=k) iteratively and deterministically.
  
      Type: ``bool``, defaults to ``False``.
  
      :examples:
  
      >>> iris = h2o.import_file("http://h2o-public-test-data.s3.amazonaws.com/smalldata/iris/iris_wheader.csv")
      >>> iris['class'] = iris['class'].asfactor()
      >>> predictors = iris.columns[:-1]
      >>> train, valid = iris.split_frame(ratios=[.8], seed=1234)
      >>> iris_kmeans = H2OKMeansEstimator(k=10,
      ...                                  estimate_k=True,
      ...                                  standardize=False,
      ...                                  seed=1234)
      >>> iris_kmeans.train(x=predictors,
      ...                   training_frame=train,
      ...                   validation_frame=valid)
      >>> iris_kmeans.scoring_history()
      """
      return self._parms.get("estimate_k")
  
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 26 for calling the H2OKMeansEstimator obj's underlying member method code with example usage: obj.estimate_k() and returns: self