Home | Develop | Download | Contact
FuncDataSet.hpp
1 /*
2  * FuncDataSet.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_FUNCDATASET_HPP__
31 #define __PDS_FUNCDATASET_HPP__
32 
33 #include <Pds/Ra>
34 #include <Pds/DataSetBlock>
35 #include <Pds/DataSetIndices>
36 
46 namespace Pds{
47 
52 namespace DataSet{
53 
54 
55 
56 
74  Pds::DataSetIndices AllIndices(unsigned int N, double Training, double CrossVal,double Test);
75 
76 
100  Pds::DataSetBlock Split(const Pds::Matrix &X,const Pds::Vector &Y, double Training, double CrossVal,double Test);
101 
115  Pds::DataSetBlock SplitAndScaling( const Pds::Matrix &X,
116  const Pds::Vector &Y,
117  double Training,
118  double CrossVal,
119  double Test,
120  Pds::Vector &Std,
121  Pds::Vector &Mean);
122 
130  double Volume(const Pds::Matrix &X);
131 
139  double VolumeInValidDims(const Pds::Matrix &X);
140 
149  double InterDistance(const Pds::Matrix &X);
150 
177  bool GetBestIGThreshold(const Pds::Vector &V,
178  const Pds::Vector &Y,
179  double YUmbral,
180  unsigned int MinID,
181  double &ValUmbral,
182  double &BestIG,
183  unsigned int &Sign);
184 
189 } // namespace DataSet
190 
191 } // namespace Pds
192 
193 
198 #endif /* __PDS_FUNCDATASET_HPP__ */
La clase tipo Pds::DataSetBlock . Esta clase genera un bloque de datos para analizar curvas de aprend...
La clase tipo Pds::DataSetIndices . Esta clase genera un bloque de datos con indices de un paquete de...
Pds::DataSetBlock SplitAndScaling(const Pds::Matrix &X, const Pds::Vector &Y, double Training, double CrossVal, double Test, Pds::Vector &Std, Pds::Vector &Mean)
Divide un data set en 3 data set: {Training, CrossValidation, Test}, selecionados aleatoriamente sin ...
bool GetBestIGThreshold(const Pds::Vector &V, const Pds::Vector &Y, double YUmbral, unsigned int MinID, double &ValUmbral, double &BestIG, unsigned int &Sign)
Retorna el mejor quiebre del vector V para obtener la mayor Information Gain ( ).
Pds::DataSetBlock Split(const Pds::Matrix &X, const Pds::Vector &Y, double Training, double CrossVal, double Test)
Divide un data set en 3 data set: {Training, CrossValidation, Test}, selecionados aleatoriamente sin ...
double InterDistance(const Pds::Matrix &X)
Calcula la interdistancia entre las muestras de , donde cada muestra de tiene dimensión .
Pds::DataSetIndices AllIndices(unsigned int N, double Training, double CrossVal, double Test)
Calcula indices para {Training, CrossValidation, Test}, selecionados aleatoriamente sin repetición.
double Volume(const Pds::Matrix &X)
Calcula el volumen del dataset.
double VolumeInValidDims(const Pds::Matrix &X)
Calcula el volumen del dataset en dimenciones com min diferente de max.
Nombre de espacio para Pds (Procesamiento Digital de Senales)

Enlaces de interés

HomePage Bazaar Download Bug report Ayuda Developer Feed