Benchmark accuracy

Using the most frequent number of stars (=5) to predict the test set, we achieve an accuracy close to 52%:

test['predicted'] = train.stars.mode().iloc[0]
accuracy_score(test.stars, test.predicted)
0.5196950594793454
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
44.212.26.248