class_docstr: Principal Components Analysis
class_docstr_tok: ["Principal","Components","Analysis"]
docstr: Automatically export generated models to this directory.
  
  Type: ``str``.
  
  :examples:
  
  >>> import tempfile
  >>> from os import listdir
  >>> prostate = h2o.import_file("http://s3.amazonaws.com/h2o-public-test-data/smalldata/prostate/prostate.csv.zip")
  >>> prostate['CAPSULE'] = prostate['CAPSULE'].asfactor()
  >>> prostate['RACE'] = prostate['RACE'].asfactor()
  >>> prostate['DCAPS'] = prostate['DCAPS'].asfactor()
  >>> prostate['DPROS'] = prostate['DPROS'].asfactor()
  >>> checkpoints_dir = tempfile.mkdtemp()
  >>> pros_pca = H2OPrincipalComponentAnalysisEstimator(impute_missing=True,
  ...                                                   export_checkpoints_dir=checkpoints_dir)
  >>> pros_pca.train(x=prostate.names, training_frame=prostate)
  >>> len(listdir(checkpoints_dir))
docstr_tok: ["Automatically","export","generated","models","to","this","directory",".","Type",":","``","str","``",".",":","examples",":",">",">",">","import","tempfile",">",">",">","from","os","import","listdir",">",">",">","prostate","=","h2o.import_file","(","``","http",":","\/\/s3.amazonaws.com\/h2o-public-test-data\/smalldata\/prostate\/prostate.csv.zip","''",")",">",">",">","prostate","[","'CAPSULE","'","]","=","prostate","[","'CAPSULE","'","]",".asfactor","(",")",">",">",">","prostate","[","'RACE","'","]","=","prostate","[","'RACE","'","]",".asfactor","(",")",">",">",">","prostate","[","'DCAPS","'","]","=","prostate","[","'DCAPS","'","]",".asfactor","(",")",">",">",">","prostate","[","'DPROS","'","]","=","prostate","[","'DPROS","'","]",".asfactor","(",")",">",">",">","checkpoints_dir","=","tempfile.mkdtemp","(",")",">",">",">","pros_pca","=","H2OPrincipalComponentAnalysisEstimator","(","impute_missing=True",",","...","export_checkpoints_dir=checkpoints_dir",")",">",">",">","pros_pca.train","(","x=prostate.names",",","training_frame=prostate",")",">",">",">","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
      >>> prostate = h2o.import_file("http://s3.amazonaws.com/h2o-public-test-data/smalldata/prostate/prostate.csv.zip")
      >>> prostate['CAPSULE'] = prostate['CAPSULE'].asfactor()
      >>> prostate['RACE'] = prostate['RACE'].asfactor()
      >>> prostate['DCAPS'] = prostate['DCAPS'].asfactor()
      >>> prostate['DPROS'] = prostate['DPROS'].asfactor()
      >>> checkpoints_dir = tempfile.mkdtemp()
      >>> pros_pca = H2OPrincipalComponentAnalysisEstimator(impute_missing=True,
      ...                                                   export_checkpoints_dir=checkpoints_dir)
      >>> pros_pca.train(x=prostate.names, training_frame=prostate)
      >>> 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 32 for calling the H2OPrincipalComponentAnalysisEstimator obj's underlying member method code with example usage: obj.export_checkpoints_dir() and returns: self