Home | Develop | Download | Contact
ConfusionMatrix.hpp
1 /*
2  * ConfusionMatrix.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 
28 #ifndef __PDS_CONFUSIONMATRIX_HPP__
29 #define __PDS_CONFUSIONMATRIX_HPP__
30 
42 namespace Pds{
43 
51 {
52 
53 public:
55  Pds::Matrix Data;
56 
58  std::vector<int> Id;
59 
60 public:
61 
77 
78 
80 
81 
86 public:
87 
101  static Pds::ConfusionMatrix Calculate( const Pds::Vector &Ypredict,
102  const Pds::Vector &Yactual);
103 
104 
109 public:
110 
121  void Print(std::string str="");
122 
129 }; // Class ConfusionMatrix
130 
131 } // namespace Pds
132 
137 #endif
138 
La clase tipo Pds::ConfusionMatrix . Esta clase genera un bloque de datos para analizar curvas de apr...
std::vector< int > Id
static Pds::ConfusionMatrix Calculate(const Pds::Vector &Ypredict, const Pds::Vector &Yactual)
Crea un objeto Dat de tipo Pds::ConfusionMatrix.
void Print(std::string str="")
Imprime en pantalla los datos de la estructura tipo Pds::ConfusionMatrix.
ConfusionMatrix(void)
Crea un objeto vazio de tipo Pds::ConfusionMatrix.
Nombre de espacio para Pds (Procesamiento Digital de Senales)

Enlaces de interés

HomePage Bazaar Download Bug report Ayuda Developer Feed