Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tobeyey
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
tobeyey
3y ago
Replacing the NCD distances = [(compute_ncd(x1, x), label) for x, _, label in compressed_lengths] with the Euclidean distance distances = [(np.sqrt(np.sum(np.square(x1-x))), label) for x, _, label in compressed_lengths] gives