code: def main():
      bi.init(
          "Python", "../../../h2o-py/h2o/estimators", clear_dir=False
      )
  
      modules = [
          (
              "h2o.estimators.deeplearning",
              "deeplearning",
              "H2OAutoEncoderEstimator",
              "Unsupervised",
          ),
          (
              "h2o.estimators.estimator_base",
              "estimator_base",
              "H2OEstimator",
              "Miscellaneous",
          ),
          ("h2o.grid", "grid", "H2OGridSearch", "Miscellaneous"),
          ("h2o.automl", "automl", "H2OAutoML", "Miscellaneous"),
      ]
      builders = bi.model_builders().items()
      algo_to_module = dict(
          drf="random_forest",
          naivebayes="naive_bayes",
          isolationforest="isolation_forest",
          extendedisolationforest="extended_isolation_forest",
          dt="decision_tree",
          upliftdrf="uplift_random_forest",
          modelselection="model_selection",
      )
      algo_to_category = dict(
          svd="Miscellaneous", word2vec="Miscellaneous"
      )
      for name, mb in builders:
          module = name
          if name in algo_to_module:
              module = algo_to_module[name]
          bi.vprint("Generating model: " + name)
          bi.write_to_file("%s.py" % module, gen_module(mb, name))
          category = (
              algo_to_category[name]
              if name in algo_to_category
              else "Supervised"
              if mb["supervised"]
              else "Unsupervised"
          )
          full_module = ".".join(["h2o.estimators", module])
          modules.append(
              (full_module, module, algo_to_classname(name), category)
          )
  
      bi.write_to_file("__init__.py", gen_init(modules))
      bi.write_to_file(
          "../../docs/modeling.rst", gen_models_docs(modules)
      )
  
      type_adapter1.vprint_translation_map()
  
imports: from copy import deepcopy
  from functools import partial
  from io import StringIO
  from inspect import getsource
  from pprint import pformat
  import sys
  import bindings
  from custom import get_customizations_for, reformat_block
label_desc: Use image node_id 11 for calling a global function with example usage: main() without return types