Skip to content

Commit

Permalink
Typo in k_nearest_neighbors.py (#104)
Browse files Browse the repository at this point in the history
k_nearest_neighbors.py
  • Loading branch information
skywhat authored and NicolasHug committed Nov 5, 2017
1 parent c26d05e commit e8a173c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/k_nearest_neighbors.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def read_item_names():
# Read the mappings raw id <-> movie name
rid_to_name, name_to_rid = read_item_names()

# Retieve inner id of the movie Toy Story
# Retrieve inner id of the movie Toy Story
toy_story_raw_id = name_to_rid['Toy Story (1995)']
toy_story_inner_id = algo.trainset.to_inner_iid(toy_story_raw_id)

Expand Down

0 comments on commit e8a173c

Please sign in to comment.