Giter Club home page Giter Club logo

momustafahmed / sentimentanalysis-socialmedia Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.83 MB

This repository contains a project focused on social media analytics using sentiment analysis machine learning algorithms. The project aims to classify user comments into positive, negative, and neutral sentiments towards a specific topic. It provides a comprehensive approach to understanding public opinion on social media platforms

Jupyter Notebook 100.00%

sentimentanalysis-socialmedia's Introduction

The "SentimentAnalysis-SocialMedia" repository is a project aimed at leveraging machine learning for sentiment analysis on social media platforms, focusing specifically on YouTube comments related to a high-profile criminal case in Mogadishu. The project analyzes user comments to understand public sentiments—positive, negative, and neutral—towards the kidnapping and murder of a young businessman named Kaabax, which garnered significant attention on social media.

  1. Data Collection: Utilizing YouTube's API, the project team collected data from comments on videos discussing the case, storing the data in CSV files for further processing.

  2. Data Processing: The data was cleaned to ensure quality, including removing duplicates and handling outliers. The integrity of the data was preserved to maintain meaningful insights, especially from comments with a high number of likes or replies, which indicate higher engagement.

  3. Analysis:

    • Sentiment Analysis: Machine learning techniques were used to classify the sentiments of the comments into positive, negative, and neutral categories. This classification provided a granular view of public opinion.
    • Visualization: Various distributions, such as comment length and engagement metrics (likes and replies), were visualized to illustrate patterns in the data.
  4. Community Insights:

    • Word Cloud: A Word Cloud was generated to identify and display the most frequently used words in the comments, highlighting key themes and sentiments related to the case.
    • Engagement Analysis: The project identified the most engaging comments and analyzed common themes within these comments, such as calls for justice and expressions of grief.
  5. Model Training and Application:

    • Sentiment Model: A machine learning model was trained to understand and categorize sentiments expressed in the comments. This model helped quantify the community's emotional responses to the incident.
    • Keyword Analysis: Using TF-IDF vectorization, the project extracted keywords associated with positive and negative sentiments, offering insights into the specific language that resonates with the community.
  6. Challenges and Implications:

    • The complexity of the Somali language, including dialects and slang, posed challenges in accurately capturing sentiments, which the project acknowledged.
    • The findings underscore the importance of understanding societal reactions in real-time and offer insights into how the community views justice and morality in light of tragic events.

The project showcases the potential of social media analytics to capture and analyze public sentiment, providing valuable insights into societal values and norms. It also highlights the role of advanced data analytics in understanding complex social dynamics and informs strategies for engaging with the community in meaningful ways. The methods and results from this project can serve as a reference for future research in social media analytics, particularly in contexts involving sensitive or impactful societal events.

sentimentanalysis-socialmedia's People

Contributors

momustafahmed avatar

Watchers

 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.