{"id":{"repo_id":"umn","oai_identifier":"oai:conservancy.umn.edu:11299/216080"},"canonical_url":"https://search.ndltd.org/etd/umn/oai:conservancy.umn.edu:11299/216080","repository":{"repo_id":"umn","name":"University of Minnesota","base_url":"https://conservancy.umn.edu/server/oai/request"},"display":{"title":"Hate Speech Detection In Twitter: A Selectively Trained Ensemble Method","abstract":"This thesis tests classiﬁcation models from Natural Language Processing and Machine learning in the task of identifying hate speech. We tested on multiple annotated data sets (Davidson et al. 2017) of tweet data labeled as hate speech, oﬀensive speech, both, or neither. Hate speech has become an unavoidable topic in the current social media environment due to poorly monitored comment sections and news feeds. With that, studies showing the negative aﬀects that it brings to people’s well-being have also begun to surface (Gelber and McNamara 2015). Therefore, being able to identify hate speech accurately and precisely has grown in importance. Hate speech is often contextual, subjective, and a matter of opinion which makes creating an accurate model of such speech all the more diﬃcult. We have found that using an ensemble method of a classic Naive Bayes classiﬁer (Pedregosa et al. 2019c), Random Forest (Pedregosa et al. 2019b), K-Means (Pedregosa et al. 2019d), and Bernoulli (Pedregosa et al. 2019a) performed better than similar studies in precision, accuracy, recall, and f-score (Malmasi and Zampieri 2018). The ensemble performed better than using the strongest of the individual models, Random Forest, by a small but useful margin. We believe this to be due to the nuanced nature and context behind hate speech being more than one model can fully encompass. In addition to the ensemble strategy, training on data which was labeled as ‘clean’ (not hate speech or oﬀensive) or labeled ‘dirty’ (hate speech) with higher conﬁdence ratings increased the precision of our model by around 10% in some cases when compared to training on the complete data set including the tweets which have a blurred sentiment such as oﬀensive but not hate speech tweets. Having an accurate and precise model such as this will allow organizations to protect their users from such language to prevent the negative eﬀects of hate speech. Additionally, it will allow us to identify more hate speech tweets or statements to have more data to research in the future and ﬁnd deeper trends than simply the tweet text, such as replies, retweets, and user biographies.","abstract_html":"This thesis tests classiﬁcation models from Natural Language Processing and Machine learning in the task of identifying hate speech. We tested on multiple annotated data sets (Davidson et al. 2017) of tweet data labeled as hate speech, oﬀensive speech, both, or neither. Hate speech has become an unavoidable topic in the current social media environment due to poorly monitored comment sections and news feeds. With that, studies showing the negative aﬀects that it brings to people’s well-being have also begun to surface (Gelber and McNamara 2015). Therefore, being able to identify hate speech accurately and precisely has grown in importance. Hate speech is often contextual, subjective, and a matter of opinion which makes creating an accurate model of such speech all the more diﬃcult. We have found that using an ensemble method of a classic Naive Bayes classiﬁer (Pedregosa et al. 2019c), Random Forest (Pedregosa et al. 2019b), K-Means (Pedregosa et al. 2019d), and Bernoulli (Pedregosa et al. 2019a) performed better than similar studies in precision, accuracy, recall, and f-score (Malmasi and Zampieri 2018). The ensemble performed better than using the strongest of the individual models, Random Forest, by a small but useful margin. We believe this to be due to the nuanced nature and context behind hate speech being more than one model can fully encompass. In addition to the ensemble strategy, training on data which was labeled as ‘clean’ (not hate speech or oﬀensive) or labeled ‘dirty’ (hate speech) with higher conﬁdence ratings increased the precision of our model by around 10% in some cases when compared to training on the complete data set including the tweets which have a blurred sentiment such as oﬀensive but not hate speech tweets. Having an accurate and precise model such as this will allow organizations to protect their users from such language to prevent the negative eﬀects of hate speech. Additionally, it will allow us to identify more hate speech tweets or statements to have more data to research in the future and ﬁnd deeper trends than simply the tweet text, such as replies, retweets, and user biographies.","abstract_has_math":false,"creators":["Houston, Jackson"],"institution":null,"degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":[],"committee_chairs":[],"committee_members":[],"year":2020,"date_issued":"2020-05","date_published":"2020-05","updated_at":"2026-11-19T09:50:33Z","subjects":["Ensemble","Hate Speech","Machine Learning","Natural Language Processing","Selective Training","Twitter"],"languages":["en"],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Houston, Jackson. (2020). Hate Speech Detection In Twitter: A Selectively Trained Ensemble Method. Retrieved from the University Digital Conservancy, https://hdl.handle.net/11299/216080."],"render_values":[{"text":"Houston, Jackson. (2020). Hate Speech Detection In Twitter: A Selectively Trained Ensemble Method. Retrieved from the University Digital Conservancy, https://hdl.handle.net/11299/216080.","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"http://hdl.handle.net/11299/216080","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"http://hdl.handle.net/11299/216080","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","download_url":null,"download_label":null,"download_source":null,"access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://conservancy.umn.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aconservancy.umn.edu%3A11299%2F216080","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:creator","label":"Author","values":["Houston, Jackson"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2020-09-08T13:55:34Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2020-09-08T13:55:34Z"]},{"key":"dc:date.issued","label":"Date","values":["2020-05"]},{"key":"dc:type","label":"Dc Type","values":["Thesis or Dissertation"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Ensemble","Hate Speech","Machine Learning","Natural Language Processing","Selective Training","Twitter"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Houston, Jackson. (2020). Hate Speech Detection In Twitter: A Selectively Trained Ensemble Method. Retrieved from the University Digital Conservancy, https://hdl.handle.net/11299/216080."]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["http://hdl.handle.net/11299/216080"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["University of Minnesota M.S. thesis. May 2020. Major: Computer Science. Advisor: Richard Maclin. 1 computer file (PDF); viii, 35 pages."]},{"key":"dc:description.abstract","label":"Abstract","values":["This thesis tests classiﬁcation models from Natural Language Processing and Machine learning in the task of identifying hate speech. We tested on multiple annotated data sets (Davidson et al. 2017) of tweet data labeled as hate speech, oﬀensive speech, both, or neither. Hate speech has become an unavoidable topic in the current social media environment due to poorly monitored comment sections and news feeds. With that, studies showing the negative aﬀects that it brings to people’s well-being have also begun to surface (Gelber and McNamara 2015). Therefore, being able to identify hate speech accurately and precisely has grown in importance. Hate speech is often contextual, subjective, and a matter of opinion which makes creating an accurate model of such speech all the more diﬃcult. We have found that using an ensemble method of a classic Naive Bayes classiﬁer (Pedregosa et al. 2019c), Random Forest (Pedregosa et al. 2019b), K-Means (Pedregosa et al. 2019d), and Bernoulli (Pedregosa et al. 2019a) performed better than similar studies in precision, accuracy, recall, and f-score (Malmasi and Zampieri 2018). The ensemble performed better than using the strongest of the individual models, Random Forest, by a small but useful margin. We believe this to be due to the nuanced nature and context behind hate speech being more than one model can fully encompass. In addition to the ensemble strategy, training on data which was labeled as ‘clean’ (not hate speech or oﬀensive) or labeled ‘dirty’ (hate speech) with higher conﬁdence ratings increased the precision of our model by around 10% in some cases when compared to training on the complete data set including the tweets which have a blurred sentiment such as oﬀensive but not hate speech tweets. Having an accurate and precise model such as this will allow organizations to protect their users from such language to prevent the negative eﬀects of hate speech. Additionally, it will allow us to identify more hate speech tweets or statements to have more data to research in the future and ﬁnd deeper trends than simply the tweet text, such as replies, retweets, and user biographies."]},{"key":"dc:title","label":"Title","values":["Hate Speech Detection In Twitter: A Selectively Trained Ensemble Method"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:creator":["Houston, Jackson"],"dc:date.accessioned":["2020-09-08T13:55:34Z"],"dc:date.available":["2020-09-08T13:55:34Z"],"dc:date.issued":["2020-05"],"dc:description":["University of Minnesota M.S. thesis. May 2020. Major: Computer Science. Advisor: Richard Maclin. 1 computer file (PDF); viii, 35 pages."],"dc:description.abstract":["This thesis tests classiﬁcation models from Natural Language Processing and Machine learning in the task of identifying hate speech. We tested on multiple annotated data sets (Davidson et al. 2017) of tweet data labeled as hate speech, oﬀensive speech, both, or neither. Hate speech has become an unavoidable topic in the current social media environment due to poorly monitored comment sections and news feeds. With that, studies showing the negative aﬀects that it brings to people’s well-being have also begun to surface (Gelber and McNamara 2015). Therefore, being able to identify hate speech accurately and precisely has grown in importance. Hate speech is often contextual, subjective, and a matter of opinion which makes creating an accurate model of such speech all the more diﬃcult. We have found that using an ensemble method of a classic Naive Bayes classiﬁer (Pedregosa et al. 2019c), Random Forest (Pedregosa et al. 2019b), K-Means (Pedregosa et al. 2019d), and Bernoulli (Pedregosa et al. 2019a) performed better than similar studies in precision, accuracy, recall, and f-score (Malmasi and Zampieri 2018). The ensemble performed better than using the strongest of the individual models, Random Forest, by a small but useful margin. We believe this to be due to the nuanced nature and context behind hate speech being more than one model can fully encompass. In addition to the ensemble strategy, training on data which was labeled as ‘clean’ (not hate speech or oﬀensive) or labeled ‘dirty’ (hate speech) with higher conﬁdence ratings increased the precision of our model by around 10% in some cases when compared to training on the complete data set including the tweets which have a blurred sentiment such as oﬀensive but not hate speech tweets. Having an accurate and precise model such as this will allow organizations to protect their users from such language to prevent the negative eﬀects of hate speech. Additionally, it will allow us to identify more hate speech tweets or statements to have more data to research in the future and ﬁnd deeper trends than simply the tweet text, such as replies, retweets, and user biographies."],"dc:identifier.citation":["Houston, Jackson. (2020). Hate Speech Detection In Twitter: A Selectively Trained Ensemble Method. Retrieved from the University Digital Conservancy, https://hdl.handle.net/11299/216080."],"dc:identifier.uri":["http://hdl.handle.net/11299/216080"],"dc:language.iso":["en"],"dc:subject":["Ensemble","Hate Speech","Machine Learning","Natural Language Processing","Selective Training","Twitter"],"dc:title":["Hate Speech Detection In Twitter: A Selectively Trained Ensemble Method"],"dc:type":["Thesis or Dissertation"],"others:access_status":["open.access"]},"updated_at":"2026-11-19T09:50:33Z"}