I am using GuassianNB of Sci-kit learn for my classification.After fitting my data and on predicting ,it throws memory error.
clf1=GaussianNB()
clf1.fit(X_train,y_train)
y_pred1=clf1.predict(imgarray)
where:
- X_train is an array of size(1413,2)
- y_train is an array of size (1413,)
- imgarray size is (9000000,2)
Error :
Other Details:
SCi-Kit learn version: 0.15, Windows 7 32 bit, Python 2.7, pydev,RAM 4 GB
I have tried to change the version and other stuffs but problem continues. Is my imgarray too big?.I shall be thankful for the help and advises.