Compute RMSE between true and predicted values in NumPy
Role: Data Scientist
Category: Machine Learning
Difficulty: easy
Interview Round: Other
Overview: Implement a NumPy function that returns the root mean squared error between two equal-length arrays as a Python float. It tests whether you average squared residuals over n, guard against shape and dtype problems, and know how RMSE differs from the residual standard error of a regression.