From the course: Building Deep Learning Applications with Keras

Unlock the full course today

Join today to access over 24,700 courses taught by industry experts.

Data pre-processing for training

Data pre-processing for training

- [Instructor] And here comes the data preparation. So before we go ahead and build a model with Keras, we need to make sure that we have a solid data preparation process completed. So open up code spaces, find the SRC folder, find chapter three, and let's start with Import Libraries Begin. So for this particular portion, we will start with importing the libraries we will be using. So let's start with import pandas as pd and then in code spaces, we only have the CPU version available. So we are actually installing the TensorFlow CPU version only. That's why some of the warnings come up related to that. So to have a clean terminal, we will just go ahead and make those logging to level two. So go ahead and say OS environment and then TensorFlow CPP mean log level 2. Next, we will move on to sklearn. So from sklearn, we will add model selection, and we will have import, train, and test split. So I will go ahead and take all the other ones from sklearn, so that we can fit in all of these…

Contents