extern.i
来自「c4.5的源码决策树最全面最经典的版本」· I 代码 · 共 53 行
I
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 */extern String *ClassName, /* class names */ *AttName, /* att names */ **AttValName, /* att value names */ FileName; /* family name of files */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 Boolean 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 + -
显示快捷键?