LIBIRWLS
kernels.h
Go to the documentation of this file.
1 /*
2  ============================================================================
3  Author : Roberto Diaz Morales
4  ============================================================================
5 
6  Copyright (c) 2016 Roberto Díaz Morales
7 
8  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files
9  (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge,
10  publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
11  subject to the following conditions:
12 
13  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
14 
15  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
17  FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
18  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19 
20  ============================================================================
21  */
22 
33 #ifndef KERNELS_
34 #define KERNELS_
35 
36 #include "IOStructures.h"
37 
55 double kernelFunction(svm_dataset dataset, int index1, int index2, properties props);
56 
74 double kernelTest(svm_dataset dataset, int index1, model mymodel, int index2);
75 
76 
77 #endif
78 
A dataset.
Definition: IOStructures.h:114
It represents a trained model that has been obtained using PIRWLS or PSIRWLS.
Definition: IOStructures.h:81
double kernelFunction(svm_dataset dataset, int index1, int index2, properties props)
Radial Basis Function of two elements of the dataset.
double kernelTest(svm_dataset dataset, int index1, model mymodel, int index2)
Radial Basis Function of one element of the dataset and Support Vectro of a trained model...
Input and Output structures and procedures.
Training parameters of the IRWLS procedures.
Definition: IOStructures.h:44