Kamand commited on
Commit
5d5b9ef
1 Parent(s): cda9115

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -256,7 +256,7 @@ def greet(name):
256
  # In[27]:
257
 
258
 
259
- get_recommendations('The Dark Knight',cosine_sim)
260
 
261
 
262
  # <b> <font size="3"> Adding the metadata to the rec system <font> <b>
@@ -398,7 +398,7 @@ indices = pd.Series(smd.index, index=smd['title'])
398
  # In[45]:
399
 
400
 
401
- cosine_sim2.shape
402
 
403
 
404
  # In[60]:
@@ -420,7 +420,7 @@ def get_recommendations(title,sim):
420
  # In[62]:
421
 
422
 
423
- get_recommendations('The Avengers',cosine_sim2)
424
 
425
 
426
  # <font size="3"> This recommendation system works a lot better than the first, but it doesn't take popularity into account. <font>
@@ -451,7 +451,7 @@ def improved_recommendations(title):
451
  # In[76]:
452
 
453
 
454
- list(improved_recommendations('Mean Girls'))
455
 
456
 
457
  # In[81]:
 
256
  # In[27]:
257
 
258
 
259
+ #get_recommendations('The Dark Knight',cosine_sim)
260
 
261
 
262
  # <b> <font size="3"> Adding the metadata to the rec system <font> <b>
 
398
  # In[45]:
399
 
400
 
401
+ #cosine_sim2.shape
402
 
403
 
404
  # In[60]:
 
420
  # In[62]:
421
 
422
 
423
+ #get_recommendations('The Avengers',cosine_sim2)
424
 
425
 
426
  # <font size="3"> This recommendation system works a lot better than the first, but it doesn't take popularity into account. <font>
 
451
  # In[76]:
452
 
453
 
454
+ #list(improved_recommendations('Mean Girls'))
455
 
456
 
457
  # In[81]: