code: def fitting(model, interactions, df):
      (
          train_interactions,
          test_interactions,
          item_features,
          user_features,
      ) = interactions
      output, fitted_model = track_model_metrics(
          model=model,
          train_interactions=train_interactions,
          test_interactions=test_interactions,
          user_features=user_features,
          item_features=item_features,
          no_epochs=1,
          show_plot=False,
      )
      return output, fitted_model
  
file_path: recommenders/tests/unit/recommenders/models/test_lightfm_utils.py
imports: import pytest
  import itertools
  import numpy
  import pandas
  from lightfm.data import Dataset
  from lightfm import LightFM, cross_validation
  from recommenders.models.lightfm.lightfm_utils import track_model_metrics, similar_users, similar_items
label_desc: Use image node_id 4 for calling a global function with example usage: fitting(model, interactions, df) and returns: output,  fitted_model