Code Monkey home page Code Monkey logo

cbd's Introduction

cbd - Cyberbullying Detection System

About the project

This project was funded by a small grant provided by AUDA Foundation for a project entitled Developing an online cloud-based cyberbullying detection system to Bhuva Narayan at UTS.

What is included in the project?

  • The project consists of a web-based application build in django (i.e. Python) that includes a dashboard for users to monitor cyberbullying (located in the cbd_project folder).
  • A machine learning classification algorithm (eg Support Vector Machine) can be trained to identify cyberbullying messages and then the classified messages can be imported into a database and is summarised on a dashboard.
  • The dashboard displays timeseries data, topic models (for cyberbullying messages and non cyber bullying messages) and a summary of the affective dimensions found in the test messages (for cyberbullying messages and non cyber bullying messages)
  • Cron scripts (in the cronscripts) folder that must be scheduled to perform topic modeling and affective sentiment analysis (i.e. topicmodelandaffectivelexicon.py)
  • A moderation role that is able to mark classified messages as mis-classified.
  • A sample python script to get data from Twitter (i.e. injest_twitter.py)

Dashbaord

Installation Requirements

Building a Classifier

In order to build a cyberbullying classifier a manually labelled dataset is required. A few labeled datasets are available (http://chatcoder.com/DataDownload) but it is recommended that you create and label your own dataset based upon the social media platform that you need to integrate with. Weka can be used to train and evaluate the classification algorithm. It is recommended that training and testing be performed with a Support Vector Machine, Mutinomial Naive Bayes and Random Forest. A good tutorial to follow is https://www.youtube.com/watch?v=IY29uC4uem8

Topic Modeling and Affective Sentiment Analysis

  • The gensim library is used to perform topic modeling using the Latent Dirichlet Allocation algorithm. The dashboard displays topics for non cyberbullying messages and cyberbullying messages. 10 topics are displayed along with 5 of the top words in the topic.
  • The affective sentiment analysis uses a publically available NRC Word-Emotion Association Lexicon - Version 0.92 (http://www.saifmohammad.com/WebPages/ResearchInterests.html). Words in the corpus are matched to the lexicon and counted for both non cyberbullying messages and cyberbullying messages in topicmodelandaffectivelexicon.py. The resulting counts across the affective dimensions are displayed on a radar plot on the dashboard.

Dashboard Template

The project uses the sb-admin2 twitter bootstrap admin template (http://startbootstrap.com/template-overviews/sb-admin-2/).

cbd's People

Contributors

aneesha avatar

Watchers

James Cloos avatar Jeet gangele avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.