|
pulsatrix 1.1.0
|
Settings for the neighbor searches. More...
#include <nearest_neighbors.hpp>
Public Attributes | |
| int64_t | k = 10 |
| How many neighbors to find for each query. | |
| NeighborMetric | metric = NeighborMetric::Cosine |
| bool | center = false |
| Subtract the points' mean from every vector first. Activations often share a large common component, which makes every pair's cosine similarity high; centering removes it. It doesn't change Euclidean distances. | |
Settings for the neighbor searches.
| bool pulsatrix::NeighborOptions::center = false |
Subtract the points' mean from every vector first. Activations often share a large common component, which makes every pair's cosine similarity high; centering removes it. It doesn't change Euclidean distances.
| int64_t pulsatrix::NeighborOptions::k = 10 |
How many neighbors to find for each query.
| NeighborMetric pulsatrix::NeighborOptions::metric = NeighborMetric::Cosine |