code: def _make_estimator_names(cls_name):
      mod = importlib.import_module("h2o.sklearn")
      suffixes = ["Estimator", "Classifier", "Regressor"]
      if cls_name in mod._excluded_estimators:
          return []
      elif cls_name in mod._generic_only_estimators:
          suffixes = ["Estimator"]
      elif cls_name in mod._classifier_only_estimators:
          suffixes = ["Estimator", "Classifier"]
      elif cls_name in mod._regressor_only_estimators:
          suffixes = ["Estimator", "Regressor"]
      return map(
          lambda suffix: cls_name.replace("Estimator", "") + suffix,
          suffixes,
      )
  
file_path: h2o-3/h2o-py/tests/testdir_sklearn/pyunit_sklearn_api.py
imports: import importlib, inspect, os, sys
  from tests import pyunit_utils
label_desc: Use image node_id 1 for calling a global function with example usage: _make_estimator_names(cls_name) and returns: map, list