Is possible to accelerate sequentialfs using a GPU?

3 Ansichten (letzte 30 Tage)
Roberto Herrera-Lara
Roberto Herrera-Lara am 25 Mär. 2012
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 Kommentare
Walter Roberson
Walter Roberson am 25 Mär. 2012
Have you used to profiler to determine which part of the operations are slowest?
Roberto Herrera-Lara
Roberto Herrera-Lara am 26 Mär. 2012
The problem is, sequentialfs, is very slow .... had intended to stop working with double and work with for gain speed....

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Ilya
Ilya am 25 Mär. 2012
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 Kommentar
Roberto Herrera-Lara
Roberto Herrera-Lara am 26 Mär. 2012
Thank you very much, now I work with it on an i7, but that isn't enough.

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by