code: def save_model(_rep, _fold, _run, model):
      model.model.save_model(
          f"_saved_models/model_{_rep}_{_fold}_{_run}"
      )
      print(f"Model saved for R{_rep} / f{_fold} / r{_run}")
  
file_path: hyperparameter_hunter/examples/advanced_examples/save_model_callback.py
imports: from hyperparameter_hunter import Environment, CVExperiment, lambda_callback
  from hyperparameter_hunter.utils.learning_utils import get_breast_cancer_data
  import numpy
  from os import listdir, makedirs
  from pprint import pprint
  from xgboost import XGBClassifier
label_desc: Use image node_id 1 for calling a global function with example usage: save_model(_rep, _fold, _run, model) without return types