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? :(

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)

More Answers (0)

Community Treasure Hunt

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

Start Hunting!