mnncorrect
Batch correction with mutual nearest neighbors
|
Options for compute()
.
More...
#include <mnncorrect.hpp>
Public Attributes | |
int | num_neighbors = 15 |
int | num_steps = 1 |
std::shared_ptr< knncolle::Builder< Index_, Float_, Float_, Matrix_ > > | builder |
MergePolicy | merge_policy = MergePolicy::RSS |
int | num_threads = 1 |
Index_ | Integer type for the observation indices. |
Float_ | Floating-point type for the input/output data. |
Matrix_ | Class of the input data matrix for the neighbor search. This should satisfy the knncolle::Matrix interface. Alternatively, it may be a knncolle::SimpleMatrix . |
std::shared_ptr<knncolle::Builder<Index_, Float_, Float_, Matrix_> > mnncorrect::Options< Index_, Float_, Matrix_ >::builder |
Algorithm to use for building the nearest-neighbor search indices. If NULL, defaults to an exact search via knncolle::VptreeBuilder
with Euclidean distances.
MergePolicy mnncorrect::Options< Index_, Float_, Matrix_ >::merge_policy = MergePolicy::RSS |
Policy to use to choose the merge order.
int mnncorrect::Options< Index_, Float_, Matrix_ >::num_neighbors = 15 |
Number of neighbors for the various search steps, primarily to identify MNN pairs. This can also be interpreted as the lower bound on the number of observations in each "subpopulation". Larger values increase improve the stability of the correction, at the cost of reduced resolution when matching subpopulations across batches.
int mnncorrect::Options< Index_, Float_, Matrix_ >::num_steps = 1 |
Number of steps for the recursive neighbor search to compute the center of mass. Larger values mitigate the kissing effect but increase the risk of including inappropriately distant subpopulations into the center of mass.
int mnncorrect::Options< Index_, Float_, Matrix_ >::num_threads = 1 |
Number of threads to use. The parallelization scheme is defined by parallelize()
.