MyMediaLite
3.11
|
Class that offers static methods to read (binary) attribute data into IBooleanMatrix objects More...
Static Public Member Functions | |
static IBooleanMatrix | Read (string filename, IMapping mapping) |
Read binary attribute data from a file More... | |
static IBooleanMatrix | Read (StreamReader reader, IMapping mapping) |
Read binary attribute data from a StreamReader More... | |
static IBooleanMatrix | Read (IDataReader reader, IMapping mapping) |
Read binary attribute data from an IDataReader, e.g. a database via DbDataReader More... | |
Class that offers static methods to read (binary) attribute data into IBooleanMatrix objects
The expected (sparse) line format is: ENTITY_ID SEPARATOR ATTRIBUTE_ID for attributes that are set. SEPARATOR can be space, tab, or comma.
|
inlinestatic |
Read binary attribute data from a file
The expected (sparse) line format is: ENTITY_ID tab/space/comma ATTRIBUTE_ID for the relations that hold.
filename | the name of the file to be read from |
mapping | the mapping object for the given entity type |
|
inlinestatic |
Read binary attribute data from a StreamReader
The expected (sparse) line format is: ENTITY_ID tab/space/comma ATTRIBUTE_ID for the relations that hold.
reader | a StreamReader to be read from |
mapping | the mapping object for the given entity type |
|
inlinestatic |
Read binary attribute data from an IDataReader, e.g. a database via DbDataReader
reader | an IDataReader to be read from |
mapping | the mapping object for the given entity type |