code: def create_lightgbm_classifier(X, y):
      """Create a lightgbm classifier.
  
      :param X: The training data.
      :type X: numpy.ndarray or pandas.DataFrame
      :param y: The training labels.
      :type y: numpy.ndarray or pandas.DataFrame
      :return: A lightgbm classifier.
      :rtype: lightgbm.LGBMClassifier
      """
      lgbm = LGBMClassifier(
          boosting_type="gbdt",
          learning_rate=0.1,
          max_depth=5,
          n_estimators=200,
          n_jobs=1,
          random_state=777,
      )
      model = lgbm.fit(X, y)
      return model
  
label_desc: Use image node_id 1 for calling a global function with example usage: create_lightgbm_classifier(X, y) and returns: model