lenskit.splitting.split#
Functions
|
Convert a dictionary mapping user IDs to item lists into a data frame. |
|
Convert a dictionary mapping user IDs to item lists into a data frame. |
Classes
|
A train-test pair from splitting. |
- class lenskit.splitting.split.TTSplit(train, test)#
Bases:
NamedTuple
A train-test pair from splitting.
- lenskit.splitting.split.dict_to_df(data)#
Convert a dictionary mapping user IDs to item lists into a data frame.