class_docstr: Dimension reduction model, such as PCA or GLRM.
class_docstr_tok: ["Dimension","reduction","model",",","such","as","PCA","or","GLRM","."]
docstr: Get the number of iterations that it took to converge or reach max iterations.
docstr_tok: ["Get","the","number","of","iterations","that","it","took","to","converge","or","reach","max","iterations","."]
code: def num_iterations(self):
      """Get the number of iterations that it took to converge or reach max iterations."""
      o = self._model_json["output"]
      return o["model_summary"]["number_of_iterations"][0]
  
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 2 for calling the H2ODimReductionModel obj's underlying member method code with example usage: obj.num_iterations() and returns: o