buildex.i

来自「C4.5决策树算法」· I 代码 · 共 26 行

I
26
字号
/*************************************************************************//*									 *//*	  Global data for C4.5 used for building decision trees		 *//*	  -----------------------------------------------------		 *//*									 *//*************************************************************************/#include "defns.i"#include "types.i"#include "extern.i"extern ItemCount	*Weight,	/* Weight[i]  = current fraction of item i */	**Freq,		/* Freq[x][c] = no. items of class c with outcome x */	*ValFreq;	/* ValFreq[x] = no. items with att value v */extern float	*Gain,		/* Gain[a] = info gain by split on att a */	*Info,		/* Info[a] = potential info from split on att a */	*Bar,		/* Bar[a]  = best threshold for contin att a */	*UnknownRate;	/* UnknownRate[a] = current unknown rate for att a */extern char	*Tested;	/* Tested[a] = true if att a already tested */

⌨️ 快捷键说明

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