Member-only story
TensorFlow Template for Deep Learning Beginners
How to Build Your First Deep Neural Network
What is Deep Learning?
Deep learning is a sub-category of machine learning models that uses neural networks. In a nutshell, neural networks connect multiple layers of nodes and each node can be considered as a mini machine learning model. The output of the model then feeds as the input of the subsequent node.
TensorFlow is a Python library that primarily focuses on providing deep learning framework. To install and import TensorFlow library:
pip install tensorflow
import tensorflow as tf
How to Build a TensorFlow Deep Neural Network
The skeleton of a deep learning models generally follows the structure below and we can use Keras API to implement a beginner friendly deep learning model. There is a lot of variation we can add at each stage to make the model more complex.
- Prepare dataset: data preparation and feature engineering techniques
- Define the model: model type, number of layers and units, activation…