Code Monkey home page Code Monkey logo

crypto_predictor's Introduction

Shit tier ML application for bitcoin price prediction

Introduction

Crappy model for bitcoin price prediction using sklearn module's regressor and decision trees. The model is trained over past 4 years data fetched using the coindesk API. The trained model objects are stored in /trained_objects as pickle formatted objects. flask is used to deploy the models online and retrieve the prediction.

ML Model

The depended variables are :-

  • Price on xx/xx/2014
  • Price on xx/xx/2015
  • Price on xx/xx/2016
  • Price on xx/xx/2017

The independent variable (to be predited) is:-

  • Price on xx/xx/2018

Hence, we are limiting the predictions for year 2018, anything after 12/30/2018 won't be, rather can't be predicted using this crappy model.

Flask app

flask_app.py is used to deploy the model online and retrieve prices by calculating predictions over the already trained models (no dynamic data) flask webapp arguments :-

  • model : dt, rr, mll_rr, rfr
  • data: date in MM/DD/YYYY format for prediction

Drawbacks and future developments

  • Temporal data yet i've used randomized train-test sample which gives insights into the future
  • Not enough dependend variables, dates give much more insight than just the UNIX epoch, columns shall be divided into day of month, day of year, day of week etc
  • For other cryptos than bitcoin, bitcoin price should be one of the dependted variable, based on the generaly community phrase "bitcoin is the highway, other cryptos are the roads'
  • No feature engineering whatsoever was done, tch tch tch...
  • Many more...

crypto_predictor's People

Contributors

vaibkumr avatar

Stargazers

lixiangtnt avatar Vaibhav Yadav avatar rohit adnaik avatar  avatar

Watchers

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