Data Science

get MAE and RMSE

get MAE and RMSE
do have tried like this
movies = pd.read_csv(‘ml-20m/movies.csv’)
ratings = pd.read_csv(‘ml-20m/ratings.csv’)
df = pd.merge(movies, ratings, on=’movieId’, how=’inner’)
reader = Reader(rating_scale=(0.5, 5))
data = Dataset….