├── .github └── workflows │ ├── documentation.yml │ └── python-package.yml ├── .gitignore ├── .pylintrc ├── .travis.yml ├── CONTRIBUTING.md ├── LICENSE ├── README.rst ├── docs ├── Makefile ├── conf.py ├── index.rst ├── readme.rst └── reference │ ├── components.rst │ ├── metrics.rst │ ├── models.rst │ ├── random.rst │ └── reference.rst ├── examples ├── advanced-metrics.ipynb ├── advanced-models.ipynb ├── complete-guide.ipynb ├── quick-start.ipynb └── structural-virality.ipynb ├── pyproject.toml ├── requirements-dev.txt ├── requirements.txt ├── scripts ├── lint.sh ├── lint_and_test.sh └── test.sh ├── setup.py └── trecs ├── __init__.py ├── base ├── __init__.py └── base_components.py ├── components ├── __init__.py ├── creators.py ├── items.py ├── socialgraph.py └── users.py ├── logging.py ├── matrix_ops.py ├── metrics ├── __init__.py └── measurement.py ├── models ├── __init__.py ├── bass.py ├── content.py ├── mf.py ├── popularity.py ├── random.py ├── recommender.py └── social.py ├── random ├── __init__.py └── generators.py ├── tests ├── test_BassModel.py ├── test_ContentFiltering.py ├── test_Creators.py ├── test_ImplicitMF.py ├── test_PopularityRecommender.py ├── test_RandomRecommender.py ├── test_SocialFiltering.py ├── test_Users.py ├── test_components.py ├── test_generators.py ├── test_helpers.py ├── test_matrix_ops.py ├── test_measurements.py ├── test_recommender.py └── test_validate.py ├── utils.py └── validate.py /.github/workflows/documentation.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/.github/workflows/documentation.yml -------------------------------------------------------------------------------- /.github/workflows/python-package.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/.github/workflows/python-package.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/.gitignore -------------------------------------------------------------------------------- /.pylintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/.pylintrc -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/.travis.yml -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/LICENSE -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/README.rst -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/readme.rst: -------------------------------------------------------------------------------- 1 | .. include:: ../README.rst 2 | -------------------------------------------------------------------------------- /docs/reference/components.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/docs/reference/components.rst -------------------------------------------------------------------------------- /docs/reference/metrics.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/docs/reference/metrics.rst -------------------------------------------------------------------------------- /docs/reference/models.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/docs/reference/models.rst -------------------------------------------------------------------------------- /docs/reference/random.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/docs/reference/random.rst -------------------------------------------------------------------------------- /docs/reference/reference.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/docs/reference/reference.rst -------------------------------------------------------------------------------- /examples/advanced-metrics.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/examples/advanced-metrics.ipynb -------------------------------------------------------------------------------- /examples/advanced-models.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/examples/advanced-models.ipynb -------------------------------------------------------------------------------- /examples/complete-guide.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/examples/complete-guide.ipynb -------------------------------------------------------------------------------- /examples/quick-start.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/examples/quick-start.ipynb -------------------------------------------------------------------------------- /examples/structural-virality.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/examples/structural-virality.ipynb -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements-dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/requirements-dev.txt -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/requirements.txt -------------------------------------------------------------------------------- /scripts/lint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/scripts/lint.sh -------------------------------------------------------------------------------- /scripts/lint_and_test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/scripts/lint_and_test.sh -------------------------------------------------------------------------------- /scripts/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/scripts/test.sh -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/setup.py -------------------------------------------------------------------------------- /trecs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/__init__.py -------------------------------------------------------------------------------- /trecs/base/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/base/__init__.py -------------------------------------------------------------------------------- /trecs/base/base_components.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/base/base_components.py -------------------------------------------------------------------------------- /trecs/components/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/components/__init__.py -------------------------------------------------------------------------------- /trecs/components/creators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/components/creators.py -------------------------------------------------------------------------------- /trecs/components/items.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/components/items.py -------------------------------------------------------------------------------- /trecs/components/socialgraph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/components/socialgraph.py -------------------------------------------------------------------------------- /trecs/components/users.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/components/users.py -------------------------------------------------------------------------------- /trecs/logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/logging.py -------------------------------------------------------------------------------- /trecs/matrix_ops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/matrix_ops.py -------------------------------------------------------------------------------- /trecs/metrics/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/metrics/__init__.py -------------------------------------------------------------------------------- /trecs/metrics/measurement.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/metrics/measurement.py -------------------------------------------------------------------------------- /trecs/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/models/__init__.py -------------------------------------------------------------------------------- /trecs/models/bass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/models/bass.py -------------------------------------------------------------------------------- /trecs/models/content.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/models/content.py -------------------------------------------------------------------------------- /trecs/models/mf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/models/mf.py -------------------------------------------------------------------------------- /trecs/models/popularity.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/models/popularity.py -------------------------------------------------------------------------------- /trecs/models/random.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/models/random.py -------------------------------------------------------------------------------- /trecs/models/recommender.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/models/recommender.py -------------------------------------------------------------------------------- /trecs/models/social.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/models/social.py -------------------------------------------------------------------------------- /trecs/random/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/random/__init__.py -------------------------------------------------------------------------------- /trecs/random/generators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/random/generators.py -------------------------------------------------------------------------------- /trecs/tests/test_BassModel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/tests/test_BassModel.py -------------------------------------------------------------------------------- /trecs/tests/test_ContentFiltering.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/tests/test_ContentFiltering.py -------------------------------------------------------------------------------- /trecs/tests/test_Creators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/tests/test_Creators.py -------------------------------------------------------------------------------- /trecs/tests/test_ImplicitMF.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/tests/test_ImplicitMF.py -------------------------------------------------------------------------------- /trecs/tests/test_PopularityRecommender.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/tests/test_PopularityRecommender.py -------------------------------------------------------------------------------- /trecs/tests/test_RandomRecommender.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/tests/test_RandomRecommender.py -------------------------------------------------------------------------------- /trecs/tests/test_SocialFiltering.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/tests/test_SocialFiltering.py -------------------------------------------------------------------------------- /trecs/tests/test_Users.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/tests/test_Users.py -------------------------------------------------------------------------------- /trecs/tests/test_components.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/tests/test_components.py -------------------------------------------------------------------------------- /trecs/tests/test_generators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/tests/test_generators.py -------------------------------------------------------------------------------- /trecs/tests/test_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/tests/test_helpers.py -------------------------------------------------------------------------------- /trecs/tests/test_matrix_ops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/tests/test_matrix_ops.py -------------------------------------------------------------------------------- /trecs/tests/test_measurements.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/tests/test_measurements.py -------------------------------------------------------------------------------- /trecs/tests/test_recommender.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/tests/test_recommender.py -------------------------------------------------------------------------------- /trecs/tests/test_validate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/tests/test_validate.py -------------------------------------------------------------------------------- /trecs/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/utils.py -------------------------------------------------------------------------------- /trecs/validate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elucherini/t-recs/HEAD/trecs/validate.py --------------------------------------------------------------------------------