source: proiecte/Parallel-DT/R8/Src/extern.i @ 74

Last change on this file since 74 was 74, checked in by (none), 14 years ago
File size: 1.8 KB
Line 
1/*************************************************************************/
2/*                                                                       */
3/*              Global data for C4.5                                     */
4/*              --------------------                                     */
5/*                                                                       */
6/*************************************************************************/
7
8#define MAX_DISCR_VAL           50
9#define MAX_CLASS                       50
10#define MAX_ATT                         50
11
12
13extern  short           MaxAtt,         /* max att number */
14                        MaxClass,       /* max class number */
15                        MaxDiscrVal;    /* max discrete values for any att */
16
17extern  ItemNo          MaxItem;        /* max data item number */
18
19extern  Description     *Item;          /* data items */
20
21extern  DiscrValue      *MaxAttVal;     /* number of values for each att */
22
23extern  char            *SpecialStatus; /* special att treatment */
24
25extern  String          *ClassName,     /* class names */
26                        *AttName,       /* att names */
27                        **AttValName,   /* att value names */
28                        FileName;       /* family name of files */
29
30extern  Boolean         AllKnown;       /* true if there have been no splits
31                                           on atts with missing values above
32                                           the current position in the tree */
33
34
35/*************************************************************************/
36/*                                                                       */
37/*              Global parameters for C4.5                               */
38/*              --------------------------                               */
39/*                                                                       */
40/*************************************************************************/
41
42
43extern  short           VERBOSITY,      /* verbosity level (0 = none) */
44                        TRIALS;         /* number of trees to be grown */
45
46extern  Boolean         GAINRATIO,      /* true=gain ratio, false=gain */
47                        SUBSET,         /* true if subset tests allowed */
48                        BATCH,          /* true if windowing turned off */
49                        UNSEENS,        /* true if to evaluate on test data */
50                        PROBTHRESH;     /* true if to use soft thresholds */
51
52extern  ItemNo          MINOBJS,        /* minimum items each side of a cut */
53                        WINDOW,         /* initial window size */
54                        INCREMENT;      /* max window increment each iteration */
55
56extern  float           CF;             /* confidence limit for tree pruning */
Note: See TracBrowser for help on using the repository browser.