Skip to content

Instantly share code, notes, and snippets.

View wazeerc's full-sized avatar
🐧
Stuck in Vim

wazeerc wazeerc

🐧
Stuck in Vim
View GitHub Profile
@wazeerc
wazeerc / genRecommendation.ts
Last active October 12, 2025 09:49
Algorithm used to generate a number of recommendations based on selected items
/**
* Represents any item that can be identified.
*/
interface Identifiable {
id: any;
}
/**
* A generic and advanced recommendation algorithm that works with any data type.
* It uses a content-based filtering approach based on feature extraction and cosine similarity.