Recommendation of similar X profiles using machine learning algorithms
Identifying similar X (formerly Twitter) profiles is crucial for engagement, personalization, and digital inclusion, especially in contexts with limited data or resources. This article compares two metadata-based similarity methods k-nearest neighbor (KNN) and k-means using only public metadata (followers, verification, and biography). A synthetic ground truth, derived from a balanced partition of the dataset, serves as an evaluation. The results show that KNN achieves 93.7% accuracy, 94.2% precision, 93.1% recall, and 93.6% F1-score, far ahead of k-means (51% in all metrics), thanks to its sensitivity to local similarities in the normalized space. Computation time is under 10 ms per query, with memory usage below 50 MB. Lightweight, reproducible, and independent of interaction logs, this KNN pipeline offers a practical approach for recommendation in data-scarce environments, thereby promoting digital inclusion and equitable access to information.
Authors
- Oussama Ndama (ORCID: https://orcid.org/0009-0005-1303-7114)
- Mohamed Kouissi (ORCID: https://orcid.org/0000-0002-0739-0422)
- Ismail Bensassi (ORCID: https://orcid.org/0009-0004-6712-2456)
- El Mokhtar En-Naimi (ORCID: https://orcid.org/0000-0002-5846-5252)
Institutions
- Mohammed V University (MA)
- Abdelmalek Essaâdi University (MA)
Publication Details
- Journal
- IAES International Journal of Artificial Intelligence
- Published
- 2026-12-01
- DOI
- https://doi.org/10.11591/ijai.v15.i6.pp5040-5049
- Primary Topic
- Recommender Systems and Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00