ThunderSVM
ThunderSVM: An Open-Source SVM Library on GPUs and CPUs
oneclass_svc.h
1 //
2 // Created by jiashuai on 17-10-6.
3 //
4 
5 #ifndef THUNDERSVM_ONECLASS_SVC_H
6 #define THUNDERSVM_ONECLASS_SVC_H
7 
8 #include "svmmodel.h"
9 
13 class OneClassSVC : public SvmModel {
14 public:
15  void train(const DataSet &dataset, SvmParam param) override;
16 
17  vector<float_type> predict(const DataSet::node2d &instances, int batch_size) override;
18 
19 };
20 
21 #endif //THUNDERSVM_ONECLASS_SVC_H
void train(const DataSet &dataset, SvmParam param) override
Definition: oneclass_svc.cpp:9
Dataset reader.
Definition: dataset.h:14
Support Vector Machine for outlier detection (density estimation)
Definition: oneclass_svc.h:13
params for ThunderSVM
Definition: svmparam.h:13
Abstract class for different SVM models.
Definition: svmmodel.h:18
vector< float_type > predict(const DataSet::node2d &instances, int batch_size) override
Definition: oneclass_svc.cpp:53