LensKit CLI#
LensKit comes with a command-line tool, lenskit, that provides a growing set
of operations for LensKit data and pipelines.
The LensKit CLI works through subcommands (like git).
Base Options#
These options can be provided before subcommand to control output.
- -v, --verbose#
Output DEBUG log messages.
- --help#
Show command-line tool help messages.
LensKit Commands#
The following are the supported commands. Run any with --help to print its
options and usage.
lenskit data convertConvert data into LensKit native format.
lenskit data describeDescribe a
Dataset.lenskit data fetchFetch a public dataset.
lenskit data splitPerform a global train-test split of a dataset.
lenskit doctorPrint information about the installed Python and LensKit environment.
lenskit configPrint the LensKit configuration.
lenskit versionDisplay the LensKit version.
lenskit trainTrain a recommendation pipeline (experimental).
lenskit recommendGenerate recommendations from a trained pipeline (experimental).
lenskit tuneTune hyperparameters (experimental).