I am working on my regression model based on the IMDB data, to predict IMDB value. On my linear-regression, i was unable to obtain the accuracy score. my line of code: metrics.accuracy_score(test_y, linear_predicted_rating) Error : ValueError: continuous is not supported if i were to change that line to obtain the r2 score, metrics.r2_score(test_y,linear_predicted_rating) i was able to obtain r2 without any error. Any clue why i am seeing this? Thanks. Edit: One thing i found out is test_y is panda data frame whereas the linear_predicted_rating is in numpy array format. Continue reading...