1
1
mirror of https://github.com/github/semantic.git synced 2025-01-03 13:02:37 +03:00

🔥 p, q, d.

This commit is contained in:
Rob Rix 2016-08-05 09:01:04 -04:00
parent ed4de9140d
commit 399c13da78

View File

@ -44,7 +44,6 @@ rws compare getLabel as bs
| otherwise = fmap snd . uncurry deleteRemaining . (`runState` (negate 1, fas)) $ traverse findNearestNeighbourTo fbs
where insert = pure . Insert
delete = pure . Delete
(p, q, d) = (2, 2, 15)
fas = zipWith featurize [0..] as
fbs = zipWith featurize [0..] bs
kdas = KdTree.build (Vector.toList . feature) fas