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 6 years ago
.gitignore Initial commit 6 years ago
LICENSE Initial commit 6 years ago
README.md added ipFilter, implemented select item by user (adding scores) --> not finished yet 6 years ago
errors.go server structure, mongodb connection 6 years ago
ipFilter.go added ipFilter, implemented select item by user (adding scores) --> not finished yet 6 years ago
itemSamples.data added initial items, implemented route newUser, starting recommendations, added tests.sh file 6 years ago
main.go added initial items, implemented route newUser, starting recommendations, added tests.sh file 6 years ago
mongodb.go recommending 6 years ago
mongodbConfig.json added initial items, implemented route newUser, starting recommendations, added tests.sh file 6 years ago
mongodbModels.go cluster age 6 years ago
readItemSamples.go added initial items, implemented route newUser, starting recommendations, added tests.sh file 6 years ago
recommendations.go recommending 6 years ago
serverConfig.go added ipFilter, implemented select item by user (adding scores) --> not finished yet 6 years ago
serverConfig.json added ipFilter, implemented select item by user (adding scores) --> not finished yet 6 years ago
serverRoutes.go cluster age 6 years ago
tests.sh recommending 6 years ago
userOperations.go cluster age 6 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"
}