You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
arnaucode 1d0fcbef47 cluster age 7 years ago
.gitignore Initial commit 7 years ago
LICENSE Initial commit 7 years ago
README.md added ipFilter, implemented select item by user (adding scores) --> not finished yet 7 years ago
errors.go server structure, mongodb connection 7 years ago
ipFilter.go added ipFilter, implemented select item by user (adding scores) --> not finished yet 7 years ago
itemSamples.data added initial items, implemented route newUser, starting recommendations, added tests.sh file 7 years ago
main.go added initial items, implemented route newUser, starting recommendations, added tests.sh file 7 years ago
mongodb.go recommending 7 years ago
mongodbConfig.json added initial items, implemented route newUser, starting recommendations, added tests.sh file 7 years ago
mongodbModels.go cluster age 7 years ago
readItemSamples.go added initial items, implemented route newUser, starting recommendations, added tests.sh file 7 years ago
recommendations.go recommending 7 years ago
serverConfig.go added ipFilter, implemented select item by user (adding scores) --> not finished yet 7 years ago
serverConfig.json added ipFilter, implemented select item by user (adding scores) --> not finished yet 7 years ago
serverRoutes.go cluster age 7 years ago
tests.sh recommending 7 years ago
userOperations.go cluster age 7 years ago

README.md

goRecommender

Recommendation system API, based on Machine Learning, written in Go lang

Data stored in MongoDB

Applies Machine Learning to perform recommendations:

  • Random Forests
  • K Nearest Neighbours

Documentation

  • Add new user
POST /user
{
    id: "user1",
    age: 30
}
  • Get recommendations
GET /r/{userid}/{nrec}

{userid}: is the userid
{nrec}: number of recommendations requested
  • Select Item
POST /selectItem
{
    userid: "user1",
    itemid: "item1"
}