Skip to main content

Cookie settings

We use cookies to ensure the basic functionalities of the website and to enhance your online experience. You can choose for each category to opt-in/out whenever you want.

Essential

Preferences

Analytics and statistics

Marketing

This proposal has been accepted to be implemented in the main repository. Check for updates in the comments

Intelligent recommendations

Main repo (accepted)
Avatar: DataForGoodBCN DataForGoodBCN

When someone publishes a new proposal, a list of similar entries is displayed to avoid duplicates. The current recommendation algorithm calculates the similarity of each pair of proposals based on trigram (sets of 3-characters) comparison. This method, however, does not take into account the semantic aspects of the text and can be easily improved using simple Machine Learning techniques.

We suggest using a technique called word embeddings which consists of assigning to each proposal a multi-dimensional vector, in such a way that similar proposals (in terms of semantics) end up having close vectors. Therefore, the recommendations for a given proposal would be the proposals with the smallest distances between the vectors.

To calculate the vectors associated with each proposal, we suggest using pre-calculated vector embeddings for each word (of those more frequent in the Decidim vocabulary) and then calculating the average of all words appearing in the proposal. The pre-calculation of word vectors could be done offline by any person with medium knowledge of NLP (DataForGoodBCN, the community that has created this proposal, could provide these calculations).



Comment
Avatar: Laura Portell Avatar: Didac Fortuny Avatar: Pauline Bessoles Avatar: Antoine Gaboriau Avatar: Xavi Ros Roca Avatar: Pierre Mesure Avatar: Felipe Álvarez Avatar: txema
Liked by Laura Portell and 16 more

Liked by

Avatar: Laura Portell Laura Portell
Avatar: Didac Fortuny Didac Fortuny
Avatar: Pauline Bessoles Pauline Bessoles
Avatar: Antoine Gaboriau Antoine Gaboriau
Avatar: Xavi Ros Roca Xavi Ros Roca
Avatar: Pierre Mesure Pierre Mesure
Avatar: Felipe Álvarez Felipe Álvarez
Avatar: txema txema
Avatar: Arnau Arnau
Avatar: Pau Parals Pau Parals
Avatar: Quentin Lp Quentin Lp
Avatar: Pablo Aragón Pablo Aragón
Avatar: Carol Romero Carol Romero
Avatar: Oliver Azevedo Barnes Oliver Azevedo Barnes
Avatar: Ivan Vergés Ivan Vergés
Avatar: Platoniq Platoniq
Avatar: Decidim Product Decidim Product

Confirm

Please log in

The password is too short.