Fork me on GitHub

MyMediaLite: User and item lists

News

MyMediaLite 3.11 has been released.


User and item lists

User and item lists are trivial: One entity ID per line

Example

5
22
26
29
35
36
45

Command-line tools

The item recommendation tool supports this file format.

Files with this format are expected by the following arguments:

Classes

Reading

The class for reading in this kind of file is MyMediaLite.IO.NumberFile.

When reading from such a file, do not forget to map the user/item IDs to their internal representation:

    test_users = new List(user_mapping.ToInternalID(NumberFile.ReadLongs(file))));

Writing

Writing this file format is trivial, so there is no specific class for that in MyMediaLite.

ContactFollow us on Twitter