Artificial Neural Network
Artificial Neural Network
Keras Syntax Basics¶
Keras is now the main API to interact with TensorFlow 2.0 thus here we will take notes of the basic of this API, we will use the same example use in the Udemy course materials for sake of simplicity.
- Load the data
- Explore the data
- Split the data in test and training
- Normalize the data
- import TensorFlow
- Create a model
- Training
- Evaluation
- Predict in brand new data
- Saving and loading the model
Load the data¶
To load data we use pandas rather than keras, and to load it is as we saw before with read_csv()
so the code will be something like:
Explore the data¶
To explore the data we can use the different visualization libraries, example: * seaborn * matplotlib
the code as and example will be