libqe-stats 0.1.3-dev.9005
QE C++ library
Loading...
Searching...
No Matches
metrics.hpp File Reference
#include <algorithm>
#include <cmath>
#include <stdexcept>
#include <string>

Go to the source code of this file.

Classes

struct  qestats::ConfusionMatrix
 
struct  qestats::Metrics
 
struct  qestats::MetricRange
 
struct  qestats::Interval
 
struct  qestats::MetricRangeRow
 

Namespaces

namespace  qestats
 

Macros

#define QESTATS_R_ARITHMETIC
 
#define QESTATS_R_ARITHMETIC_FN
 

Functions

QESTATS_R_ARITHMETIC_FN double qestats::kappa_from_counts (double tp, double fp, double fn, double tn)
 
Metrics qestats::metrics_from_cm (const ConfusionMatrix &cm)
 
Metrics qestats::calculate_metrics (double tp, double fp, double fn, double tn)
 
double qestats::get_metric (const Metrics &m, const std::string &name)
 

Macro Definition Documentation

◆ QESTATS_R_ARITHMETIC

#define QESTATS_R_ARITHMETIC

◆ QESTATS_R_ARITHMETIC_FN

#define QESTATS_R_ARITHMETIC_FN