Gaia
gaia2::SVMPredict Class Reference

SVMPredict applier class. More...

#include <svmpredict.h>

Inheritance diagram for gaia2::SVMPredict:
gaia2::Applier

Public Member Functions

 SVMPredict (const Transformation &transfo)
 
virtual PointmapPoint (const Point *p) const
 Ownership of resulting point is handed to caller of this function.
 
virtual DataSetmapDataSet (const DataSet *dataset) const
 Provides a default function that maps a whole dataset but which can be overriden in derived classes to provide a more efficient implementation.
 
- Public Member Functions inherited from gaia2::Applier
 Applier (const Transformation &transfo)
 
void checkLayout (const PointLayout &layout) const
 Check that the given layout is the same as the one that was used during the analysis part of this transformation. More...
 
void checkLayout (const DataSet *dataset) const
 Check that the given dataset has the same layout as the one that was used during the analysis part of this transformation. More...
 

Protected Member Functions

PointsvmPredict (const Point *p, Point *result, const struct svm_model *model, const Region &region, DescriptorLengthType classLType, int classIdx, DescriptorLengthType classProbLType, int classProbIdx) const
 
struct svm_model * loadModel () const
 
- Protected Member Functions inherited from gaia2::Applier
void transferHistory (const DataSet *original, DataSet *destination) const
 This method tranfers the transformation history from the original dataset to the one being created, and adds itself at the end of the history.
 
void addPointsNoLayoutCheck (DataSet *dataset, const QVector< Point * > &points) const
 Adds the given points to a DataSet without checking for the layout to be correct. More...
 

Protected Attributes

QStringList _classMapping
 
QString _className
 
QStringList _descriptorNames
 
QByteArray _modelData
 
bool _probability
 
struct svm_model * _model
 
int * _cmap
 
- Protected Attributes inherited from gaia2::Applier
Transformation _transfo
 

Detailed Description

SVMPredict applier class.

Predicts the class of a point using a given SVM model.


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