diogenes / coletivo Goto Github PK
View Code? Open in Web Editor NEWA simple Rails 3 recommendations engine
License: MIT License
A simple Rails 3 recommendations engine
License: MIT License
Looks great and seems to work very well.From what I've seen of the code, I'm guessing this uses user-based filtering, and not item based? Correct?
I have been trying to use this on rails 4 but since rails 4 supports assignment to attributes only which are accessible in their model it's not working
Can you please add rails 4 compatibiity. Need it a bit urgently. Thanks
I like to use this gem with Mongodb preferably with Mongoid, but not sure about where to start?
Hi,
first of all - THANK YOU very much for this gem and initiative to make easy-to-use recommentadtions engine!
On my test environment (3 users, 7 rankings, all user rated same two items, onw of them rated one more) geting recommendations fails to succeed:
ruby-1.9.2-p290 :007 > Medium.find_recommendations_for(u, :strategy=>:pearson) Coletivo::Models::PersonRating Load (5.1ms) SELECT
person_ratings.* FROM
person_ratingsWHERE
person_ratings.
rateable_type= 'Medium' ArgumentError: wrong number of arguments (1 for 2) from /Users/maciej/.rvm/gems/ruby-1.9.2-p290@rails31/gems/coletivo-0.0.2/lib/coletivo/models/recommendable.rb:60:in
block in predict_highest_ratings'
from /Users/maciej/.rvm/gems/ruby-1.9.2-p290@rails31/gems/coletivo-0.0.2/lib/coletivo/models/recommendable.rb:64:in each' from /Users/maciej/.rvm/gems/ruby-1.9.2-p290@rails31/gems/coletivo-0.0.2/lib/coletivo/models/recommendable.rb:64:in
collect'
from /Users/maciej/.rvm/gems/ruby-1.9.2-p290@rails31/gems/coletivo-0.0.2/lib/coletivo/models/recommendable.rb:64:in predict_highest_ratings' from /Users/maciej/.rvm/gems/ruby-1.9.2-p290@rails31/gems/coletivo-0.0.2/lib/coletivo/models/recommendable.rb:13:in
find_recommendations_for'
from (irb):7`
Any ideas what can go wrong?
(Sorry, I don't have time currently, but I could try to fix this bug in next few days).
Does it support Chinese?
can any one help me in generating the controller and views for that gem ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.