Giter Site home page Giter Site logo

newsgraphing's Introduction

News Graphing

This repository contains code for studying the network of fake news, including code and data for JF, NF, NK, and EB "Credibility in the News: Do we need to read?" WSDM 2018 workshop on Misinformation and Misbehavior online, http://jpfairbanks.com/mis2-2018.

This codebase includes both a python package and a collection of julia scripts for analyzing fake news. We use NLP tools in python including the fabulous SpaCy library, and classifiers in sklearn. The Belief Propagation that appears here is written in Julia using LightGraphs.jl graphs.

We use PostgreSQL and MongoDB to store structured and unstructured data regarding the articles. For the purpose of reproducibility a static snapshot of the data has been made available through the src/newgraphing/download.py script. In our live system this analysis can be conducted against the data as it is updated every 15 minutes.

Getting Started

Here are some instructions to get going with this project

Depedencies

  • julia
  • python, pip
  • git-lfs

Installing

  1. Download the code git clone github.com/jpfairbanks/newsgraphing && cd newsgraphing
  2. Install all dependencies with pip install .
  3. Install all julia dependencies in the src/fakeprop/REQUIRE file with Pkg.add
  4. Run the main script to generate figures python ./main.py

Contributing

If anything is unclear or doesn't work, let us know on the issues page. Feel free to ask for help by opening a new issue and we will take a look and answer your questions.

Contributors

  • James Fairbanks
  • Nate Knauf
  • Natalie Fitch
  • David Ediger
  • Erica Briscoe

newsgraphing's People

Contributors

jpfairbanks avatar nateknob avatar

Watchers

 avatar

Forkers

aggarwalpiush

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.