-
trainMLP.py Execution - python trainMLP.py train_data.csv
-
executeMLP.py Execution - python executeMLP.py test_data.csv weighfile
weightfile for executeMLP.py are
- weights0.csv
- weights10.csv
- weights100.csv
- weights1000.csv
- weights10000.csv
Number in the file name represent the number of epochs
-
trainDT.py Execution - python trainDT.py train_data.csv
-
executeDT.py Execution - python executeDT.py treefile
treefile for executeDT.py are
- tree1.p
- tree10.p
- tree100.p
- tree1000.p
-
trainMLP.py create a graph of SSE vs number of epochs It also creates .csv files containing weights of the MLP after certain iteration. It creates .p pickle files for some object. Please ignore those files
-
executeMLP.py prints correct and incorrect classification, recognition rate, confusion matrix and final profit in the standard output. It creates an image displaying the classification regions using given weightfile
-
trainDT.py produces a graph of SSE vs number of trees in the forest. It creates .p files mentioned above containing trees in the forest
-
executeDT.py prints correct and incorrect classification, recognition rate, confusion matrix and final profit in the standard output. It creates an image displaying the classification regions using given treefile