Anish Potnis
Followers: 0 Following: 0
Feeds
質問
Fast method to find average pairwise distance of a very large matrix?
So I have a matrix that is 330,000 observations = rows x 160 variables = columns. I'd like to compute the average distance betwe...
4年以上 前 | 2 件の回答 | 0
2
回答質問
Why is my SVM able to classify above chance after cross-validation?
As a preface, I did see a similar question here, but I'm not sure it clarified my concern. I just wanted to understand classifie...
4年以上 前 | 0 件の回答 | 0
0
回答質問
Is there a way to do code folding on part of an if statement?
If I try to do code folding on lines 3-5 in the following simple example, then MATLAB automatically folds the entire if statemen...
4年以上 前 | 0 件の回答 | 0
0
回答質問
What's the difference between CData and FaceColor in bar()?
So let's say that I make a grouped bar chart, b = bar(rand(2,3)). b(1).FaceColor is a 1x3 vector with the color for the en...
4年以上 前 | 1 件の回答 | 0
1
回答質問
How can we optimize the weighting of dimensions in k-NN?
I'm using k-NN on high-dimensional data, and I wanted to make my classification robust to noisy or uninformative dimensions. I'v...
約5年 前 | 0 件の回答 | 0
0
回答質問
What is the standard way to create a dependency graph in R2018a?
Now that depfun() is deprecated, a few of the MATLAB exchange tools that generate a graph of the dependency structure of a folde...
5年以上 前 | 1 件の回答 | 0
1
回答質問
Matrix similarity transformations introduce small imaginary eigenvalue components
So I'm having an issue with numerical precision. To boil my problem down... Let *A = eye(3) + 1e-6*rand(3)* (1) and let ei...
5年以上 前 | 1 件の回答 | 0
1
回答回答済み
For loop is running 100x times slower on GPU than on CPU
I realized that I need to write more parallelizable code. tic; d=gpuArray(0); n=gpuArray(100); P=gpuArray(rand(3, ...
For loop is running 100x times slower on GPU than on CPU
I realized that I need to write more parallelizable code. tic; d=gpuArray(0); n=gpuArray(100); P=gpuArray(rand(3, ...
5年以上 前 | 1
| 採用済み
質問
For loop is running 100x times slower on GPU than on CPU
So I'm in the process of shifting some code over from CPU to GPU, and I ran into a weird issue where a loop on the GPU was runni...
5年以上 前 | 1 件の回答 | 0
1
回答質問
How can I adapt arrayfun() to operate on vectors rather than scalars?
I have a 45-variable function for which I'm trying to speed up computation of the finite-differencing based gradient, as functio...
5年以上 前 | 1 件の回答 | 0
1
回答質問
How can I use the GPU to parallelize computation of average pairwise distances?
I have a=rand(1, 1000) and b=rand(1, 1000), and I want to compute the average pairwise Euclidean distance between every point in...
6年弱 前 | 2 件の回答 | 0
2
回答質問
Is there a one-line way of vectorizing a matrix across rows?
Let's say I have A = [1 2 3; 4 5 6; 7 8 9] and I want a vector that is v = [1 2 3 4 5 6 7 8 9]. I can't figure out how to do thi...
6年弱 前 | 1 件の回答 | 0
1
回答質問
Why is VideoWriter only writing the first frame to a file?
I was trying to write some plots at 1 frame/second to a file, but VideoWriter is only writing the first frame. I constructed a s...
6年弱 前 | 2 件の回答 | 0