code: def main(args):
      dtrain, dtest = generate_data()
      rmse_evals = native_rmse(dtrain, dtest)
      rmsle_evals = native_rmsle(dtrain, dtest)
      py_rmsle_evals = py_rmsle(dtrain, dtest)
  
      if args.plot != 0:
          plot_history(rmse_evals, rmsle_evals, py_rmsle_evals)
          plt.show()
  
file_path: xgboost/demo/guide-python/custom_rmsle.py
imports: import argparse
  from time import time
  from typing import Dict, List, Tuple
  import matplotlib
  import numpy
  from matplotlib import pyplot
  import xgboost
label_desc: Use image node_id 6 for calling a global function with example usage: main(args) without return types