lenskit.splitting.LastN#
- class lenskit.splitting.LastN(n, field='timestamp')#
Bases:
HoldoutMethodSelect 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
nfield