Giter Site home page Giter Site logo

cyberbullying-tweet-recognition's Introduction

Cyberbullying-Tweet-Recognition-App https://lnkd.in/d_beCUvK

This project involved analyzing tweets.

By understanding the words involved in the tweet, we are going to predict whether a tweet is a cyberbullying tweet or not and if it is a cyberbullying tweet then predicting nature of the cyberbullying into 6 Categories:

  • Age

  • Ethnicity

  • Gender

  • Religion

  • Other Cyberbullying

  • Dataset Used : Cyberbullying Classification data from Kaggle ( https://lnkd.in/d7pfHGT8)

  • Approach:-

  1. Installing the required libraries and importing the data set using pandas was the first step.
  2. Initial review of the data and checked the provided data set for any missing values.
  3. Preformed Preprocessing of text which involved :

~ Removing emoji
~ Converting text to lowercase, removing (/r, /n characters), URLs, non-utf characters, Numbers, punctuations, stopwords
~ Removing Contractions
~ Cleaning Hashtags
~ Filter Special characters
~ Removing Multi-space characters
~ Stemming
~ Lemmatization

  1. Handling Duplicates and removing them
  2. Performed Exploratory Data Analysis
  3. Train and test split
  4. tf-idf Vectorization
  5. Trying different base models :- ~ Logistic Regression
    ~ Support Vector Classifier
    ~ Naive Bayes Classifier
    ~ Decision Tree Classifier
    ~ Random Forest Classifier
    ~ Ada Boost Classifier
  6. Fine Tuning Support Vector Classifier
  7. Model Evaluation and Saving the model
  8. Created the Web App using Streamlit
  9. Deployed Web App on Streamlit
  • Libraries Used : pandas, numpy, matplotlib, seaborn, stats, scipy, re, pickle, string, image, collections, statsmodel, flask, nltk, emoji, wordcloud, streamlit

  • Deployment Platform : Streamlit

  • Kaggle : https://lnkd.in/dTe7PCqx

cyberbullying-tweet-recognition's People

Contributors

jayantverma2809 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.