Nikronic / Machine-Learning-Models

In This repository I made some simple to complex methods in machine learning. Here I try to build template style code.
MIT License
32 stars 11 forks source link

Error while using KPCA #3

Closed rvaishali23 closed 3 years ago

rvaishali23 commented 3 years ago

I tried to reduce dimensionality of NSL-KDD dataset. I'm getting the following error, Unable to allocate 95.6 GiB for an array with shape (113270, 113270) and data type float64

why?

Nikronic commented 3 years ago

Hi @rvaishali23

From the error, it could be interpreted that dataset is too large and you do not have enough memory for doing it. And the KPCA method needs to have access to all the data, so it's not possible due to memory issue.

rvaishali23 commented 3 years ago

ok thank you