Skip to content

Commit

Permalink
Merge pull request #521 from superlinked/update-ecomm-recsys-article
Browse files Browse the repository at this point in the history
Update ecomm-recys.md
  • Loading branch information
robertdhayanturner authored Oct 29, 2024
2 parents a23458c + 6f3b54b commit 32e5a56
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/articles/ecomm-recys.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ We can set up our Spaces to take account of this data, so that our RecSys works

First, we need to install the Superlinked library and import the classes.

(Note: Omit `alt.renderers.enable(“mimetype”)` if you’re running this in [google colab](https://colab.research.google.com/github/superlinked/superlinked/blob/main/notebook/recommendations_e_commerce.ipynb). Keep it if you’re executing in [github](https://github.com/superlinked/VectorHub/blob/main/docs/articles/ecomm-recys.md).)

```python
%pip install superlinked==6.0.0

Expand Down Expand Up @@ -78,7 +76,7 @@ from superlinked.framework.dsl.space.text_similarity_space import TextSimilarity
from superlinked.framework.dsl.space.number_space import NumberSpace


alt.renderers.enable("mimetype") # NOTE: to render altair plots in colab, comment this line out
alt.renderers.enable(get_altair_renderer())
pd.set_option("display.max_colwidth", 190)
```

Expand Down

0 comments on commit 32e5a56

Please sign in to comment.