error
array is too big; arr.size * arr.dtype.itemsize
is larger than the maximum possible size.
here is the link of my code
Getting a error in the code of movie rating prediction
Hey @karthiksharma1608,
Don’t convert the result into toarray()
and leave it as sparse matrix. I know you won’t be able to see the data in a good fashion, But this would resolve the problem of memory error.
I hope this resolves your doubt
Happy Learning
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.