All Questions
4
questions
4
votes
3
answers
411
views
Pairwise Euclidean distance search algorithm
x and y are two-dimensional arrays with dimensions (AxN) and (BxN), i.e. they have the same number of columns.
I need to get a matrix of Euclidean distances between each pair of rows from x and y.
I ...
3
votes
1
answer
820
views
Using Numba works slower than not using it for my Python code
I thought this community is better place to ask my question so I ask here rather than at StackOverflow.
Recently, I learned that Numba can make Python function ...
5
votes
1
answer
2k
views
process data with numpy seems rather slow than pure python?
In my opinion, Vectorization operation with numpy should be much faster than use for in pure python. I write two function to get and process data in a csv file, one in numpy and another in pure python,...
2
votes
3
answers
130
views
Speed up weighted average for Leela Chess Zero
Problem: Given a vector of about 40 values m with normal error sd compute the weighted average of the values weighted by the ...