bfgs.cc
来自「Amis - A maximum entropy estimator 一个最大」· CC 代码 · 共 26 行
CC
26 行
#include <amis/BFGS.h>#include <amis/BFGSLauncherItem.h>AMIS_NAMESPACE_BEGINPropertyItem< int > BFGSLauncherItemBase::memory_size( "MEMORY_SIZE", "--memory-size", "", 5, "Size of the memory used in Limited-memory BFGS method" );AMIS_NAMESPACE_ENDnamespace { using namespace amis; BFGSLauncherItem< BFGS< BinaryFeature > > bfgs_binary( "BFGS", "Amis", "binary", "Limited-memory BFGS method (binary feature)" ); BFGSLauncherItem< BFGSJoint< BinaryFeature > > bfgsjoint_binary( "BFGSJoint", "Amis", "binary", "Limited-memory BFGS method with joint probability estimation (binary feature)" ); BFGSLauncherItem< BFGS< IntegerFeature > > bfgs_integer( "BFGS", "Amis", "integer", "Limited-memory BFGS method (integer feature)" ); BFGSLauncherItem< BFGSJoint< IntegerFeature > > bfgsjoint_integer( "BFGSJoint", "Amis", "integer", "Limited-memory BFGS method with joint probability estimation (integer feature)" ); BFGSLauncherItem< BFGS< RealFeature > > bfgs_real( "BFGS", "Amis", "real", "Limited-memory BFGS method (real feature)" ); BFGSLauncherItem< BFGSJoint< RealFeature > > bfgsjoint_real( "BFGSJoint", "Amis", "real", "Limited-memory BFGS method with joint probability estimation (real feature)" );};// end of BFGS.cc
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?