Code Monkey home page Code Monkey logo

datamining-project's Introduction

Full data sets and codes please check https://github.com/ZixiaWeng/DataMining-Project

CS145DataMining-Project

Twitter project with topic: Stock Prediction

Team

Don Lee, Shunji Zhan, Yaying Ye, Zeyu Zhang, Zixia Weng

Install

pip install -r requirements.txt
pip3 install -r requirements.txt

Run TweetsCrawler

This may take a while... results are saved in data-set/tweets/ cd utils/ python2 tweetsCrawler.py [since] [until] python2 tweetsCrawler.py 2010-01-01 2010-01-10

Run Sentimental Analysis

cd utils/
python2 sentimentalAnalyzerNp.py [mode (0,1)] [numDays (optional)]
python2 sentimentalAnalyzerNp.py 0
python2 sentimentalAnalyzerNp.py 1 10

python2 sentimentalAnalyzerMulti.py [mode (0,1,2)] [numDays (optional)]
python2 sentimentalAnalyzerMulti.py 0
python2 sentimentalAnalyzerMulti.py 1 10

Run Models and Evaluations

python3 main.py

datamining-project's People

Contributors

tooschoolforcool avatar shunjizhan avatar donleeldb 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.