20 #ifndef GAIA_SVMPREDICT_H 21 #define GAIA_SVMPREDICT_H 25 #include "3rdparty/libsvm/svm.h" 48 const struct svm_model* model,
const Region& region,
52 struct svm_model* loadModel()
const;
54 QStringList _classMapping;
56 QStringList _descriptorNames;
57 QByteArray _modelData;
59 struct svm_model* _model;
65 #endif // GAIA_SVMPREDICT_H A region is a physical location in the point layout which consists in a list of segments.
Definition: region.h:125
This class represents a dataset and all related information.
Definition: dataset.h:91
virtual Point * mapPoint(const Point *p) const
Ownership of resulting point is handed to caller of this function.
Definition: svmpredict.cpp:122
DescriptorLengthType
Either fixed-length or variable-length.
Definition: region.h:46
Main Gaia namespace, which contains all the library functions.
Definition: addfield.cpp:22
The Applier abstract base class.
Definition: applier.h:44
SVMPredict applier class.
Definition: svmpredict.h:33
virtual DataSet * mapDataSet(const DataSet *dataset) const
Provides a default function that maps a whole dataset but which can be overriden in derived classes t...
Definition: svmpredict.cpp:179