code: def parse_args():
      parser = argparse.ArgumentParser()
  
      parser.add_argument("--max_depth", type=int, default=5)
      parser.add_argument("--eta", type=float, default=0.05)
      parser.add_argument("--gamma", type=int, default=4)
      parser.add_argument("--min_child_weight", type=int, default=6)
      parser.add_argument("--silent", type=int, default=0)
      parser.add_argument(
          "--objective", type=str, default="reg:logistic"
      )
      parser.add_argument("--num_round", type=int, default=10)
  
      parser.add_argument(
          "--train",
          type=str,
          default=os.environ.get("SM_CHANNEL_TRAIN"),
      )
      parser.add_argument(
          "--validation",
          type=str,
          default=os.environ.get("SM_CHANNEL_VALIDATION"),
      )
  
      args = parser.parse_args()
  
      return args
  
file_path: sagemaker-python-sdk/tests/data/sip/training.py
imports: import argparse
  import json
  import os
  import random
  import pandas
  import glob
  import pickle
  import xgboost
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: args