class_docstr: Dimension reduction model, such as PCA or GLRM.
class_docstr_tok: ["Dimension","reduction","model",",","such","as","PCA","or","GLRM","."]
docstr: Convert archetypes of the model into original feature space.
  
  :param H2OFrame test_data: The dataset upon which the model was trained.
  :param bool reverse_transform: Whether the transformation of the training data during model-building
      should be reversed on the projected archetypes.
  
  :returns: model archetypes projected back into the original training data's feature space.
docstr_tok: ["Convert","archetypes","of","the","model","into","original","feature","space",".",":","param","H2OFrame","test_data",":","The","dataset","upon","which","the","model","was","trained",".",":","param","bool","reverse_transform",":","Whether","the","transformation","of","the","training","data","during","model-building","should","be","reversed","on","the","projected","archetypes",".",":","returns",":","model","archetypes","projected","back","into","the","original","training","data","'s","feature","space","."]
code: def proj_archetypes(self, test_data, reverse_transform=False):
      """
      Convert archetypes of the model into original feature space.
  
      :param H2OFrame test_data: The dataset upon which the model was trained.
      :param bool reverse_transform: Whether the transformation of the training data during model-building
          should be reversed on the projected archetypes.
  
      :returns: model archetypes projected back into the original training data's feature space.
      """
      if test_data is None or test_data.nrow == 0:
          raise ValueError("Must specify test data")
      j = h2o.api(
          "POST /3/Predictions/models/%s/frames/%s"
          % (self.model_id, test_data.frame_id),
          data={
              "project_archetypes": True,
              "reverse_transform": reverse_transform,
          },
      )
      return h2o.get_frame(
          j["model_metrics"][0]["predictions"]["frame_id"]["name"]
      )
  
file_path: h2o-3/h2o-py/h2o/model/models/dim_reduction.py
imports: import h2o
  from h2o.model import ModelBase
  from h2o.plot import decorate_plot_result, get_matplotlib_pyplot, RAISE_ON_FIGURE_ACCESS
  from h2o.utils.compatibility import *
  from h2o.utils.shared_utils import can_use_pandas
label_desc: Use image node_id 7 for calling the H2ODimReductionModel obj's underlying member method code with example usage: obj.proj_archetypes(test_data, reverse_transform) and returns: h2o