Regression Learner - data exceeds maximum array size preferences regression learner

2 vues (au cours des 30 derniers jours)
Ameer Nizami
Ameer Nizami le 30 Mai 2020
Commenté : Ameer Nizami le 12 Juin 2020
Hi,
I am using the regression learner for the first time. When I select my excel file and get to the response plot page, i click run but am told failed - data exceeds maximum array size preferences regression learner. It is an excel sheet with 78 888 observations, 5 predictors. Size is 8MB it states. My pc has 16gb, my laptop had 8 gb ram and neither could run. Is this really just 8 MB or a much larger number when ran? I do not see what i am doing wrong.
in my preferences i set maximum array size to 10 000, maximum struc nesting levels to 20. I cannot put it larger than 10 000.
memory tells me
Maximum possible array: 14082 MB (1.477e+10 bytes) *
Memory available for all arrays: 14082 MB (1.477e+10 bytes) *
Thank You
  2 commentaires
Gaurav Garg
Gaurav Garg le 8 Juin 2020
Hey Ameer,
I would assume that you have already tried setting workspace preferences => Maximum array size limit to 100% and checking Java heap memory (it might limit the amount of memory available to computations).
Could you please tell if you have not tried these ways, and also other things which you might have tried?
Ameer Nizami
Ameer Nizami le 12 Juin 2020
I have since retried the file with different format after increasing then lowering the Java heap memory to larger and lower values than default and all csv and excel files seem to work. Very odd, I will assume the setting of the memory fixed something in that regard.
Thank You nonetheless!

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by