docstr: Predict on a dataset.
  
  :param H2OFrame test_data: Data on which to make predictions.
  
  :returns: A new H2OFrame of predictions.
  
  :examples:
  
  >>> # Set up an H2OAutoML object
  >>> aml = H2OAutoML(max_runtime_secs=30)
  >>> # Launch an H2OAutoML run
  >>> aml.train(y=y, training_frame=train)
  >>> # Predict with top model from AutoML Leaderboard on a H2OFrame called 'test'
  >>> aml.predict(test)
  >>>
  >>> # Get AutoML object by `project_name`
  >>> get_aml = h2o.automl.get_automl(aml.project_name)
  >>> # Predict with top model from AutoML Leaderboard on a H2OFrame called 'test'
  >>> get_aml.predict(test)
docstr_tok: ["Predict","on","a","dataset",".",":","param","H2OFrame","test_data",":","Data","on","which","to","make","predictions",".",":","returns",":","A","new","H2OFrame","of","predictions",".",":","examples",":",">",">",">","#","Set","up","an","H2OAutoML","object",">",">",">","aml","=","H2OAutoML","(","max_runtime_secs=30",")",">",">",">","#","Launch","an","H2OAutoML","run",">",">",">","aml.train","(","y=y",",","training_frame=train",")",">",">",">","#","Predict","with","top","model","from","AutoML","Leaderboard","on","a","H2OFrame","called","'test'",">",">",">","aml.predict","(","test",")",">",">",">",">",">",">","#","Get","AutoML","object","by","`","project_name","`",">",">",">","get_aml","=","h2o.automl.get_automl","(","aml.project_name",")",">",">",">","#","Predict","with","top","model","from","AutoML","Leaderboard","on","a","H2OFrame","called","'test'",">",">",">","get_aml.predict","(","test",")"]
code: def predict(self, test_data):
      """
      Predict on a dataset.
  
      :param H2OFrame test_data: Data on which to make predictions.
  
      :returns: A new H2OFrame of predictions.
  
      :examples:
  
      >>> # Set up an H2OAutoML object
      >>> aml = H2OAutoML(max_runtime_secs=30)
      >>> # Launch an H2OAutoML run
      >>> aml.train(y=y, training_frame=train)
      >>> # Predict with top model from AutoML Leaderboard on a H2OFrame called 'test'
      >>> aml.predict(test)
      >>>
      >>> # Get AutoML object by `project_name`
      >>> get_aml = h2o.automl.get_automl(aml.project_name)
      >>> # Predict with top model from AutoML Leaderboard on a H2OFrame called 'test'
      >>> get_aml.predict(test)
      """
      return self.leader.predict(test_data)
  
imports: import h2o
  from h2o.base import Keyed
  from h2o.exceptions import H2OValueError
  from h2o.job import H2OJob
  from h2o.model import ModelBase
  from h2o.utils.compatibility import *
  from h2o.utils.typechecks import assert_is_type, is_type
label_desc: Use image node_id 1 for calling the H2OAutoMLBaseMixin obj's underlying member method code with example usage: obj.predict(test_data) and returns: self