Coder Social home page Coder Social logo

csinva / news-balancer Goto Github PK

View Code? Open in Web Editor NEW
4.0 5.0 1.0 33.94 MB

News Balancer takes a story and provides articles on that story with credibility and varying political bias. The homepage will randomly generate a story from its archives, but a user can type in a query to get stories relating to their query along with their credibility / political bias.

Python 81.50% HTML 18.50%
django python polarization polarization-data journalism news web-app bias liberal conservative

news-balancer's Introduction

alt text

News Balancer takes a story and provides articles on that story with credibility and varying political bias. The homepage will randomly generate a story from its archives, but a user can type in a query to get stories relating to their query along with their credibility / political bias.

Motivation

America is more divided than ever. In today's world incorrect news sources and politically biased articles stand in the way of a clear understanding of contemporary issues. In fact, the absence of differing viewpoints in today's media has led to echochambers in which peoples prejudices and beliefs are repeatedly confirmed. This leads to a lack of understanding between different groups that can breed discrimination and intolerance.

Technical Details

  1. News Balancer uses scikit learn to find similar articles based on a machine learning algorithm known as Multinomial Naive Bayes Classification. It was trained on a recently released dataset (News Data Aggregator, UCI 2016).
  2. The biases and credibility of publications within this dataset were evaluated using well-known websites (ex. allsides.com).
  3. A Django application was built to visualize the biases in the studied articles, and also to extend it to new queries.

What's next for News Balancer

News Balancer would best work as an extension for news sites that people already go to. Thus News Balancer should take the form of a Chrome extension that could in real-time, check the credibility and bias of sources on news websites. This is especially important for

usage

  • python3 manage.py runserver
  • visit localhost:8000/
  • setup
    • python manage.py makemigrations
    • python manage.py migrate
    • python manage.py syncdb

news-balancer's People

Contributors

csinva avatar james-simon avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

sandy4321

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.