#include <vector>
#include <queue>
#include <iterator>
#include <algorithm>
#include <random>
#include <ctime>
#include <cassert>
Go to the source code of this file.
|
| using | otb::sampleAugmentation::SampleType = std::vector< double > |
| |
| using | otb::sampleAugmentation::SampleVectorType = std::vector< SampleType > |
| |
| double | otb::sampleAugmentation::ComputeSquareDistance (const SampleType &x, const SampleType &y) |
| |
| SampleType | otb::sampleAugmentation::EstimateStds (const SampleVectorType &samples) |
| |
| void | otb::sampleAugmentation::FindKNNIndices (const SampleVectorType &inSamples, const vcl_size_t nbNeighbors, NNVectorType &nnVector) |
| |
| void | otb::sampleAugmentation::JitterSamples (const SampleVectorType &inSamples, const vcl_size_t nbSamples, SampleVectorType &newSamples, float stdFactor=10, const int seed=std::time(nullptr)) |
| |
| using | otb::sampleAugmentation::NNIndicesType = std::vector< NeighborType > |
| |
| using | otb::sampleAugmentation::NNVectorType = std::vector< NNIndicesType > |
| |
| void | otb::sampleAugmentation::ReplicateSamples (const SampleVectorType &inSamples, const vcl_size_t nbSamples, SampleVectorType &newSamples) |
| |
| void | otb::sampleAugmentation::Smote (const SampleVectorType &inSamples, const vcl_size_t nbSamples, SampleVectorType &newSamples, const int nbNeighbors, const int seed=std::time(nullptr)) |
| |
| SampleType | otb::sampleAugmentation::SmoteCombine (const SampleType &s1, const SampleType &s2, double position) |
| |