The 365 Data Science team is proud to invite you to our own community forum. A very well built system to support your queries, questions and give the chance to show your knowledge and help others in their path of becoming Data Science specialists.
Ask
Anybody can ask a question
Answer
Anybody can answer
Vote
The best answers are voted up and moderated by our team

Calculating multi-variate p values

Calculating multi-variate p values

0
Votes
1
Answer

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

1 Answer

365 Team
0
Votes

Hi Pranit,
What are the specifications of your computer?
Best,
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.

6 months

Thanks for reaching out. I hope the problem will be solved soon.

6 months

Hi Pranit,

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.

6 months

Thank you for the suggestion. I’ll now be able to complete the course. You guys are awesome. 🙂

6 months
×
Ready to Learn
Data Science?
50% OFF