Community Profile

photo

Dang Manh Truong


Last seen: 1 year ago Active since 2016

Followers: 0   Following: 0

Statistics

All
  • Thankful Level 2
  • First Review
  • GitHub Submissions Level 2
  • First Submission
  • Thankful Level 1
  • First Answer

View badges

Feeds

View by

Question


Vectorized method to find the number of consecutive 1s from the left of an array
Hi, I want to find the number of consecutive 1s from the left of an array (a binary array). For example, if I have A = [1 1 1 0 ...

5 years ago | 1 answer | 0

1

answer

Submitted


ManhTruongDang/PingPongGANN
An AI for PingPong using Neural network and Genetic Algorithm

6 years ago | 1 download |

Submitted


ManhTruongDang/RecursiveObj
This is an utility class to perform recursively on file directories

6 years ago | 1 download |

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

7 years ago | 1 download |

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...

7 years 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...

7 years 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,...

7 years 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...

7 years ago | 3 answers | 0

3

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...

7 years 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: ...

7 years 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...

7 years 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!

7 years ago | 0

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 years ago | 0 answers | 1

0

answers

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...

7 years 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...

7 years 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...

7 years 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...

7 years 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...

7 years 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...

7 years ago | 1 answer | 0

1

answer