| | 26 | ~/MultiBoost$ cat > test_multiboost.sh << EOF |
| | 27 | #!/bin/bash |
| | 28 | ./multiboost -traintest vehicle/vehicle_cut.trn vehicle/vehicle_cut.tst 1000 |
| | 29 | ./multiboost -test vehicle/vehicle_cut.tst shyp.xml |
| | 30 | ./multiboost -traintest satimage/sat.trn satimage/sat.tst 1000 |
| | 31 | ./multiboost -test satimage/sat.tst shyp.xml |
| | 32 | EOF |
| | 33 | ~/MultiBoost$ chmod a+x test_multiboost.sh |
| | 34 | ~/MultiBoost$ ./test_multiboost.sh |
| | 35 | Loading file vehicle/vehicle_cut.trn...Done! |
| | 36 | Sorting data...Done! |
| | 37 | Loading file vehicle/vehicle_cut.tst...Done! |
| | 38 | Learning in progress... |
| | 39 | Learning completed. |
| | 40 | Loading file vehicle/vehicle_cut.tst...Done! |
| | 41 | Loading strong hypothesis...Classifying...Done! |
| | 42 | |
| | 43 | Error Summary |
| | 44 | ============= |
| | 45 | Class 'saab': 27.27% |
| | 46 | Class 'bus': 4.255% |
| | 47 | Class 'van': 6.522% |
| | 48 | Class 'opel': 45.45% |
| | 49 | |
| | 50 | --> Overall Error: 20% |
| | 51 | Loading file satimage/sat.trn...Done! |
| | 52 | Sorting data...Done! |
| | 53 | Loading file satimage/sat.tst...Done! |
| | 54 | Learning in progress... |
| | 55 | Learning completed. |
| | 56 | Loading file satimage/sat.tst...Done! |
| | 57 | Loading strong hypothesis...Classifying...Done! |
| | 58 | |
| | 59 | Error Summary |
| | 60 | ============= |
| | 61 | Class '3': 7.809% |
| | 62 | Class '4': 39.81% |
| | 63 | Class '5': 14.77% |
| | 64 | Class '7': 15.32% |
| | 65 | Class '2': 3.571% |
| | 66 | Class '1': 2.603% |
| | 67 | |
| | 68 | --> Overall Error: 12.1% |