entropia.h

来自「source codes for ltr」· C头文件 代码 · 共 34 行

H
34
字号
/*********************************************************************//*        LINEAR TREE for Supervised Learning                        *//*        Versao 1.0 (10/12/1997)                                    *//*        Developed by: Joao Gama                                    *//*                LIACC - Uni.do Porto                               *//*                jgama@ncc.up.pt                                    *//*-------------------------------------------------------------------*//*   FILE:entropia.h                                                 */  /*********************************************************************/#ifndef _ENTROPYHEADER#define _ENTROPYHEADERtypedef struct {  int attribute;  double cut_point;  double gain;  double info;} EntAtt;#define ENT_ATT(Ent)   (Ent->attribute)#define ENT_SPLIT(Ent) (Ent->cut_point)#define ENT_GAIN(Ent)  (Ent->gain)#define ENT_INFO(Ent)  (Ent->info)EntAtt *entropia(CiDs *ds, double ***STATIS, double *class_freq, int nr_att, long int Low, long int High, double *mean);#endif

⌨️ 快捷键说明

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