Training a model using Red Hat ODS
Let’s build a simple model using Red Hat ODS. Recall Chapter 3, Building Machine Learning models with OpenShift, and create a new data science project named wines
. Create a workbench named wines
inside the project using the Standard Data Science notebook image and a Small container size. Create new persistence storage named wines
with 20 GB of storage. There is no need to create a data connection at this stage. Once you create this project, you will have the following screen for your project:
Figure 4.8 – Red Hat data science project
- Now, launch the notebook and clone the accompanying Git repository of this book. Use the
chapter4/wine-data-version.ipynb
file to create a version of thewines.csv
file in the Pachyderm repo. Note the commit ID while running this notebook. - Once you have executed this notebook, open
chapter4/wine-training.ipynb
to train a simple linear regression model. Let’...