Debian Codegraph @

dwtools/ClassificationTable.h

raw
1 #ifndef _ClassificationTable_h_
2 #define _ClassificationTable_h_
3 /* ClassificationTable.h
4 *
5 * Copyright (C) 1993-2020 David Weenink
6 *
7 * This code is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or (at
10 * your option) any later version.
11 *
12 * This code is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this work. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21 #include "TableOfReal.h"
22 #include "SSCP.h"
23 #include "Correlation.h"
24 #include "Confusion.h"
25
26 #include "Strings_.h"
27
28
29 Thing_define (ClassificationTable, TableOfReal) {
30 };
31
32 autoClassificationTable ClassificationTable_create (integer numberOfRows, integer numberOfColumns);
33
34 autoCategories ClassificationTable_to_Categories_maximumProbability (ClassificationTable me);
35
36 autoStrings ClassificationTable_to_Strings_maximumProbability (ClassificationTable me);
37
38 autoConfusion ClassificationTable_to_Confusion (ClassificationTable me, bool onlyClassLabels);
39
40 /* Correlations between the classes (columns) */
41 autoCorrelation ClassificationTable_to_Correlation_columns (ClassificationTable me);
42
43 void Confusion_ClassificationTable_increase (Confusion me, ClassificationTable thee);
44
45 #endif /* _ClassificationTable_h_ */
46