To run the application, just follow these steps:
- Download the historical Bitcoin data from https://www.kaggle.com/mczielinski/bitcoin-historical-data. Then unzip and extract the .csv file.
- Open your preferred IDE (for example, Eclipse/IntelliJ) and create the Maven or SBT project.
- Run the Preprocess.scala script to convert the historical data into a time series. This script should generate two .csv files (that is, scala_test_x.csv and scala_test_y.csv).
- Then train the GradientBoostedTree model (use TrainGBT.scala script) using the previously generated files.
- Save the best (i.e. cross-validated) Pipeline model containing all the pipelines' steps.
- Then download the Scala Play app and all the files (that is, ...