Public Member Functions | Public Attributes

CSparseFeatures< ST >::sparse_feature_iterator Struct Reference

Detailed Description

template<class ST>
struct shogun::CSparseFeatures< ST >::sparse_feature_iterator

iterator for sparse features

Definition at line 1373 of file SparseFeatures.h.

List of all members.

Public Member Functions

void print_info ()

Public Attributes

TSparseEntry< ST > * sv
int32_t vidx
int32_t num_feat_entries
bool vfree
int32_t index

Member Function Documentation

void print_info (  ) 

print details of iterator (for debugging purposes)

Definition at line 1388 of file SparseFeatures.h.

Member Data Documentation

int32_t index


Definition at line 1385 of file SparseFeatures.h.


Definition at line 1380 of file SparseFeatures.h.

pointer to feature vector

Definition at line 1376 of file SparseFeatures.h.

bool vfree

if we need to free the vector

Definition at line 1382 of file SparseFeatures.h.

int32_t vidx

index of vector

Definition at line 1378 of file SparseFeatures.h.

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation