code: def test_hdf5_interactions_dataloader_attributes(
      df_for_interactions, hdf5_pandas_df_path
  ):
      interactions_dl = InteractionsDataLoader(
          users=df_for_interactions["user_id"],
          items=df_for_interactions["item_id"],
          num_negative_samples=5,
      )
  
      hdf5_interactions_dl = HDF5InteractionsDataLoader(
          hdf5_path=hdf5_pandas_df_path,
          user_col="user_id",
          item_col="item_id",
          num_negative_samples=5,
      )
  
      assert hdf5_interactions_dl.num_users == interactions_dl.num_users
      assert hdf5_interactions_dl.num_items == interactions_dl.num_items
      assert (
          hdf5_interactions_dl.num_negative_samples
          == interactions_dl.num_negative_samples
      )
      assert (
          hdf5_interactions_dl.num_interactions
          == interactions_dl.num_interactions
      )
  
      with pytest.raises(AttributeError):
          hdf5_interactions_dl.mat
  
imports: import sys
  import numpy
  import pandas
  import pytest
  from collie.interactions import ApproximateNegativeSamplingInteractionsDataLoader, ExplicitInteractions, HDF5Interactions, HDF5InteractionsDataLoader, Interactions, InteractionsDataLoader
label_desc: Use image node_id 11 for calling a global function with example usage: test_hdf5_interactions_dataloader_attributes(df_for_interactions, hdf5_pandas_df_path) without return types