code: def test_als_reg_i_field(u1_ml100k, pkf):
      """Ensure the reg_i field is taken into account."""
  
      bsl_options = {
          "method": "als",
          "reg_i": 0,
      }
      algo = BaselineOnly(bsl_options=bsl_options)
      rmse_als_regi_0 = cross_validate(algo, u1_ml100k, ["rmse"], pkf)[
          "test_rmse"
      ]
  
      bsl_options = {
          "method": "als",
          "reg_i": 10,
      }
      algo = BaselineOnly(bsl_options=bsl_options)
      rmse_als_regi_10 = cross_validate(algo, u1_ml100k, ["rmse"], pkf)[
          "test_rmse"
      ]
  
      assert rmse_als_regi_0 != rmse_als_regi_10
  
file_path: Surprise/tests/test_bsl_options.py
imports: import pytest
  from surprise import BaselineOnly
  from surprise.model_selection import cross_validate
label_desc: Use image node_id 4 for calling a global function with example usage: test_als_reg_i_field(u1_ml100k, pkf) without return types