lenskit.data.sources.steam#
Support for importing Steam data.
Attributes#
Functions#
|
Load a Steam dataset from Julian McAuley's group at UCSD. |
Module Contents#
- lenskit.data.sources.steam.BATCH_SIZE = 10000#
- lenskit.data.sources.steam.AU_USERS_ITEMS_SCHEMA#
- lenskit.data.sources.steam.load_steam(*files, reviews=False)#
Load a Steam dataset from Julian McAuley’s group at UCSD.
Note
This function uses filenames to detect which version of the data to load, so the files should be named exactly as they are from McAuley’s download site, optionally recompressed.
- Parameters:
files (pathlib.Path) – Input files to read, in any order. Can only load one version of the data at a time (Australian or full).
reviews (bool) – Set to
Trueto include review text in the loaded dataset.
- Return type:
Exported Aliases#
- class lenskit.data.sources.steam.Dataset#
Re-exported alias for
lenskit.data.Dataset.
- class lenskit.data.sources.steam.DatasetBuilder#
Re-exported alias for
lenskit.data.DatasetBuilder.
- exception lenskit.data.sources.steam.DataError#
Re-exported alias for
lenskit.diagnostics.DataError.
- lenskit.data.sources.steam.get_logger()#
Re-exported alias for
lenskit.logging.get_logger().