lenskit.splitting.LastN#
- class lenskit.splitting.LastN(n, field='timestamp')#
Bases:
HoldoutMethod
Select a fixed number of test rows per user/item, based on ordering by a field.
- Stability:
- Caller (see Stability Levels).
- Parameters:
Methods
__init__
(n[, field])Attributes
n
field