How to run multivariate regression on GPU?
2 次查看(过去 30 天)
显示 更早的评论
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!
0 个评论
回答(1 个)
Abel Babu
2017-6-2
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
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 GPU Computing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!