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: Automatically export generated models to this directory.
  
  Type: ``str``.
  
  :examples:
  
  >>> import tempfile
  >>> from os import listdir
  >>> airlines = h2o.import_file("http://s3.amazonaws.com/h2o-public-test-data/smalldata/airlines/allyears2k_headers.zip", destination_frame="air.hex")
  >>> predictors = ["DayofMonth", "DayOfWeek"]
  >>> checkpoints_dir = tempfile.mkdtemp()
  >>> air_km = H2OKMeansEstimator(export_checkpoints_dir=checkpoints_dir,
  ...                             seed=1234)
  >>> air_km.train(x=predictors, training_frame=airlines)
  >>> len(listdir(checkpoints_dir))
docstr_tok: ["Automatically","export","generated","models","to","this","directory",".","Type",":","``","str","``",".",":","examples",":",">",">",">","import","tempfile",">",">",">","from","os","import","listdir",">",">",">","airlines","=","h2o.import_file","(","``","http",":","\/\/s3.amazonaws.com\/h2o-public-test-data\/smalldata\/airlines\/allyears2k_headers.zip","''",",","destination_frame=","''","air.hex","''",")",">",">",">","predictors","=","[","``","DayofMonth","''",",","``","DayOfWeek","''","]",">",">",">","checkpoints_dir","=","tempfile.mkdtemp","(",")",">",">",">","air_km","=","H2OKMeansEstimator","(","export_checkpoints_dir=checkpoints_dir",",","...","seed=1234",")",">",">",">","air_km.train","(","x=predictors",",","training_frame=airlines",")",">",">",">","len","(","listdir","(","checkpoints_dir",")",")"]
code: def export_checkpoints_dir(self):
      """
      Automatically export generated models to this directory.
  
      Type: ``str``.
  
      :examples:
  
      >>> import tempfile
      >>> from os import listdir
      >>> airlines = h2o.import_file("http://s3.amazonaws.com/h2o-public-test-data/smalldata/airlines/allyears2k_headers.zip", destination_frame="air.hex")
      >>> predictors = ["DayofMonth", "DayOfWeek"]
      >>> checkpoints_dir = tempfile.mkdtemp()
      >>> air_km = H2OKMeansEstimator(export_checkpoints_dir=checkpoints_dir,
      ...                             seed=1234)
      >>> air_km.train(x=predictors, training_frame=airlines)
      >>> len(listdir(checkpoints_dir))
      """
      return self._parms.get("export_checkpoints_dir")
  
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 42 for calling the H2OKMeansEstimator obj's underlying member method code with example usage: obj.export_checkpoints_dir() and returns: self