This repository was archived by the owner on Dec 21, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ for more information.
117
117
118
118
``` python
119
119
m = turicreate.ranking_factorization_recommender.create(data,
120
- user_id = ' user' ,
120
+ user_id = ' user' ,
121
121
item_id = ' movie' ,
122
122
target = ' rating' )
123
123
```
@@ -140,8 +140,8 @@ liked:
140
140
141
141
``` python
142
142
m = turicreate.item_similarity_recommender.create(data,
143
- user_id = ' user' ,
144
- item_id = ' movie' )
143
+ user_id = ' user' ,
144
+ item_id = ' movie' )
145
145
```
146
146
147
147
The ` ranking_factorization_recommender ` is also great for implicit data,
@@ -150,7 +150,7 @@ and can be called the same way:
150
150
151
151
``` python
152
152
m = turicreate.ranking_factorization_recommender.create(data,
153
- user_id = ' user' ,
153
+ user_id = ' user' ,
154
154
item_id = ' movie' )
155
155
```
156
156
Original file line number Diff line number Diff line change @@ -166,11 +166,11 @@ An SFrame is made up of columns of a contiguous type. For instance the `songs`
166
166
SFrame is made up of 5 columns of the following types
167
167
168
168
```
169
- song_id str
170
- title str
171
- release str
169
+ song_id str
170
+ title str
171
+ release str
172
172
artist_name str
173
- year int
173
+ year int
174
174
```
175
175
176
176
In this SFrame we see only string (` str ` ) and integer (` int ` ) columns, but a
You can’t perform that action at this time.
0 commit comments