-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
42 lines (31 loc) · 836 Bytes
/
main.py
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
from k_nearest import run_k_nearest_neighbors
from id3 import run_id3
from naive_bayes import run_naive_bayes
from random_forest import run_random_forest
from svm import run_svm
from perceptron import run_perceptron
# ALL the experiments!
print('PERCEPTRON')
print('-------------------------------------------')
run_perceptron()
print()
print('SVM')
print('-------------------------------------------')
run_svm()
print()
print('K-NEAREST NEIGHBORS')
print('-------------------------------------------')
run_k_nearest_neighbors()
print()
print('NAIVE BAYES')
print('-------------------------------------------')
run_naive_bayes()
print()
print('RANDOM FOREST')
print('-------------------------------------------')
run_random_forest()
print()
print('ID3')
print('-------------------------------------------')
run_id3()
print()