DNetPRO

Functions

std::unique_ptr<score> dnetpro_couples(float **data, const int32_t &Nprobe, const int32_t &Nsample, int32_t *labels, const bool &verbose, float percentage = .1f, int32_t nth = -1)

Core function for the couple evaluation.

Parameters:
  • data – Input matrix of data

  • Nprobe – Number of rows in data (aka number of probes)

  • Nsample – Number of columns in data (aka number of samples)

  • labels – Array of numeric labels

  • verbose – Enable(1)/Disable(0) cout log

  • percentage – Percentage of results to save

  • nth – Number of threads to use in parallel section

Variables

constexpr float epsilon = std::numeric_limits<float>::epsilon()

float minimum

constexpr float inf = std::numeric_limits<float>::infinity()

float infinity