C# 클래스 MyMediaLite.IO.RelationData

Class that offers static methods to read (binary) relation over entities into SparseBooleanMatrix objects
파일 보기 프로젝트 열기: zenogantner/MML-KDD

공개 메소드들

메소드 설명
Read ( IDataReader reader, IEntityMapping mapping ) : SparseBooleanMatrix

Read binary relation data from an IDataReader, e.g. a database via DbDataReader

Read ( StreamReader reader, IEntityMapping mapping ) : SparseBooleanMatrix

Read binary relation data from file

The expected (sparse) line format is: ENTITY_ID whitespace ENTITY_ID for the relations that hold.

Read ( string filename, IEntityMapping mapping ) : SparseBooleanMatrix

Read binary attribute data from file

The expected (sparse) line format is: ENTITY_ID whitespace ENTITY_ID for the relations that hold.

메소드 상세

Read() 공개 정적인 메소드

Read binary relation data from an IDataReader, e.g. a database via DbDataReader
public static Read ( IDataReader reader, IEntityMapping mapping ) : SparseBooleanMatrix
reader IDataReader an IDataReader to be read from
mapping IEntityMapping the mapping object for the given entity type
리턴 MyMediaLite.DataType.SparseBooleanMatrix

Read() 공개 정적인 메소드

Read binary relation data from file
The expected (sparse) line format is: ENTITY_ID whitespace ENTITY_ID for the relations that hold.
public static Read ( StreamReader reader, IEntityMapping mapping ) : SparseBooleanMatrix
reader System.IO.StreamReader a StreamReader to be read from
mapping IEntityMapping the mapping object for the given entity type
리턴 MyMediaLite.DataType.SparseBooleanMatrix

Read() 공개 정적인 메소드

Read binary attribute data from file
The expected (sparse) line format is: ENTITY_ID whitespace ENTITY_ID for the relations that hold.
public static Read ( string filename, IEntityMapping mapping ) : SparseBooleanMatrix
filename string the name of the file to be read from
mapping IEntityMapping the mapping object for the given entity type
리턴 MyMediaLite.DataType.SparseBooleanMatrix