This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'jbundler' | |
require 'example_runner' | |
#In a real application, include this module in your Ruby class | |
include ExampleRunner | |
user_ids.each do |user_id| | |
puts "Recommendations for user with id=#{user_id}:" | |
puts " #{item_recommender.recommend(user_id, 5)}" | |
end |
NewerOlder