class_docstr: Principal Components Analysis
class_docstr_tok: ["Principal","Components","Analysis"]
docstr: Id of the training data frame.
  
  Type: ``Union[None, str, H2OFrame]``.
  
  :examples:
  
  >>> data = h2o.import_file("https://s3.amazonaws.com/h2o-public-test-data/smalldata/pca_test/SDSS_quasar.txt.zip")
  >>> data_pca = H2OPrincipalComponentAnalysisEstimator()
  >>> data_pca.train(x=data.names, training_frame=data)
  >>> data_pca.show()
docstr_tok: ["Id","of","the","training","data","frame",".","Type",":","``","Union","[","None",",","str",",","H2OFrame","]","``",".",":","examples",":",">",">",">","data","=","h2o.import_file","(","``","https",":","\/\/s3.amazonaws.com\/h2o-public-test-data\/smalldata\/pca_test\/SDSS_quasar.txt.zip","''",")",">",">",">","data_pca","=","H2OPrincipalComponentAnalysisEstimator","(",")",">",">",">","data_pca.train","(","x=data.names",",","training_frame=data",")",">",">",">","data_pca.show","(",")"]
code: def training_frame(self):
      """
      Id of the training data frame.
  
      Type: ``Union[None, str, H2OFrame]``.
  
      :examples:
  
      >>> data = h2o.import_file("https://s3.amazonaws.com/h2o-public-test-data/smalldata/pca_test/SDSS_quasar.txt.zip")
      >>> data_pca = H2OPrincipalComponentAnalysisEstimator()
      >>> data_pca.train(x=data.names, training_frame=data)
      >>> data_pca.show()
      """
      return self._parms.get("training_frame")
  
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 2 for calling the H2OPrincipalComponentAnalysisEstimator obj's underlying member method code with example usage: obj.training_frame() and returns: self