SHOGUN  v3.2.0
所有成员列表 | Public 成员函数 | Public 属性
VwExample类 参考

详细描述

Example class for VW

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

在文件 vw_example.h56 行定义.

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()

VwExample ( )

Constructor

在文件 vw_example.cpp19 行定义.

§ ~VwExample()

~VwExample ( )

Destructor

在文件 vw_example.cpp28 行定义.

成员函数说明

§ reset_members()

void reset_members ( )

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

在文件 vw_example.cpp34 行定义.

类成员变量说明

§ atomics

v_array<VwFeature> atomics[256]

Array of features

在文件 vw_example.h84 行定义.

§ eta_round

float32_t eta_round

Learning rate for this round

在文件 vw_example.h95 行定义.

§ example_counter

vw_size_t example_counter

Example counter

在文件 vw_example.h107 行定义.

§ example_t

float32_t example_t

t value for this example

在文件 vw_example.h99 行定义.

§ final_prediction

float32_t final_prediction

Final prediction

在文件 vw_example.h91 行定义.

§ global_weight

float32_t global_weight

Global weight

在文件 vw_example.h97 行定义.

§ indices

v_array<vw_size_t> indices

Array of namespaces

在文件 vw_example.h82 行定义.

§ ld

VwLabel* ld

Label object

在文件 vw_example.h77 行定义.

§ loss

float32_t loss

Loss

在文件 vw_example.h93 行定义.

§ num_features

vw_size_t num_features

Number of features

在文件 vw_example.h87 行定义.

§ pass

vw_size_t pass

Pass

在文件 vw_example.h89 行定义.

§ sorted

bool sorted

Whether features are sorted by weight index

在文件 vw_example.h109 行定义.

§ sum_feat_sq

float64_t sum_feat_sq[256]

Sum of square of features

在文件 vw_example.h102 行定义.

§ tag

v_array<char> tag

Tag

在文件 vw_example.h80 行定义.

§ total_sum_feat_sq

float32_t total_sum_feat_sq

Total sum of square of features

在文件 vw_example.h104 行定义.


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

SHOGUN Machine Learning Toolbox - Documentation