SHOGUN  4.1.0
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
所有成员列表 | Public 成员函数 | Public 属性
VwExample类 参考

详细描述

Example class for VW.

It contains a label object pointer. These objects should be returned by the parser.

在文件 vw_example.h58 行定义.

Public 成员函数

 VwExample ()
 
 ~VwExample ()
 
void reset_members ()
 

Public 属性

VwLabelld
 Label object. 更多...
 
v_array< char > tag
 Tag. 更多...
 
v_array< vw_size_tindices
 Array of namespaces. 更多...
 
v_array< VwFeatureatomics [256]
 Array of features. 更多...
 
vw_size_t num_features
 Number of features. 更多...
 
vw_size_t pass
 Pass. 更多...
 
float32_t final_prediction
 Final prediction. 更多...
 
float32_t loss
 Loss. 更多...
 
float32_t eta_round
 Learning rate for this round. 更多...
 
float32_t global_weight
 Global weight. 更多...
 
float32_t example_t
 t value for this example 更多...
 
float64_t sum_feat_sq [256]
 Sum of square of features. 更多...
 
float32_t total_sum_feat_sq
 Total sum of square of features. 更多...
 
vw_size_t example_counter
 Example counter. 更多...
 
bool sorted
 Whether features are sorted by weight index. 更多...
 

构造及析构函数说明

VwExample ( )

Constructor

在文件 vw_example.cpp19 行定义.

~VwExample ( )

Destructor

在文件 vw_example.cpp28 行定义.

成员函数说明

void reset_members ( )

Resets the members so the values can be updated directly without constructing another object.

在文件 vw_example.cpp34 行定义.

类成员变量说明

v_array<VwFeature> atomics[256]

Array of features.

在文件 vw_example.h86 行定义.

float32_t eta_round

Learning rate for this round.

在文件 vw_example.h97 行定义.

vw_size_t example_counter

Example counter.

在文件 vw_example.h109 行定义.

float32_t example_t

t value for this example

在文件 vw_example.h101 行定义.

float32_t final_prediction

Final prediction.

在文件 vw_example.h93 行定义.

float32_t global_weight

Global weight.

在文件 vw_example.h99 行定义.

v_array<vw_size_t> indices

Array of namespaces.

在文件 vw_example.h84 行定义.

VwLabel* ld

Label object.

在文件 vw_example.h79 行定义.

float32_t loss

Loss.

在文件 vw_example.h95 行定义.

vw_size_t num_features

Number of features.

在文件 vw_example.h89 行定义.

vw_size_t pass

Pass.

在文件 vw_example.h91 行定义.

bool sorted

Whether features are sorted by weight index.

在文件 vw_example.h111 行定义.

float64_t sum_feat_sq[256]

Sum of square of features.

在文件 vw_example.h104 行定义.

v_array<char> tag

Tag.

在文件 vw_example.h82 行定义.

float32_t total_sum_feat_sq

Total sum of square of features.

在文件 vw_example.h106 行定义.


该类的文档由以下文件生成:

SHOGUN 机器学习工具包 - 项目文档