Recommendation of similar X profiles using machine learning algorithms

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

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.

Keywords


K-means clustering; K-nearest neighbors; Machine learning; Metadata-based filtering; Recommendation; Social networks; X profile

Full Text:

PDF


DOI: http://doi.org/10.11591/ijai.v15.i6.pp5040-5049

Refbacks

  • There are currently no refbacks.


Copyright (c) 2026 Ismail Bensassi, Oussama Ndama, Mohamed Kouissi, El Mokhtar En-Naimi

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

IAES International Journal of Artificial Intelligence (IJ-AI)
ISSN/e-ISSN 2089-4872/2252-8938 
This journal is published by the Institute of Advanced Engineering and Science (IAES).

View IJAI Stats