mnncorrect
Batch correction with mutual nearest neighbors
|
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"
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) |
Compute the MNN correction.