Error - out of memory during training phase classification

조회 수: 2 (최근 30일)
Swapnil Sayan Saha
Swapnil Sayan Saha 2019년 6월 6일
댓글: Swapnil Sayan Saha 2019년 6월 7일
I am trying to use a large predictor matrix (196072 X 3042) for classification (using classification learner and other functions).
However, the training phase fails every time and the message points to running out of memory. Note that my computer has 16 GB of RAM and the predictor matrix is around 3.7 GB.
Is there a way to use tall arrays or any other out of memory processing options that I can use? Functions I will be using mainly include fitcensemble and fitcsvm.
  댓글 수: 3
Swapnil Sayan Saha
Swapnil Sayan Saha 2019년 6월 7일
편집: Swapnil Sayan Saha 2019년 6월 7일
I did deduce the memory issue by looking at task manager. MATLAB at times eats away 13/14 GB of RAM. The PC does not respond during those few seconds. The "Error - Out of memory" message was also provided by MATLAB.
Could you provide tools for batch training?
The funny thing is I trained shallow neural networks using MATLAB Neural Network Pattern Recognition on the same PC using the same large predictor matrix later on without any issues.
Swapnil Sayan Saha
Swapnil Sayan Saha 2019년 6월 7일
I found out I could in fact use tall arrays with treebagger function. But it seems not all of the elements of the function are supported if I use tall arrays.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Classification Ensembles에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by