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

Compute the MNN correction. More...

#include <algorithm>
#include <vector>
#include <numeric>
#include <stdexcept>
#include <cstdint>
#include "knncolle/knncolle.hpp"
#include "AutomaticOrder.hpp"
#include "CustomOrder.hpp"
#include "Options.hpp"
#include "restore_order.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 Dim_ , typename Index_ , typename Float_ >
Details mnncorrect::compute (size_t num_dim, const std::vector< size_t > &num_obs, const std::vector< const Float_ * > &batches, Float_ *output, const Options< Dim_, Index_, Float_ > &options)
 
template<typename Dim_ , typename Index_ , typename Float_ >
Details mnncorrect::compute (size_t num_dim, const std::vector< size_t > &num_obs, const Float_ *input, Float_ *output, const Options< Dim_, Index_, Float_ > &options)
 
template<typename Dim_ , typename Index_ , typename Float_ , typename Batch_ >
Details mnncorrect::compute (size_t num_dim, size_t num_obs, const Float_ *input, const Batch_ *batch, Float_ *output, const Options< Dim_, Index_, Float_ > &options)
 

Detailed Description

Compute the MNN correction.