Skip to content

Commit d3aaf39

Browse files
committed
Merge branch 'miguel/jupyter_book' into gh-pages
2 parents a001787 + 9ac4744 commit d3aaf39

28 files changed

+237
-387
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ Recommenders is a project under the [Linux Foundation of AI and Data](https://lf
2525

2626
This repository contains examples and best practices for building recommendation systems, provided as Jupyter notebooks. The examples detail our learnings on five key tasks:
2727

28-
- [Prepare Data](examples/01_prepare_data): Preparing and loading data for each recommender algorithm.
29-
- [Model](examples/00_quick_start): Building models using various classical and deep learning recommender algorithms such as Alternating Least Squares ([ALS](https://spark.apache.org/docs/latest/api/python/_modules/pyspark/ml/recommendation.html#ALS)) or eXtreme Deep Factorization Machines ([xDeepFM](https://arxiv.org/abs/1803.05170)).
28+
- [Prepare Data](examples/01_prepare_data): Preparing and loading data for each recommendation algorithm.
29+
- [Model](examples/00_quick_start): Building models using various classical and deep learning recommendation algorithms such as Alternating Least Squares ([ALS](https://spark.apache.org/docs/latest/api/python/_modules/pyspark/ml/recommendation.html#ALS)) or eXtreme Deep Factorization Machines ([xDeepFM](https://arxiv.org/abs/1803.05170)).
3030
- [Evaluate](examples/03_evaluate): Evaluating algorithms with offline metrics.
31-
- [Model Select and Optimize](examples/04_model_select_and_optimize): Tuning and optimizing hyperparameters for recommender models.
31+
- [Model Select and Optimize](examples/04_model_select_and_optimize): Tuning and optimizing hyperparameters for recommendation models.
3232
- [Operationalize](examples/05_operationalize): Operationalizing models in a production environment on Azure.
3333

3434
Several utilities are provided in [recommenders](recommenders) to support common tasks such as loading datasets in the format expected by different algorithms, evaluating model outputs, and splitting training/test data. Implementations of several state-of-the-art algorithms are included for self-study and customization in your own applications. See the [Recommenders documentation](https://readthedocs.org/projects/microsoft-recommenders/).
@@ -73,7 +73,7 @@ In addition to the core package, several extras are also provided, including:
7373

7474
## Algorithms
7575

76-
The table below lists the recommender algorithms currently available in the repository. Notebooks are linked under the Example column as Quick start, showcasing an easy to run example of the algorithm, or as Deep dive, explaining in detail the math and implementation of the algorithm.
76+
The table below lists the recommendation algorithms currently available in the repository. Notebooks are linked under the Example column as Quick start, showcasing an easy to run example of the algorithm, or as Deep dive, explaining in detail the math and implementation of the algorithm.
7777

7878
| Algorithm | Type | Description | Example |
7979
|-----------|------|-------------|---------|

docs/Makefile

-19
This file was deleted.

docs/README.md

-18
This file was deleted.

docs/_config.yml

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Copyright (c) Recommenders contributors.
2+
# Licensed under the MIT License.
3+
4+
# Book settings
5+
# Learn more at https://jupyterbook.org/customize/config.html
6+
7+
# To build the Jupyter Book:
8+
# $ jupyter-book clean docs
9+
# $ jupyter-book build docs
10+
11+
12+
title: Recommenders documentation
13+
author: Recommenders contributors
14+
logo: https://raw.githubusercontent.com/recommenders-team/artwork/main/color/recommenders_color.svg
15+
16+
17+
# Short description about the book
18+
description: >-
19+
Recommenders - Python utilities for building recommendation systems
20+
21+
execute:
22+
execute_notebooks : off
23+
24+
# Interact link settings
25+
notebook_interface : "notebook"
26+
27+
# Launch button settings
28+
repository:
29+
url : https://github.com/recommenders-team/recommenders
30+
path_to_book : /docs
31+
branch : main
32+
33+
launch_buttons:
34+
notebook_interface : classic
35+
36+
# HTML-specific settings
37+
html:
38+
favicon : https://raw.githubusercontent.com/recommenders-team/artwork/main/icon/recommenders_color_icon.svg
39+
home_page_in_navbar : false
40+
use_repository_button : true
41+
use_issues_button : true
42+
baseurl : https://recommenders-team.github.io/recommenders/
43+
44+
sphinx:
45+
extra_extensions:
46+
- sphinx_inline_tabs
47+
- sphinx.ext.autodoc
48+
- sphinx.ext.napoleon
49+
- sphinx.ext.viewcode
50+
config:
51+
napoleon_google_docstring: True
52+
autodoc_member_order: groupwise
53+
autoclass_content: both
54+
55+

docs/_toc.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Copyright (c) Recommenders contributors.
2+
# Licensed under the MIT License.
3+
4+
# Table of contents
5+
# Learn more at https://jupyterbook.org/customize/toc.html
6+
7+
format: jb-book
8+
root: intro
9+
defaults:
10+
numbered: false
11+
parts:
12+
- caption: Recommenders API Documentation
13+
chapters:
14+
- file: datasets
15+
- file: evaluation
16+
- file: models
17+
- file: tuning
18+
- file: utils

docs/source/datasets.rst renamed to docs/datasets.rst

-7
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,6 @@ Download utilities
111111
:members:
112112

113113

114-
Cosmos CLI utilities
115-
*********************
116-
117-
.. automodule:: recommenders.datasets.cosmos_cli
118-
:members:
119-
120-
121114
Pandas dataframe utilities
122115
***************************
123116

File renamed without changes.

docs/intro.md

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<!--
2+
Copyright (c) Recommenders contributors.
3+
Licensed under the MIT License.
4+
-->
5+
6+
# Welcome to Recommenders
7+
8+
Recommenders objective is to assist researchers, developers and enthusiasts in prototyping, experimenting with and bringing to production a range of classic and state-of-the-art recommendation systems.
9+
10+
````{margin}
11+
```sh
12+
pip install recommenders
13+
```
14+
<a class="github-button" href="https://github.com/recommenders-team/recommenders" data-icon="octicon-star" style="margin:auto" data-size="large" data-show-count="true" aria-label="Star Recommenders on GitHub">Star Us</a><script async defer src="https://buttons.github.io/buttons.js"></script>
15+
````
16+
17+
Recommenders is a project under the [Linux Foundation of AI and Data](https://lfaidata.foundation/projects/).
18+
19+
This repository contains examples and best practices for building recommendation systems, provided as Jupyter notebooks.
20+
21+
The examples detail our learnings on five key tasks:
22+
23+
- Prepare Data: Preparing and loading data for each recommendation algorithm.
24+
- Model: Building models using various classical and deep learning recommendation algorithms such as Alternating Least Squares ([ALS](https://spark.apache.org/docs/latest/api/python/_modules/pyspark/ml/recommendation.html#ALS)) or eXtreme Deep Factorization Machines ([xDeepFM](https://arxiv.org/abs/1803.05170)).
25+
- Evaluate: Evaluating algorithms with offline metrics.
26+
- Model Select and Optimize: Tuning and optimizing hyperparameters for recommendation models.
27+
- Operationalize: Operationalizing models in a production environment.
28+
29+
Several utilities are provided in the `recommenders` library to support common tasks such as loading datasets in the format expected by different algorithms, evaluating model outputs, and splitting training/test data. Implementations of several state-of-the-art algorithms are included for self-study and customization in your own applications.
30+
31+
32+
<!-- ```{tableofcontents}
33+
``` -->
34+

docs/source/models.rst renamed to docs/models.rst

+12-5
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@ DKN item-to-item
2929
.. automodule:: recommenders.models.deeprec.models.dkn_item2item
3030
:members:
3131

32-
LightGCN
33-
==================
34-
.. automodule:: recommenders.models.deeprec.models.graphrec.lightgcn
35-
:members:
36-
3732
xDeepFM
3833
==============
3934
.. automodule:: recommenders.models.deeprec.models.xDeepFM
4035
:members:
4136

37+
LightGCN
38+
==================
39+
.. automodule:: recommenders.models.deeprec.models.graphrec.lightgcn
40+
:members:
41+
4242
Sequential models
4343
==================
4444

@@ -257,6 +257,13 @@ VAE
257257
:members:
258258

259259

260+
Vowpal Wabbit
261+
******************************
262+
263+
.. automodule:: recommenders.models.vowpal_wabbit.vw
264+
:members:
265+
266+
260267
Wide & Deep
261268
******************************
262269

docs/requirements-doc.txt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
jupyter-book
2+
sphinx
3+
sphinx_inline_tabs
4+
ghp-import

0 commit comments

Comments
 (0)