[26] | 1 | ******************************************************************************** |
---|
| 2 | * * |
---|
| 3 | * Copyright J.R. Quinlan, 1987, 1988, 1989, 1990, 1991, 1992. This software * |
---|
| 4 | * may not be distributed in any form without permission of the copyright * |
---|
| 5 | * holder. * |
---|
| 6 | * * |
---|
| 7 | ******************************************************************************** |
---|
| 8 | |
---|
| 9 | |
---|
| 10 | PLEASE READ THE FILE CALLED "LEGAL". ALSO, NOTE THAT C4.5 IS NOT SUPPORTED. |
---|
| 11 | |
---|
| 12 | |
---|
| 13 | The C4.5 induction system |
---|
| 14 | ------------------------- |
---|
| 15 | |
---|
| 16 | The C4.5 system consists of four principal programs: |
---|
| 17 | |
---|
| 18 | 1) the decision tree generator ('c4.5'), |
---|
| 19 | 2) the production rule generator ('c4.5rules'), |
---|
| 20 | 3) the decision tree interpreter ('consult'), and |
---|
| 21 | 4) the production rule interpreter ('consultr'). |
---|
| 22 | |
---|
| 23 | This release also contains stuff that may be helpful in running experiments: |
---|
| 24 | |
---|
| 25 | 5) a csh shell script for cross-validation ('xval.sh'), and |
---|
| 26 | 6) two ancillary programs ('xval-prep' and 'average'). |
---|
| 27 | |
---|
| 28 | There is a Unix-style (brief) manual entry for the main programs and for |
---|
| 29 | their verbose output mode. A better guide to using the system is provided in |
---|
| 30 | my book, 'C4.5: Programs for Machine Learning', Morgan Kaufmann 1992. |
---|
| 31 | |
---|
| 32 | [Note: changes since the book was published are recorded in the file |
---|
| 33 | Modifications in the Src directory.] |
---|
| 34 | |
---|
| 35 | Installation |
---|
| 36 | ------------ |
---|
| 37 | |
---|
| 38 | The system has been targeted to Berkeley BSD4.3. Some other environments |
---|
| 39 | (e.g. SystemV) may require the use of additional libraries etc; if you |
---|
| 40 | have any trouble compiling the system, look at the comments in the Makefile. |
---|
| 41 | In particular, if you are running in an environment other than Berkeley BSD4.3 |
---|
| 42 | you may need to search additional libraries, e.g. for the random number |
---|
| 43 | generator 'random'. This requires the addition of loader instructions of the |
---|
| 44 | form -l* after '-lm'; you might try '-lbsd'; if this doesn't work, consult |
---|
| 45 | your local Unix guru. |
---|
| 46 | |
---|
| 47 | To create the executable binary files, go into the 'Src' directory by typing: |
---|
| 48 | |
---|
| 49 | cd Src |
---|
| 50 | |
---|
| 51 | and type: |
---|
| 52 | |
---|
| 53 | make all |
---|
| 54 | |
---|
| 55 | This will create the binary files 'c4.5', 'c4.5rules', 'consult', 'consultr', |
---|
| 56 | 'xval-prep' and 'average'. These, together with the shell script, can be |
---|
| 57 | moved into your installation's directory for local software, e.g. |
---|
| 58 | '/usr/local/bin' by typing: |
---|
| 59 | |
---|
| 60 | mv c4.5 c4.5rules consult consultr xval-prep average xval.sh /usr/local/bin |
---|
| 61 | |
---|
| 62 | The object files created during compilation may be removed to save space by |
---|
| 63 | typing: |
---|
| 64 | |
---|
| 65 | rm *.o |
---|
| 66 | |
---|
| 67 | In the 'Doc' directory, there is a manual entry file for each of the programs, |
---|
| 68 | as well as the files 'verbose.1' and 'verbrules.1' which explain the verbose |
---|
| 69 | output produced by 'c4.5' and 'c4.5rules' respectively. These can be installed |
---|
| 70 | in your local manual by moving them to your installation's manual directory for |
---|
| 71 | volume 1, usually '/usr/man/man1' by typing, for instance: |
---|
| 72 | |
---|
| 73 | cd ../Doc |
---|
| 74 | mv *.1 /usr/man/man1 |
---|
| 75 | |
---|
| 76 | (You may need superuser privileges to put files in this directory.) |
---|
| 77 | |
---|
| 78 | Examples |
---|
| 79 | -------- |
---|
| 80 | |
---|
| 81 | The directory 'Data' contains some sample datasets. Many interesting data |
---|
| 82 | collections are maintained by the University of California, Irvine, in a |
---|
| 83 | data repository. For more information on how to access files from this |
---|
| 84 | repository, send email to |
---|
| 85 | |
---|
| 86 | ml-repository@ics.uci.edu |
---|