Natural Language Processing Journal · 2023 · 30 citations · 15 references
ComputingComputer ScienceGenderMachine LearningNatural Language ProcessingLanguage ModelingLanguage ModelsSocial MediaSupport Vector MachinesText Feature EngineeringWord EmbeddingsClassification AccuracyClassification Accuracy AnalysisNaive BayesNaive Bayes ClassificationRandom ForestsText ClassificationTextual Data ModelingUser Representation Learning
Social media are well-established means of online communication, generating vast amounts of data. In this paper, we focus on Twitter and investigate behavioural differences between male and female users on social media. Using Natural Language Processing and Machine Learning approaches, we propose a user gender identification method that considers both the tweets and the Twitter profile description of a user. For experimentation and evaluation, we enriched and used an existing Twitter User Gender Classification dataset, which is freely available on Kaggle. We considered a variety of methods and components, such as the Bag of Words model, pre-trained word embeddings (GLOVE, BERT, GPT2 and Word2Vec) and machine learners, e.g., Naïve Bayes, Support Vector Machines and Random Forests. Evaluation results have shown that including the Twitter profile description of a user significantly improves gender classification accuracy, by 10% approximately. Stanford’s GLOVE embedding model, pre-trained on 2 billion tweets, 27 billion tokens and a vocabulary size of 1.2 million words, achieved the highest gender prediction accuracy, considering both the tweets and the profile description of a user. Statistical significance has been assessed using McNemar’s two-tailed test.
15
DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) · 2023 · 76.3K citations · Full text
Scikit-learn: Machine Learning in Python
Fabián Pedregosa, Gaël Varoquaux, Alexandre Gramfort et al. · arXiv (Cornell University) · 2012 · 63.7K citations · Full text
XGBoost: A Scalable Tree Boosting System
arXiv (Cornell University) · 2016 · 7.1K citations · Full text