Skip to content

chaitanya2593/Crypto_Timeseries_Analysis

Repository files navigation

Time Series modelling of Crypto Currencies

Table of Contents
  1. About The Project
  2. Getting Started
  3. Code Usage
  4. License
  5. Contact
  6. Reference

About The Project

We are Frankfurt School (FS) students who are currently pursing Masters in Applied Data Science. As part of our Deep learning course we had perform Time series analysis to predict the returns from 10 Crypto coins. We have performed wide range of Exploratory Data Analysis (EDA) and applied from basic Machine Learning(ML) algorthms to advanced Neural Network analysis.

We have followed both classification and regression approach to understand which is more accurate with the predictions. We attached the notebooks for both in the repo.

Product Name Screen Shot

(back to top)

Contact

Students from Frankfurt School - MADS class of 2023 (in the alphabetical order of first name)

  1. Eduardo Garcia
  2. Nari Kim
  3. Chloe Dang
  4. Vishnu Prabhakar
  5. VS Chaitanya Madduri
  6. Yumeng Zhang

Project Link: https://github.com/chaitanya2593/Crypto_Timeseries_Analysis.git

(back to top)

Built With

  • Python
    • Data science packages
    • tensorflow
    • Plotly
    • seglearn
  • Google Colab

(back to top)

Getting Started

Code development is performed in the google drive, Google colab notebooks are used for development. Colab already has required data science packages preinstalled and provided the pip (python package installer) commands where it is required.

Prerequisites

  • The user should have an google account and access to the google drive as well.
  • Please install the packages listed in the requirements.txt by pip install -r requirements.txt

Installation

You can simply go to Google Colab and you can choose 'GitHub' on the box which you can see when you just go to the Colab site and login. Colab will automatically redirect you to github in order to authorize your github account. Then you can choose repository to use at Google Colab!

  • Share google drive folders mentioned in the notebooks to the mounting drive before starting executing
  • Please mount the google drive and execute the notebooks cell

Code Usage

Regression

Overall end-to-end process has been divided into 3 steps. The execution of the files should also be in the same order. In individual the required input files are already mentioned in the code comments.We have three ipynb files in this folder, the first one for EDA and classical modelling; LGBM, XGB,RF, Elastic Net Regression, second one for LSTM model and the final one for ARIMA.

  • 01_Time_Series_Regression_LGBM_XGBOOST_RF_Elastic_Net_LR.ipynb
    • EDA and classical modelling; LGBM, XGB,RF, Elastic Net Regression
  • 02_LSTM_model.ipynb
    • LSTM model
  • 03_ARIMA.ipynb
    • ARIMA model

Classification

Overall end-to-end process has been divided into 5 steps. we have applied wide range of algorithms with different datasets.

  • 0_preprocess_data.ipynb
    • The script is developed to pool the data together and generate hourly/daily/weekly data
  • 1_Classification_Hourly/Daily_EDA.ipynb
    • In this script, we tried to explore partial correlation and seasonality of our target variable. After deciding to use daily data, there are additional EDA for only daily data
  • 2_model_building_tuning_F3.ipynb
    • In this script, we only use columns provided in original data and time variables to build dummy classifier, random forest and LGBM
  • 3_model_building_tuning_F13.ipynb
    • In this script, we generate lag, technical analysis and market features and apply dummy, random forest, XGB and LSTM classifier
  • 4_model_building_LSTM_F13.ipynb
    • In this script, we use new features, roll the data and apply LSTM
  • 5_model_Testing_F13.ipynb
    • This script is developed to plot the comparison between different models

(back to top)

License

Distributed under the GNU License. See LICENSE.txt for more information.

(back to top)

Reference

(back to top)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published