| 12 | */ |
| 13 | struct SvmParam { |
| 14 | SvmParam() { |
| 15 | svm_type = C_SVC; |
| 16 | kernel_type = RBF; |
| 17 | C = 1; |
| 18 | gamma = 0; |
| 19 | p = 0.1f; |
| 20 | epsilon = 0.001f; |
| 21 | nu = 0.5; |
| 22 | probability = false; |
| 23 | nr_weight = 0; |
| 24 | degree = 3; |
| 25 | coef0 = 0; |
| 26 | max_mem_size = static_cast<size_t>(8192) << 20; |
| 27 | } |
| 28 | |
| 29 | /// SVM type |
| 30 | enum SVM_TYPE { |
nothing calls this directly
no outgoing calls
no test coverage detected