Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
numeric::RocCurve Class Reference

#include <roc_curve.hh>

Inheritance diagram for numeric::RocCurve:
Inheritance graph
[legend]

Public Member Functions

 ~RocCurve () override
 Automatically generated virtual destructor for class deriving directly from VirtualBase. More...
 
 RocCurve ()
 
void insert_point (RocPoint const &roc_point)
 
void insert_point (bool predicted, bool actual, std::string const &tag, platform::Real const &score)
 
void generate_roc_curve ()
 
utility::vector1< std::pair
< platform::Real,
platform::Real > > 
roc_curve ()
 
void print_roc_curve ()
 
platform::Real calculate_auc ()
 
- Public Member Functions inherited from utility::VirtualBase
 VirtualBase ()=default
 Default constructor. More...
 
virtual ~VirtualBase ()=default
 The virtual destructor is one of the main reasons for the VirtualBase class. More...
 
 VirtualBase (VirtualBase const &)=default
 
 VirtualBase (VirtualBase &&)=default
 
VirtualBaseoperator= (VirtualBase const &)=default
 
VirtualBaseoperator= (VirtualBase &&)=default
 

Private Attributes

platform::Size true_positive_count_
 
platform::Size false_positive_count_
 
platform::Size true_negative_count_
 
platform::Size false_negative_count_
 
utility::vector1< RocPointroc_point_vector_
 
utility::vector1< std::pair
< platform::Real,
platform::Real > > 
roc_curve_
 

Constructor & Destructor Documentation

numeric::RocCurve::~RocCurve ( )
overridedefault

Automatically generated virtual destructor for class deriving directly from VirtualBase.

Auto-generated virtual destructor

numeric::RocCurve::RocCurve ( )

Member Function Documentation

platform::Real numeric::RocCurve::calculate_auc ( )

References roc_curve_.

void numeric::RocCurve::generate_roc_curve ( )
void numeric::RocCurve::insert_point ( RocPoint const &  roc_point)
void numeric::RocCurve::insert_point ( bool  predicted,
bool  actual,
std::string const &  tag,
platform::Real const &  score 
)

References insert_point().

void numeric::RocCurve::print_roc_curve ( )
utility::vector1< std::pair< platform::Real, platform::Real > > numeric::RocCurve::roc_curve ( )

References roc_curve_.

Member Data Documentation

platform::Size numeric::RocCurve::false_negative_count_
private

Referenced by generate_roc_curve(), and insert_point().

platform::Size numeric::RocCurve::false_positive_count_
private

Referenced by generate_roc_curve(), and insert_point().

utility::vector1<std::pair<platform::Real, platform::Real> > numeric::RocCurve::roc_curve_
private
utility::vector1<RocPoint> numeric::RocCurve::roc_point_vector_
private

Referenced by generate_roc_curve(), and insert_point().

platform::Size numeric::RocCurve::true_negative_count_
private

Referenced by generate_roc_curve(), and insert_point().

platform::Size numeric::RocCurve::true_positive_count_
private

Referenced by generate_roc_curve(), and insert_point().


The documentation for this class was generated from the following files: