buildex.h

来自「计算机人工智能方面的决策树方法 c4.5」· C头文件 代码 · 共 30 行

H
30
字号
#ifndef _NEWSTAR_BUILDEX_H_1999_12_23_11_24_34_OLDMOON_
#define _NEWSTAR_BUILDEX_H_1999_12_23_11_24_34_OLDMOON_

/*************************************************************************/
/*                                                                       */
/*        Global data for C4.5 used for building decision trees          */
/*        -----------------------------------------------------          */
/*                                                                       */
/*************************************************************************/

#include "defns.h"
#include "c45types.h"
#include "extern.h"


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 double
	*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 */

#endif

⌨️ 快捷键说明

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