lenskit.data.movielens.MLData#
- class lenskit.data.movielens.MLData(version, source, prefix='')#
Internal class representing an open ML data set.
Stability: Internal
This API is at the internal or experimental stability level: it may change at any time, and breaking changes will not necessarily be described in the release notes. See Stability Levels for details.
- Parameters:
version (str)
source (pathlib.Path | zipfile.ZipFile)
prefix (str)
- source: pathlib.Path | zipfile.ZipFile#
- static version_impl(version)#
- Parameters:
version (str)
- Return type:
collections.abc.Callable[Ellipsis, MLData]
- __enter__()#
- __exit__(*args)#
- abstractmethod dataset()#
Load the full dataset.
- Return type:
- abstractmethod ratings_df()#
Load the ratings data frame.
- Return type: