Rosetta Utilities  2014.35
Public Member Functions | Private Attributes | List of all members
utility::libsvm::Svm_rosetta Class Reference

#include <Svm_rosetta.hh>

Public Member Functions

 Svm_rosetta (string model_filename)
 ~Svm_rosetta ()
platform::Size get_nr_class ()
vector1< platform::Realpredict_probability (vector1< Svm_node_rosettaOP > features)
platform::Real predict (const vector1< Svm_node_rosettaOP > features)
- Public Member Functions inherited from utility::pointer::ReferenceCount
void ctor ()
virtual ~ReferenceCount ()
 Destructor. More...
Size ref_count () const
 Reference count. More...

Private Attributes


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

utility::libsvm::Svm_rosetta::Svm_rosetta ( string  model_filename)

References svm_load_model(), and svm_model_.

utility::libsvm::Svm_rosetta::~Svm_rosetta ( )

Member Function Documentation

platform::Size utility::libsvm::Svm_rosetta::get_nr_class ( )

References svm_get_nr_class(), and svm_model_.

platform::Real utility::libsvm::Svm_rosetta::predict ( const vector1< Svm_node_rosettaOP features)
vector1< platform::Real > utility::libsvm::Svm_rosetta::predict_probability ( vector1< Svm_node_rosettaOP features)

Member Data Documentation

svm_model* utility::libsvm::Svm_rosetta::svm_model_

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