I got this error while running the fit function for the logistic regression with p values. How should I tackle it? MemoryError: Unable to allocate 602. MiB for an array with shape (78852840, 1) and data type int64
What are the specifications of your computer?
The 365 Team
Intel Core i5, 12 Gb RAM, 1TB HDD, Windows 10 and I’m working on the recent data set (2007-2018) which has 1M+ rows. I was really enjoying the course until I stuck there and couldn’t go forward.
Thanks for reaching out. I hope the problem will be solved soon.
I see. I think the problem is not with your computer. However, you can try to trim the dataset down (e.g. leave only 200,000 observations). Alternatively, you can try skip the step where we create a copy of the dataset (.copy()). This will relieve your system a bit.
Thank you for the suggestion. I’ll now be able to complete the course. You guys are awesome. 🙂