docstr: Get the number of iterations that it took to converge or reach max iterations.
  
  :returns: number of iterations (integer).
  
  :examples:
  
  >>> from h2o.estimators import H2OGeneralizedLowRankEstimator
  >>> from h2o.grid.grid_search import H2OGridSearch
  >>> iris = h2o.import_file("http://h2o-public-test-data.s3.amazonaws.com/smalldata/iris/iris_wheader.csv")
  >>> hyper_parameters = {'gamma_x': [0.05, 0.5], 'gamma_y': [0.05,0.5]}
  >>> gs = H2OGridSearch(H2OGeneralizedLowRankEstimator(),
  ...                    hyper_parameters)
  >>> gs.train(x=iris.names, training_frame=iris)
  >>> gs.num_iterations()
docstr_tok: ["Get","the","number","of","iterations","that","it","took","to","converge","or","reach","max","iterations",".",":","returns",":","number","of","iterations","(","integer",")",".",":","examples",":",">",">",">","from","h2o.estimators","import","H2OGeneralizedLowRankEstimator",">",">",">","from","h2o.grid.grid_search","import","H2OGridSearch",">",">",">","iris","=","h2o.import_file","(","``","http",":","\/\/h2o-public-test-data.s3.amazonaws.com\/smalldata\/iris\/iris_wheader.csv","''",")",">",">",">","hyper_parameters","=","{","'gamma_x","'",":","[","0.05",",","0.5","]",",","'gamma_y","'",":","[","0.05,0.5","]","}",">",">",">","gs","=","H2OGridSearch","(","H2OGeneralizedLowRankEstimator","(",")",",","...","hyper_parameters",")",">",">",">","gs.train","(","x=iris.names",",","training_frame=iris",")",">",">",">","gs.num_iterations","(",")"]
code: def num_iterations(self):
      """
      Get the number of iterations that it took to converge or reach max iterations.
  
      :returns: number of iterations (integer).
  
      :examples:
  
      >>> from h2o.estimators import H2OGeneralizedLowRankEstimator
      >>> from h2o.grid.grid_search import H2OGridSearch
      >>> iris = h2o.import_file("http://h2o-public-test-data.s3.amazonaws.com/smalldata/iris/iris_wheader.csv")
      >>> hyper_parameters = {'gamma_x': [0.05, 0.5], 'gamma_y': [0.05,0.5]}
      >>> gs = H2OGridSearch(H2OGeneralizedLowRankEstimator(),
      ...                    hyper_parameters)
      >>> gs.train(x=iris.names, training_frame=iris)
      >>> gs.num_iterations()
      """
      return {
          model.model_id: model.num_iterations for model in self.models
      }
  
label_desc: Use image node_id 1 for calling the H2ODimReductionGridSearch obj's underlying member method code with example usage: obj.num_iterations() and returns: unknown