Community Profile

Dang Manh Truong


16 total contributions since 2016

Dang Manh Truong's Badges

  • Thankful Level 1
  • First Answer

View details...

Contributions in
View by

Question


Is it possible to create a tall array from a .mat file which contains only 1 variable?
Hi, I've read the documentation about tall array and they usually create one on top of a datastore: ds = datastore(file_nam...

7 months ago | 0 answers | 0

0

answers

Submitted


Load Libsvm files incrementally (one row at a time)
This class provides a way to load Libsvm files incrementally. Useful for very large files

8 months ago | 0 downloads |

Question


Is it possible to call Matlab from Java asynchronously ?
Hi, I am aware of utilities like https://code.google.com/archive/p/matlabcontrol/wikis/Walkthrough.wiki where you can call a Mat...

8 months ago | 1 answer | 0

1

answer

Question


Matlab's profiler does not show anything
<</matlabcentral/answers/uploaded_files/76527/profiler.PNG>> Hi, I'm trying optimize a program, yet for some reasons when the...

10 months ago | 1 answer | 0

1

answer

Answered
Why do I receive a LIBC.lib error when doing a MEX compilation in MATLAB 7.9 (R2009b)?
You could just search for the file, then put it in matlab's working directory. I encountered a similar situation (matlab R2016b,...

11 months ago | 0

Question


Mexcuda error on Windows 10 (Matlab 2016b)
Hi, I'm using Windows 10, here is the compilers used by mex (as you can see I'm using Visual studio C++ 2015): >> mex -setu...

11 months ago | 2 answers | 0

2

answers

Question


MATLAB - How to force a specific variable to be stored in memory?
I have a cell array of classifiers (for example, decision trees) trainmodel = cell(1,100000). And sometimes this thing gets real...

1 year ago | 0 answers | 0

0

answers

Question


How to efficiently implement k-nearest neighbor algorithm in a gpu?
Hi, here is my gpu information: >> gpuDevice ans = CUDADevice with properties: ...

1 year ago | 0 answers | 0

0

answers

Question


Should I use parfor on an already multithreaded function (decision tree,...)?
Hi, I want to train many decision trees in parallel by using parfor, but I've heard elsewhere that they are multithreaded, so sh...

1 year ago | 1 answer | 0

1

answer

Answered
Why do I see a "java.util.zip.ZipException" error in my installer log file when I try to install the MinGW support package?
Followed the steps outlined by the support team (windows 10, matlab r2016b), and it worked! Thanks a lot!

1 year ago | 0

Question


Practical k-nearest neighbors implementation with big data set
My data looks like this K = 200; % Could go up to 1000, or more.... X = cell(1,K); Y = cell(1,K); num_of_neighbors...

1 year ago | 0 answers | 0

0

answers

Question


GPU time slower than CPU time in Mandrelbolt set example?
Hi, I'm following the Mandrelbolt set example featured on Mathworks's blog: http://blogs.mathworks.com/loren/2011/07/18/a-mand...

1 year ago | 2 answers | 0

2

answers

Question


Does the Machine learning toolbox (decision tree,...) support GPU
Hi, I'm currently using Matlab R2015a, and I wish to take advantage of the GPU to speedup my code. However, when I used a decisi...

1 year ago | 1 answer | 0

1

answer

Question


Find K smallest elements in a vector where K is very small
I'm trying to speedup my Matlab program using GPU, but since the function "knnsearch" does not support GPU, I decided to write m...

1 year ago | 2 answers | 0

2

answers

Question


Does knnsearch guarantee points in ascending distance order?
Hi, I need to find the k-nearest neihgbors of a test point, but I also need to be sure that they are sorted in ascending order t...

1 year ago | 0 answers | 0

0

answers

Question


How can I vectorize this piece of code for loading cross-validation from file ?
So I am supposed to load the cross-validation folds from a file (10 iterations, each is 10-folds, so a total of 100, arranged se...

1 year ago | 1 answer | 0

1

answer