MATLAB Answers

Does the Machine learning toolbox (decision tree,...) support GPU

1 view (last 30 days)
Hi, I'm currently using Matlab R2015a, and I wish to take advantage of the GPU to speedup my code. However, when I used a decision tree and train I received an error: .... = ClassificationTree.fit(data,labels) The variable "data" is of the gpuArray type. So I had to transfer back to CPU to train the classifier. I wonder is there any way I can use gpuArray on training/testing ? And in more recent Matlab releases, are the functionalities GPU-friendly? :(

  0 Comments

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 25 Jan 2017
(In R2015a) "There is no GPU support for decision trees or their ensembles. [...] If you are using 15a or later, trees are multithreaded." (That is, use multiple CPU cores)

  0 Comments

Sign in to comment.

More Answers (0)


Translated by