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 Exchange에서 GPU 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