Abstract

BackgroundThe collection and examination of social media has become a useful mechanism for studying the mental activity and behavior tendencies of users. Through the analysis of a collected set of Twitter data, a model will be developed for predicting positively referenced, drug-related tweets. From this, trends and correlations can be determined.MethodsSocial media data (tweets and attributes) were collected and processed using topic pertaining keywords, such as drug slang and use-conditions (methods of drug consumption). Potential candidates were preprocessed resulting in a dataset of 3,696,150 rows. The predictive classification power of multiple methods was compared including SVM, XGBoost, BERT and CNN-based classifiers. For the latter, a deep learning approach was implemented to screen and analyze the semantic meaning of the tweets.ResultsTo test the predictive capability of the model, SVM and XGBoost were first employed. The results calculated from the models respectively displayed an accuracy of 59.33% and 54.90%, with AUC’s of 0.87 and 0.71. The values show a low predictive capability with little discrimination. Conversely, the CNN-based classifiers presented a significant improvement, between the two models tested. The first was trained with 2661 manually labeled samples, while the other included synthetically generated tweets culminating in 12,142 samples. The accuracy scores were 76.35% and 82.31%, with an AUC of 0.90 and 0.91. Using association rule mining in conjunction with the CNN-based classifier showed a high likelihood for keywords such as “smoke”, “cocaine”, and “marijuana” triggering a drug-positive classification.ConclusionPredictive analysis with a CNN is promising, whereas attribute-based models presented little predictive capability and were not suitable for analyzing text of data. This research found that the commonly mentioned drugs had a level of correspondence with frequently used illicit substances, proving the practical usefulness of this system. Lastly, the synthetically generated set provided increased accuracy scores and improves the predictive capability.

Highlights

  • The collection and examination of social media has become a useful mechanism for studying the mental activity and behavior tendencies of users

  • A prospective solution is in social media, which has been used as a source for studying the mental activity and behavior tendencies of users [2]

  • area under the curve (AUC) is derived regarding the receiver operating characteristic (ROC) curve, which indicates the capability of a model to distinguish between classes

Read more

Summary

Introduction

The collection and examination of social media has become a useful mechanism for studying the mental activity and behavior tendencies of users. Tassone et al BMC Med Inform Decis Mak 2020, 20(Suppl 11):304 a less honest or unwilling response This limits the usefulness of the data collected and provides a demand for an accurate system. Current research has gone so far as to suggest the possible validity in utilizing the information posted online as a substitution for actual surveyed data [3,4,5]. This fact is not necessarily surprising, as there is widespread utilization and sites such as Twitter are consistently accessed by a significant population of people. As social media is prevalent in today’s society, it provides an excellent opportunity for developing a generalized drug detection system, as well as a manner for extracting relevant trends

Objectives
Methods
Results
Discussion
Conclusion
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call