Skip to content
Review Open access

Cyberbullying-Related Message Screening Using Keyword-Trained Logistic Regression and Dashboard Visualization

2026 · International journal of research and scientific innovation · 0 citations

Abstract

Cyberbullying involves online insults, threats and discriminatory messages that can harm emotional well-being. Identifying potentially harmful content is challenging because interpretation depends on context. This study develops and evaluates integrated message screening and dashboard visualization using Logistic Regression, Python, Streamlit and SQLite. English text is normalized and represented using binary word unigrams and bigrams combined with binary character n-grams of lengths two to four. A probability threshold of 0.50 determines classification, while illustrative rules assign category and review indicators to positive predictions. The dataset contains 1,736 cleaned keyword entries, with 1,388 used for training and 348 reserved for generated-sentence evaluation using unseen keywords. The holdout achieved 87.36% accuracy, 85.75% balanced accuracy, 86.78% precision, 78.95% recall and 82.68% F1-score for the cyberbullying class. Known-keyword sentence consistency testing achieved 89.50% accuracy across 5,208 samples, while predictions matched expected labels for 17 of 20 selected social-media messages. Lower recall than precision indicates missed positively labelled samples. The dashboard presents predictions, supporting keywords and detection history, with incident-reporting and case-management functions supporting administrator review. Local functional testing covered authentication, message analysis, record storage, role restrictions and reporting. The findings support system feasibility within the evaluated lexical and application scope. The system supports preliminary screening and monitoring, with human review remaining necessary for contextual interpretation and appropriate responses. Evaluation was limited to generated sentences and selected messages; performance on independently annotated natural conversations remains unestablished. No controlled baseline, feature ablation or probability calibration was evaluated, and category indicators do not establish incident severity.

Read PDF

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.