MLC++
MLC++ is available in the /u/u61/cse/MLC++/
directory system on the CS
machines. Before starting on this assignment,
please read the MLC++ manual to see how to use this system. The
manual is available in the MLC++ web page under documentation. You will first need to make some changes
to your shell startup file. In particular, you will need to add
the following directories to your search path:
/u/u61/cse/MLC++/graphviz/bin
/u/u61/cse/MLC++/mlc
You will also need to set the environment variable MLCDIR
to /u/u61/cse/MLC++.
To start playing with MLC++, look in the directory /u/u61/cse/MLC++/mlc. It
contains two sample test files from the manual - called tester1 and tester2. Do not work in these directories but copy these
files over to your home directory and execute them from there. For example,
running tester1 will cause the following output on
your screen and also provide a visualization of the tree induced by ID3.
> tester1
Classifying (% done): 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% done.
Number of training instances: 100
Number of test instances: 50. Unseen: 50, seen 0.
Number correct: 47. Number incorrect: 3
Generalization error: 6.000%. Memorization error: unknown
Error: 6.000% +- 3.393% [2.061% - 16.217%]
Average Normalized Mean Squared Error: 6.000%
Average Normalized Mean Absolute Error: 6.000%
Displaying confusion matrix...
(a) (b) (c) <-- classified as
-------- -------- --------
15.00 0.00 0.00 (a): class Iris-setosa
0.00 15.00 2.00 (b): class Iris-versicolor
0.00 1.00 17.00 (c): class Iris-virginica
tester2 does similar things.