In the Code Approach you will learn how to build two types of prediction models in Watson Studio’s Jupyter Notebooks. As a Developer you will have full control over the model’s hyperparameters and the training data in this section.
What are Hyperparameters? A hyperparameter is a parameter whose value is used to control the learning process in a Machine Learning Algorithm. The same kind of machine learning models can require different constraints, weights or learning rates to generalize different data patterns. Hence we tune or optimize the hyperparameters so that the model can optimally solve the machine learning problem.
You will be using the following notebooks in this section:
Region-Brussels-LSTM.ipynb
Region-Wallonia-LSTM.ipynb
Region-All-Decision-Trees.ipynb
The LSTM notebooks are used to build the prediction models to predict future COVID-19 cases for Brussels and Wallonia region respectively. LSTM models are built using the data from the datasets in the S3 bucket. Both the models are built with different hyperparameters.
LSTM Model for Brussels region is built with the following hyperparameters:
0.70
30
2
55
, 100
0.15
, 0.15
adam
0.001
(default)25
32
LSTM Model for Wallonia region is built with the following hyperparameters:
0.70
30
2
60
, 100
0.15
, 0.15
adam
0.001
(default)25
32
Aditionally, Decision Tree notebook is used to build a model to predict the Risk Index for Brussels, Flanders and Wallonia region.
Decision Tree models are built with the following hyperparameters:
0.70
4
2
1
entropy