필터 지우기
필터 지우기

Is possible to accelerate sequentialfs using a GPU?

조회 수: 10 (최근 30일)
Roberto Herrera-Lara
Roberto Herrera-Lara 2012년 3월 25일
Is possible to accelerate sequentialfs using a GPU?
Using SVM, Treebagger, Naive Bayes as a function handle but processing is too slow. About 7 hours in an array of double points 200x60000.
My idea is to use single precision.
  댓글 수: 2
Walter Roberson
Walter Roberson 2012년 3월 25일
Have you used to profiler to determine which part of the operations are slowest?
Roberto Herrera-Lara
Roberto Herrera-Lara 2012년 3월 26일
The problem is, sequentialfs, is very slow .... had intended to stop working with double and work with for gain speed....

댓글을 달려면 로그인하십시오.

답변 (1개)

Ilya
Ilya 2012년 3월 25일
TreeBagger and sequentialfs can be run in a parallel mode using parfor. See 'help parallelstats' for more info. Executing these two utilities in the parallel mode would let you use multiple cores on your machine and, if you have MATLAB Distributed Computing Server, on multiple nodes in your computing cluster. You cannot use GPU's for these utilities, at least not in an obvious way. See the User Guide section in Parallel Computing Toolbox for descriptions of parfor and GPU computing.
Either way, if you have 60k predictors, computation is going to be quite slow.
If you have 12a, I recommend regularized discriminant analysis available from ClassificationDiscriminant class in the Statistics Toolbox. It is well suited for wide data with thousands of predictors. It provides a way of discarding poor predictors too.
  댓글 수: 1
Roberto Herrera-Lara
Roberto Herrera-Lara 2012년 3월 26일
Thank you very much, now I work with it on an i7, but that isn't enough.

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by