code: def rmse_score(model, test):
      """
      Compute RMSE score for test interactions.
  
      Parameters
      ----------
  
      model: fitted instance of a recommender model
          The model to evaluate.
      test: :class:`spotlight.interactions.Interactions`
          Test interactions.
  
      Returns
      -------
  
      rmse_score: float
          The RMSE score.
      """
  
      predictions = model.predict(test.user_ids, test.item_ids)
  
      return np.sqrt(((test.ratings - predictions) ** 2).mean())
  
imports: import numpy
  import scipy.stats
label_desc: Use image node_id 6 for calling a global function with example usage: rmse_score(model, test) and returns: np