mnncorrect
Batch correction with mutual nearest neighbors
Loading...
Searching...
No Matches
compute.hpp File Reference

Compute the MNN correction. More...

#include <algorithm>
#include <vector>
#include <numeric>
#include <stdexcept>
#include <cstddef>
#include "knncolle/knncolle.hpp"
#include "AutomaticOrder.hpp"
#include "CustomOrder.hpp"
#include "Options.hpp"
#include "restore_order.hpp"
#include "utils.hpp"
Include dependency graph for compute.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mnncorrect::Details
 Correction details from compute(). More...
 

Namespaces

namespace  mnncorrect
 Batch correction with mutual nearest neighbors.
 

Functions

template<typename Index_ , typename Float_ , class Matrix_ >
Details mnncorrect::compute (std::size_t num_dim, const std::vector< Index_ > &num_obs, const std::vector< const Float_ * > &batches, Float_ *output, const Options< Index_, Float_, Matrix_ > &options)
 
template<typename Index_ , typename Float_ , class Matrix_ >
Details mnncorrect::compute (std::size_t num_dim, const std::vector< Index_ > &num_obs, const Float_ *input, Float_ *output, const Options< Index_, Float_, Matrix_ > &options)
 
template<typename Index_ , typename Float_ , typename Batch_ , class Matrix_ >
Details mnncorrect::compute (std::size_t num_dim, Index_ num_obs, const Float_ *input, const Batch_ *batch, Float_ *output, const Options< Index_, Float_, Matrix_ > &options)
 

Detailed Description

Compute the MNN correction.