GraphChi 0.1

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

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:

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

enum edge_data::data_role_type

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:

- example_apps/matrix_factorization/graphlab_gas/als_vertex_program.hpp