Rosetta Utilities  2014.35
Public Member Functions | Private Attributes | List of all members
numeric::RocCurve Class Reference

#include <roc_curve.hh>

Public Member Functions

virtual ~RocCurve ()
 Automatically generated virtual destructor for class deriving directly from ReferenceCount. 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::pointer::ReferenceCount
void ctor ()
 
virtual ~ReferenceCount ()
 Destructor. More...
 
Size ref_count () const
 Reference count. More...
 

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_
 

Additional Inherited Members

- Public Types inherited from utility::pointer::ReferenceCount
typedef platform::Size Size
 
typedef platform::Size size_type
 
- Protected Member Functions inherited from utility::pointer::ReferenceCount
 ReferenceCount ()
 Default constructor. More...
 
 ReferenceCount (ReferenceCount const &)
 Copy constructor. More...
 
ReferenceCountoperator= (ReferenceCount const &)
 Copy assignment. More...
 

Constructor & Destructor Documentation

numeric::RocCurve::~RocCurve ( )
virtual

Automatically generated virtual destructor for class deriving directly from ReferenceCount.

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: