GithubHelp home page GithubHelp logo

counteract's Introduction

logo

Counteract

Welcome to the repository for Counteract, a crowdsourced risk analysis platform for sending nice messages to people who may be having a bad day or show signs of mental illness.

##Info: We utilized SVM Classification on public tweets to classify tweets as happy/sad, then a Markov chain on encouraging tweets to generate a happy message to tweet at the person who tweeted something sad.

##Demo: The following tweets are 100% generated through our system with no human interference :) pic1 pic2 pic3

##File Importance:

  • posts.txt - A list of tweets we mined with a tweet on each line

  • classify.txt - A list of classifications corresponding to posts.txt that we classified as happy/sad

  • encouraging.txt - A list of encouraging messages/quotes that we used to train the Markov chain

  • requirements.txt - A list of Python requirements required to run our project, along with Scikit-Learn and Numpy

  • gettweets.py - Our tweet mining file that saved the tweets into posts/classify.txt

  • nlp1.py - Our original text classification engine courtesy of Patrick Demichele

  • index.py - Our main Python file that streams tweets and generates responses to the sad tweets.

Contributors

The following individuals are currently contributing to Counteract: Jay Shenoy, Andy Kamath, Patrick DeMichele, Karan Kanwar, Kelsey Nieman, Matt Zhou, Michelle Huang, and Rufus Behr.

counteract's People

Contributors

jayshenoy avatar patdemichele avatar yashladha avatar

Watchers

James Cloos avatar  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.