Coder Social home page Coder Social logo

aaronoah / sentimento Goto Github PK

View Code? Open in Web Editor NEW

This project forked from uvaa-big-data/sentimento

1.0 2.0 0.0 133 KB

Stock sentiment analysis

License: MIT License

Python 38.25% Jupyter Notebook 55.72% Shell 3.78% Dockerfile 2.24%
big-data cassandra kafka spark tensorflow tweepy scrapy

sentimento's Introduction

Sentimento

Stock sentiment analysis project, correlate stock behaviors and tweet sentiments.

Getting Started

This project only provides a single node deployment method guidance using docker-compose, users may also use bootstrap script to customize their own builds in cluster environments.

make sure you install Docker (version >= 18) and run the following command to bootstrap Sentimento in your computer:

docker-compose up

System requirements

System: Mac OSX (10.12.6) Sierra or higher
Storage: 16GB RAM, 100GB+ Disk space

Note: This project requires the machine to have at least 16GB of RAM and more than 100GB of disk storage to fully operate. If not so, the data is insufficient to provide a more accurate result.

Development Setup

Make sure for each module, use the specific Python version noted in .python-version

Follow the instructions on this site to install pip and virtualenv

Then, to start a new module development:

  • cd to the module directory

  • run virtualenv venv to create a new isolated environment

  • activate your venv by source ./bin/activate, install any dependencies by pip install <your dependency>

  • The directory of venv contains all libraries and binaries you will use under your module and it is not check into the source.

  • before deactivation, run pip freeze --local > requirements.txt to dump module dependencies to requirements.txt

  • deactivate your venv by deactivate, specify a .python-version file with your module's Python version

then you are done.

To work with existing modules:

  • cd to the module directory

  • install a Python version specified in .python-version

  • run virtualenv venv to create a venv

  • activate your venv and run pip install -r requirements.txt to install dependencies for that module

  • deactivate as above

Example insights

In Zeppelin dashboard, an example of a stock price movement versus the average sentiment values of relevant tweets, Facebook (symbol: FB) share has relative higher price with more positive sentiments while lower price with more negative sentiments.

img

License

Copyright © 2018, Sentimento is licensed under MIT.

sentimento's People

Contributors

aaronoah avatar tonydimitrov97 avatar

Stargazers

 avatar

Watchers

 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.