docstr: Test root mean square error (RMSE) function
docstr_tok: ["Test","root","mean","square","error","(","RMSE",")","function"]
code: def test_rmse(self):
      """
      Test root mean square error (RMSE) function
      """
  
      # GIVEN predictions and actual values
      y_pred = [1.5, 3.2, 1.4, 3.3, 1.7, 3.8, 4.4, 1.6, 1.2, 3.7]
      y_test = [2, 4, 3, 1, 3, 4, 5, 2, 1, 4]
  
      # WHEN metrics.rmse is run
      rmse = metrics.rmse(y=y_test, yhat=y_pred)
  
      # THEN the expected RMSE should be 1.054 within two decimal places
      self.assertAlmostEqual(rmse, 1.054, places=2)
  
file_path: recmetrics/tests/test_metrics.py
imports: import unittest
  from unittest import mock
  import pandas
  from recmetrics import metrics
label_desc: Use image node_id 9 for calling the TestMetrics obj's underlying member method code with example usage: obj.test_rmse() without return types