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 b403a740cf added initial items, implemented route newUser, starting recommendations, added tests.sh file 7 years ago
.gitignore Initial commit 7 years ago
LICENSE Initial commit 7 years ago
README.md added initial items, implemented route newUser, starting recommendations, added tests.sh file 7 years ago
errors.go server structure, mongodb connection 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 added initial items, implemented route newUser, starting recommendations, added tests.sh file 7 years ago
mongodbConfig.json added initial items, implemented route newUser, starting recommendations, added tests.sh file 7 years ago
mongodbModels.go added initial items, implemented route newUser, starting recommendations, added tests.sh file 7 years ago
readItemSamples.go added initial items, implemented route newUser, starting recommendations, added tests.sh file 7 years ago
serverConfig.go server structure, mongodb connection 7 years ago
serverConfig.json server structure, mongodb connection 7 years ago
serverRoutes.go added initial items, implemented route newUser, starting recommendations, added tests.sh file 7 years ago
tests.sh added initial items, implemented route newUser, starting recommendations, added tests.sh file 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