22 lines
587 B
C++
22 lines
587 B
C++
// #pragma once
|
|
// #ifndef __OneSVM_H__
|
|
// #define __OneSVM_H__
|
|
|
|
// #include <dlib/svm.h>
|
|
// #include <dlib/array2d.h>
|
|
// #include <vector>
|
|
// #include <tuple>
|
|
// namespace OneSVM
|
|
// {
|
|
// using std::vector;
|
|
// using std::tuple;
|
|
// using namespace dlib;
|
|
// using sample_type = matrix<double, 0, 1>;
|
|
// using kernel_type = radial_basis_kernel<sample_type>;
|
|
// using TrainResult = decision_function<kernel_type>;
|
|
// using SamplesType = vector<sample_type>;
|
|
// TrainResult decision_function_get(SamplesType samples);
|
|
|
|
|
|
// }//namespace OneSVM
|
|
// #endif
|