Read binary relation data from file
Declaring type: RelationData
Namespace: MyMediaLite.IO
Assembly: MyMediaLite
Collapse/Expand Syntax
C#
public static SparseBooleanMatrix Read (
        StreamReader reader,
        EntityMapping mapping
) 
Parameters
reader
a StreamReader to be read from
mapping
the mapping object for the given entity type
Return Value
the relation data
Collapse/Expand Remarks
The expected (sparse) line format is: ENTITY_ID whitespace ENTITY_ID for the relations that hold.