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

📄 targetrank.cpp

📁 基于稀疏网络的精选机器学习模型
💻 CPP
字号:
// -*-c++-*-//===========================================================//=     University of Illinois at Urbana-Champaign          =//=     Department of Computer Science                      =//=     Dr. Dan Roth - Cognitive Computation Group          =//=                                                         =//=  Project: SNoW                                          =//=                                                         =//=   Module: TargetRank.cpp                                =//=  Version: 3.2.0                                         =//=  Authors: Jeff Rosen, Andrew Carlson, Nick Rizzolo      =//=     Date: xx/xx/98                                      = //=                                                         =//= Comments:                                               =//===========================================================#include "GlobalParams.h"#include "TargetRank.h"TargetRanking TargetRanking::operator=(const TargetRanking & rhs){  if(this != &rhs){    globalParams = rhs.globalParams;    single_target = rhs.single_target;    threshold = rhs.threshold;    //explicit copy of cr contents    TargetRanking::const_iterator it = rhs.begin();    TargetRanking::const_iterator end = rhs.end();        for( ; it != end ; it++ ) {      (*this).push_back(*it);    }  }  return *this;}void TargetRanking::Show() const{  const_iterator it = this->begin();  const_iterator end = this->end();    for (; it != end; ++it)     *globalParams.pResultsOutput << "(" << it->id << ", " << it->activation                                  << ")\n";}

⌨️ 快捷键说明

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