Rev | Line | |
---|
[26] | 1 | /*************************************************************************/ |
---|
| 2 | /* */ |
---|
| 3 | /* Global data for C4.5 used for building decision trees */ |
---|
| 4 | /* ----------------------------------------------------- */ |
---|
| 5 | /* */ |
---|
| 6 | /*************************************************************************/ |
---|
| 7 | |
---|
| 8 | #include "defns.i" |
---|
| 9 | #include "types.i" |
---|
| 10 | #include "extern.i" |
---|
| 11 | |
---|
| 12 | extern ItemCount |
---|
| 13 | *Weight, /* Weight[i] = current fraction of item i */ |
---|
| 14 | **Freq, /* Freq[x][c] = no. items of class c with outcome x */ |
---|
| 15 | *ValFreq; /* ValFreq[x] = no. items with att value v */ |
---|
| 16 | |
---|
| 17 | extern float |
---|
| 18 | *Gain, /* Gain[a] = info gain by split on att a */ |
---|
| 19 | *Info, /* Info[a] = potential info from split on att a */ |
---|
| 20 | *Bar, /* Bar[a] = best threshold for contin att a */ |
---|
| 21 | *UnknownRate; /* UnknownRate[a] = current unknown rate for att a */ |
---|
| 22 | |
---|
| 23 | extern char |
---|
| 24 | *Tested; /* Tested[a] = true if att a already tested */ |
---|
Note: See
TracBrowser
for help on using the repository browser.