In the movie rating prediction challenge, I am not able to call:
X_vect=cv.fit_transform(x_clean).toarray() due to memory error as there are 40000 rows in it. What can be the solution to this?
the error is- MemoryError: Unable to allocate array with shape (40000, 65742) and data type int64
Due to this, I am not able to call the mnb.predict() function on the test set to outcome the predictions.