Recommendation System Using K-Nearest Neighbors .
open the index.html and press F12 to get the web console execute the commande run(interest1,interest2,interest3,age) and the code will return a json object of a number between 1 and 4 based on KNN algorithm.
You'll need to install node.js first ! open the terminal and type :
node KNN_Recommender.js [input1][input2][input3]