How to run multivariate regression on GPU?

Let's say my Y is "100000x1 gpuArray double" and my x is "100000x3 gpuArray double". How can I change the data structure so that I can use the 'regress' or a similar syntax? Thanks!

回答 (1 件)

Abel Babu
Abel Babu 2017 年 6 月 2 日

0 投票

Hi MJ,
You can use the 'gather' function to get back the data in the gpuarray to the workplace. More about the same can be read here: http://in.mathworks.com/help/distcomp/gather.html
Abel

カテゴリ

ヘルプ センター および File ExchangeGPU Computing についてさらに検索

タグ

質問済み:

MJ
2017 年 5 月 30 日

回答済み:

2017 年 6 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by