goRecommender/README.md
README.mdRaw
1# goRecommender
2
3Recommendation system API, based on Machine Learning, written in Go lang
4
5Data stored in MongoDB
6
7Applies Machine Learning to perform recommendations:
8
9 - Random Forests
10 - K Nearest Neighbours
11
12
13
14
15
16
17
18## Documentation
19
20 - Add new user
21
22```
23POST /user
24{
25 id: "user1",
26 age: 30
27}
28```
29
30
31 - Get recommendations
32
33```
34GET /r/{userid}/{nrec}
35
36{userid}: is the userid
37{nrec}: number of recommendations requested
38```
39
40 - Select Item
41
42```
43POST /selectItem
44{
45 userid: "user1",
46 itemid: "item1"
47}