⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 minimalfeature.h

📁 基于稀疏网络的精选机器学习模型
💻 H
字号:
// -*-c++-*-//===========================================================//=     University of Illinois at Urbana-Champaign          =//=     Department of Computer Science                      =//=     Dr. Dan Roth - Cognitive Computation Group          =//=                                                         =//=  Project: SNoW                                          =//=                                                         =//=   Module: MinimalFeature.h                              =//=  Version: 3.2.0                                         =//=  Authors: Jeff Rosen, Andrew Carlson, Nick Rizzolo      =//=     Date: xx/xx/99                                      = //=                                                         =//= Comments:                                               =//===========================================================#ifndef MINIMALFEATURE_H__#define MINIMALFEATURE_H__#include "SnowTypes.h"enum Eligibility { eligible, pending, discard };class MinimalFeature{  public:    double  weights[2];    Counter activeCount;    Eligibility eligibility;    int updates;    MinimalFeature(double wgt0 = 0.0, Counter actCnt = 0L,                   Eligibility e = eligible, int u = 0, double wgt1 = 0.0);};inline MinimalFeature::MinimalFeature(double wgt0, Counter actCnt,                                      Eligibility e, int u, double wgt1 )       : activeCount(actCnt), eligibility(e), updates(u){  weights[0] = wgt0;  weights[1] = wgt1;}#endif

⌨️ 快捷键说明

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