-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
47 lines (35 loc) · 963 Bytes
/
Copy pathmain.cpp
File metadata and controls
47 lines (35 loc) · 963 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#include "Table.hpp"
#include "Classification.hpp"
#include <iomanip>
#include <vector>
#include <iomanip>
#include <assert.h>
using namespace std;
int main(){
Table t;
Classification c;
t.setTableData("Data.csv");
t.print_table();
t.getAverage_column(13);
t.getSampleStdDevOfColumn(5);
t.getNumberOfRows();
t.getNumerOfColumns();
t.getCell(2,4);
t.changeCell(36, 13, 0);
t.methodStdTable();
t.print_std_table();
t.removeRow(5);
t.removeColumn(3);
t.addRow();
t.addColumn();
cout<<t;
c.Classification_Read_CSV("Data.csv", "Learning_Data.csv", "Learning_Data_Labels.csv", "Correct_Data_Labels.csv");
c.printFiles();
c.checkMatches_R_C();
c.Is_Lerngdata_Cols_Match_Data_Cols();
c.Is_Lerng_data_Rows_Match_Lear_Data_Label_Rows();
c.is_K_larger_Learning_Data(177);
c.Euclidean(141);
c.Manhattan(1);
return 0;
}