DL Classtest3
DL Classtest3
Answer:
CNNs are designed to process spatial data, like images, by using filters
that detect features such as edges and shapes. They are effective for
structured grid data and capturing spatial hierarchies.
RNNs are designed for sequential data, such as text or time series, as they
retain information across time steps using recurrent connections. This
makes them suitable for tasks involving sequences, like language
modeling.
2. What is dropout?
Answer:
Dropout is a regularization technique in neural networks where randomly
selected neurons are "dropped" or deactivated during training. This
prevents overfitting by forcing the network to learn multiple
representations and reducing co-dependency among neurons.
Batch Gradient Descent, on the other hand, uses the entire dataset to
update the weights, which is more stable but can be computationally
expensive and slower on large datasets.
4. What are some of the hyperparameters that need to be tuned when
using dropout?
Answer:
Key hyperparameters include the dropout rate (the proportion of
neurons to drop out) and the layer selection (determining which layers to
apply dropout to, usually hidden layers rather than input or output layers).
PART B
1. Explain the different layers in a Convolutional Neural Network and
discuss their functions.
Answer: