iis.cc
来自「Amis - A maximum entropy estimator 一个最大」· CC 代码 · 共 26 行
CC
26 行
#include <amis/IIS.h>#include <amis/IISLauncherItem.h>#include <amis/Property.h>AMIS_NAMESPACE_BEGINPropertyItem< int > IISLauncherItemBase::max_newton_iterations( "MAX_NEWTON_ITERATIONS", "--max-newton-iterations", "-n", 200, "The number of iterations of Newton's method" );PropertyItem< bool > IISLauncherItemBase::feature_count_hash( "FEATURE_COUNT_HASH", "--feature-count-hash", "", false, "Whether to use the feature count hash" );AMIS_NAMESPACE_ENDnamespace { using namespace amis; IISLauncherItem< IISVector< BinaryFeature >, IISHash< BinaryFeature > > iis_binary( "IIS", "Amis", "binary", "Improved Iterative Scaling (binary feature)" ); IISLauncherItem< IISVector< IntegerFeature >, IISHash< IntegerFeature > > iis_integer( "IIS", "Amis", "integer", "Improved Iterative Scaling (integer feature)" ); IISLauncherItem< IISVector< RealFeature >, IISHash< RealFeature > > iis_real( "IIS", "Amis", "real", "Improved Iterative Scaling (real feature)" );};// end of IIS.cc
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?