extern.h
来自「实现决策树分类训练试验。 源自c4.5」· C头文件 代码 · 共 53 行
H
53 行
/*************************************************************************/
/* */
/* Global data for C4.5 */
/* -------------------- */
/* */
/*************************************************************************/
extern short MaxAtt, /* max att number */
MaxClass, /* max class number */
MaxDiscrVal; /* max discrete values for any att */
extern ItemNo MaxItem; /* max data item number */
extern Description *Item; /* data items */
extern DiscrValue *MaxAttVal; /* number of values for each att */
extern char * SpecialStatus ,/* special att treatment */
FileName[100] ; /* family name of files */
extern String * ClassName, /* class names */
* AttName, /* att names */
** AttValName; /* att value names */
extern Boolean AllKnown; /* true if there have been no splits
on atts with missing values above
the current position in the tree */
/*************************************************************************/
/* */
/* Global parameters for C4.5 */
/* -------------------------- */
/* */
/*************************************************************************/
extern short VERBOSITY, /* verbosity level (0 = none) */
TRIALS; /* number of trees to be grown */
extern BOOL GAINRATIO, /* true=gain ratio, false=gain */
SUBSET, /* true if subset tests allowed */
BATCH, /* true if windowing turned off */
UNSEENS, /* true if to evaluate on test data */
PROBTHRESH; /* true if to use soft thresholds */
extern ItemNo MINOBJS, /* minimum items each side of a cut */
WINDOW, /* initial window size */
INCREMENT; /* max window increment each iteration */
extern float CF; /* confidence limit for tree pruning */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?