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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Recommendation of similar X profiles using machine learning algorithms

Oussama Ndama, Mohamed Kouissi, Ismail Bensassi, El Mokhtar En-Naimi
IAES International Journal of Artificial Intelligence
Recommender Systems and Techniques
article

Recommendation of similar X profiles using machine learning algorithms

Oussama Ndama, Mohamed Kouissi, Ismail Bensassi, El Mokhtar En-Naimi
article en

Abstract

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.

IAES International Journal of Artificial IntelligenceVol. 15(6)
Mohammed V University (MA), Abdelmalek Essaâdi University (MA)
Recommender Systems and Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon