rulex.i

来自「数据挖掘中的决策树算法。c4.5,用C语言写的。比较全面。」· I 代码 · 共 31 行

I
31
字号
/*************************************************************************//*									 *//*	Global data for constructing and applying rules			 *//*      -----------------------------------------------			 *//*									 *//*************************************************************************/extern PR	*Rule;		/* production rules */extern RuleNo	NRules,		/* number of production rules */		*RuleIndex;	/* index to production rules */extern short	RuleSpace;	/* space currently allocated for rules */extern RuleSet	*PRSet;		/* set of rulesets */extern ClassNo	DefaultClass;	/* default class associated with ruleset */extern Boolean	SIGTEST,	/* use Fisher's test in rule pruning */		SIMANNEAL;	/* use simulated annealing */extern float	SIGTHRESH,	/* sig level used in rule pruning */		REDUNDANCY,	/* factor governing encoding tradeoff				   between rules and exceptions */		AttTestBits,	/* average bits to encode tested attribute */		*BranchBits;	/* ditto attribute value */extern float	*LogItemNo;	/* LogItemNo[i] = log2(i) */extern double	*LogFact;	/* LogFact[i] = log2(i!) */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?