A simple JavaScript-based item recommendation system using description-based similarity scoring.
The project consists of the following files:
basic/item-recommender.js
:-
This file contains the basic implementation of the recommendation system.
-
It includes the
ItemGlobal
andItemExtended
classes, which define the properties of an item, as well as thecalculateSimilarity
andgenerateRecommendations
functions. -
The
generateRecommendations
function uses thecalculateSimilarity
function to recommend items that are similar to a given input item.
-
Contributions to the project are welcome! Please feel free to submit a pull request or open an issue on the project's GitHub repository to share your ideas or improvements.
This project is licensed under the MIT license. See the LICENSE
file for more details.
This project was inspired by this blog post.