

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


In this homework assignment you will experiment with C4.5, an implemen- tation of ID3 written by Ross Quinlan and available on the Internet.
You will be working with your training examples of spam and non-spam e- mail messages, and the features you extracted from these examples in Home- work 1, as well as with a larger database of feature values from a spam dataset given in the UCI Machine Learning Repository.
For this homework, you need to perform the following steps:
http://www2.cs.uregina.ca/ hamilton/courses/831/notes/ml/dtrees/c4.5/tutorial.html
This version of C4.5 works on Linux systems. If you have any trouble getting it to compile and work, let me know.
For this assignment, you will need only the manual pages for “c4.5” and for “verbose c4.5”. For the format of the input files, see one of the sets of example files given on this web page (e.g., “Golf”).
c4.5 -f spam -u
Put the following information in your writeup:
(b) Now run c4.5 using information gain instead of gain ratio:
c4.5 -f spam -u
and give the same information as above in your writeup.