DLT Unit-03
💡 Click on any image for better visualizing!

1) Neural Networks

ANN CNN RNN
ANN stands for Artificial Neural Network CNN stands for Convolutional Neural Network RNN stands for Recurrent Neural Network
ANN is also called a Feed-Forward Neural Network(FFNN) It uses a Convolutional layer to extract features from the data It uses a recurrent layer to process the sequential data
Input Layers -> Hidden Layers -> Output Layers It processes grid-like data It processes Sequential data
Input data is Independent Input data is independent Input data is dependent
It handles fixed-length inputs It handles fixed-length inputs It handles Variable-length inputs
ANN is very simple CNN is less complex RNN is highly complex
Example:
  • Pattern Recognition
Example:
  • Image Recognition
Example:
  • Time-series prediction
ANN CNN RNN
DLT Unit-03

2) Anatomy of Neural Network

Anatomy of Neural Network

Layer:

Model(Network):

Input and Target:

Loss Functions:

Optimizer:

DLT Unit-03

3) Deep Learning Stack

Deep Learning Stack

a) Hardware Stack:

b) Software Stack:

DLT Unit-03

4) Architecture of Keras (or) Keras Workflow (or) high-level building blocks

Keras Architecture

Prepare the Data:

Layer:

Model(Network):

Compile the Model:

Train the Model:

Evaluate the Model:

Predict the Model:

DLT Unit-03

5) Binary classification(classifying movie reviews)

Binary Classification

Input:

Pre-Processing:

Feature Extraction:

Classification:

DLT Unit-03

6) Training Loss vs Validation Loss

program:

a = history.history
b = a['loss']
c = a['val_loss']
epochs = range(1, len(b) + 1)

plt.plot(epochs, b, 'bo', label='Training loss')
plt.plot(epochs, c, 'b', label='Validation loss')

plt.title('Graph')
plt.xlabel('Epochs')
plt.ylabel('Loss')
plt.legend()
plt.show()

Output:

Training Loss vs Validation Loss
DLT Unit-03

7) NVIDIA GPUs vs cloud-based GPUs

NVIDIA GPUs cloud-based GPUs
NVIDIA GPUs are the best GPUs for deep learning When you don't have an NVIDIA GPU, Cloud-based GPUs are best for deep learning
NVIDIA GPUs support frameworks and libraries such as TensorFlow and Keras. Cloud-based also supports frameworks and libraries such as TensorFlow and Keras.
NVIDIA GPUs support CUDA Cloud-based GPUs also support CUDA
It needs an Operating System It needs an Internet connection
NVIDIA GPUs are better when compared to other GPUs Cloud-based GPUs are better than NVIDIA GPUs
High performance and High Throughput when compared to other GPUs High performance and High Throughput when compared to NVIDIA GPUs
High Cost cost effectiveness
NVIDIA GPUs Cloud-based GPUs
DLT Unit-03

8)Explain the steps in setting up the deep-learning workstation.

setting up DL workstation