GraphChi  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Macros
Public Types | Public Member Functions | Public Attributes
edge_data Struct Reference

The edge data stores the entry in the matrix. More...

#include <als_vertex_program.hpp>

Inheritance diagram for edge_data:
graphlab::IS_POD_TYPE

List of all members.

Public Types

enum  data_role_type { TRAIN, VALIDATE, PREDICT }
 The type of data on the edge;. More...

Public Member Functions

 edge_data (float obs=0, data_role_type role=PREDICT)
 basic initialization

Public Attributes

float obs
 the observed value for the edge
data_role_type role
 The train/validation/test designation of the edge.

Detailed Description

The edge data stores the entry in the matrix.

In addition the edge data also stores the most recent error estimate.


Member Enumeration Documentation

The type of data on the edge;.

  • Train: the observed value is correct and used in training
  • Validate: the observed value is correct but not used in training
  • Predict: The observed value is not correct and should not be used in training.

The documentation for this struct was generated from the following file: