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

📄 naivebayes.h

📁 基于稀疏网络的精选机器学习模型
💻 H
字号:
// -*-c++-*-//===========================================================//=     University of Illinois at Urbana-Champaign          =//=     Department of Computer Science                      =//=     Dr. Dan Roth - Cognitive Computation Group          =//=                                                         =//=  Project: SNoW                                          =//=                                                         =//=   Module: NaiveBayes.h                                  =//=  Version: 3.2.0                                         =//=  Authors: Jeff Rosen, Andrew Carlson, Nick Rizzolo      =//=     Date: xx/xx/99                                      = //=                                                         =//= Comments:                                               =//===========================================================#ifndef NAIVEBAYES_H__#define NAIVEBAYES_H__#include "LearningAlgorithm.h"class GlobalParams;class NaiveBayes : public LearningAlgorithm{  public:  //NaiveBayes() : LearningAlgorithm() { }    NaiveBayes( GlobalParams & gp_ ) :       LearningAlgorithm(), globalParams(gp_) { }    bool PresentExample( Target& tar, Example& ex );    void TrainingComplete( Target& tar );    //void PrepareToRank();    void SetTargetActivation( Target& tar, Example& ex );    double ReturnNormalizedActivation( Target& tar );    void Show( ostream* out );    void Read( ifstream& in );    void Write( ofstream& out );  private:    GlobalParams & globalParams;};/*inline void NaiveBayes::PrepareToRank(){  //threshold = 0.0;} */#endif

⌨️ 快捷键说明

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