Home | Develop | Download | Contact
FuncKernel.hpp
1 /*
2  * FuncKernel.hpp
3  *
4  * Copyright 2018 Fernando Pujaico Rivera <fernando.pujaico.rivera@gmail.com>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19  * MA 02110-1301, USA.
20  *
21  */
22 
30 #ifndef __PDS_FUNCKERNEL_HPP__
31 #define __PDS_FUNCKERNEL_HPP__
32 
33 
34 #include <Pds/Ra>
35 
45 namespace Pds{
46 
51 namespace Kernel{
52 
53 
77  Pds::Matrix Polynomial(const Pds::Matrix &X, unsigned int M);
78 
110  Pds::Matrix Gaussian(const Pds::Matrix &X, const Pds::Matrix &G, double Sigma=1.0);
111 
184  Pds::Matrix FourierSeries(const Pds::Matrix &X, const Pds::Vector &L, unsigned int K);
185 
190 } // namespace Kernel
191 
192 } // namespace Pds
193 
194 
199 #endif /* __PDS_FUNCKERNEL_HPP__ */
Pds::Matrix Polynomial(const Pds::Matrix &X, unsigned int M)
Crea una nueva matriz de "features" kernelizando de forma polinomial.
Pds::Matrix FourierSeries(const Pds::Matrix &X, const Pds::Vector &L, unsigned int K)
Crea una nueva matriz de "features" kernelizando cada muestra en usando la serie de fourier.
Pds::Matrix Gaussian(const Pds::Matrix &X, const Pds::Matrix &G, double Sigma=1.0)
Crea una nueva matriz de "features" kernelizando de forma gaussiana.
Nombre de espacion para PDS (Procesamiento Digital de Senales)

Enlaces de interés

HomePage Bazaar Download Bug report Ayuda Developer Feed