Skip to content
This repository was archived by the owner on Dec 21, 2023. It is now read-only.

Commit 20b9df4

Browse files
authored
Fix a few formatting issues in the user guide. (#3145)
* Fix alignment in Data Types table. * Fix Python line-wrapped indentation in Recommender Systems.
1 parent 1f6deba commit 20b9df4

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

userguide/recommender/choosing-a-model.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ for more information.
117117

118118
```python
119119
m = turicreate.ranking_factorization_recommender.create(data,
120-
user_id='user',
120+
user_id='user',
121121
item_id='movie',
122122
target='rating')
123123
```
@@ -140,8 +140,8 @@ liked:
140140

141141
```python
142142
m = turicreate.item_similarity_recommender.create(data,
143-
user_id='user',
144-
item_id='movie')
143+
user_id='user',
144+
item_id='movie')
145145
```
146146

147147
The `ranking_factorization_recommender` is also great for implicit data,
@@ -150,7 +150,7 @@ and can be called the same way:
150150

151151
```python
152152
m = turicreate.ranking_factorization_recommender.create(data,
153-
user_id='user',
153+
user_id='user',
154154
item_id='movie')
155155
```
156156

userguide/sframe/sframe-intro.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,11 +166,11 @@ An SFrame is made up of columns of a contiguous type. For instance the `songs`
166166
SFrame is made up of 5 columns of the following types
167167

168168
```
169-
song_id str
170-
title str
171-
release str
169+
song_id str
170+
title str
171+
release str
172172
artist_name str
173-
year int
173+
year int
174174
```
175175

176176
In this SFrame we see only string (`str`) and integer (`int`) columns, but a

0 commit comments

Comments
 (0)