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

1 回表示 (過去 30 日間)
Dang Manh Truong
Dang Manh Truong 2017 年 1 月 25 日
回答済み: Walter Roberson 2017 年 1 月 25 日
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? :(

採用された回答

Walter Roberson
Walter Roberson 2017 年 1 月 25 日
(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 件)

カテゴリ

Help Center および File ExchangeParallel and Cloud についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by