-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
29 lines (22 loc) · 884 Bytes
/
Copy pathmain.cpp
File metadata and controls
29 lines (22 loc) · 884 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
#include <iostream>
#include "Experiment.h"
#include "Updater.h"
#include "ES.h"
#include "DE.h"
#include <vector>
using namespace std;
int main() {
// vector for updater method.
// originally planned to set up all tests to run at once, but it didn't
// pan out. Ran them individually.
vector <Updater*> u;
// create an updater subclass object to run the test
//ES es(7, 50000, 0.001, 6, 10, 5, 2, "sigmoid", "sigmoid");
DE de(2.0,0.2,100,100000,.0001,7,16,3,9,"sigmoid","sigmoid");
// push the updater onto the somewhat ancillary updater vector
u.push_back(&de);
// create the experiment object that will generate the test runs and auto perform
// 5x2 cross validation
Experiment e(u, {"C:\\Users\\Austo89\\Documents\\Homework\\Fall 2015\\Soft Computing\\project3\\datasets norm\\ecoli_n.csv"}, 100, 7);
e.runExperiment();
}