statlib.h

来自「使用具有增量学习的监控式学习方法。包括几个不同的分类算法。」· C头文件 代码 · 共 59 行

H
59
字号
#ifndef STATLIB_H#define STATLIB_H/** * Plotting mode */enum plotting_mode {    TOTAL,		/**< Percentage over all previous messages */    N_AVERAGE		/**< Percentage over previous N messages */};/** * Classifier mode */enum cls_mode {    RANK,		/**< Ranking classifier */    SCORE		/**< Scoring classifier */};/** * Classifier result */typedef struct {    enum cls_mode cm;	/**< Classifier result type */    int len;		/**< Length of result list */    union {	double *slist;	/**< Score list */	int *rlist;	/**< Ranking list */    } u;} cls_res;/** * Test data */typedef struct {    int bno;		/**< Mailbox number */    int mno;		/**< Mail number */    int nor;		/**< Number of classifier results */    cls_res *res;	/**< Classifier results */} test_data;intstatlib_update_stats (test_data *td);voidstatlib_print_plot_header (void);voidstatlib_print_plot_data (void);voidstatlib_print_results (void);intstatlib_initialize (enum plotting_mode in_plm, int in_rklm, int in_mean,		    int in_plotc, int in_noc, int in_nob);#endif

⌨️ 快捷键说明

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