Lecture Review: Neural Network Training Concepts

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/11

flashcard set

Earn XP

Description and Tags

These flashcards cover key concepts related to training neural networks, including cross entropy, the vanishing gradient problem, hyperparameters, and architecture considerations.

12 Terms

1
New cards

What is the purpose of cross entropy in machine learning?

Cross entropy is used to measure the difference between two probability distributions, promoting better class separation in classification tasks.

2
New cards

What problem does the vanishing gradient issue pose in deep neural networks?

It causes gradients to become very small, slowing down or stopping the learning process, particularly in earlier layers of the network.

3
New cards

Why is ReLU preferred over sigmoid in many neural networks?

ReLU allows for faster learning by avoiding the vanishing gradient problem and maintaining a gradient of 1 for positive inputs.

4
New cards

What is a hyperparameter?

A hyperparameter is a parameter that is set before the learning process begins and cannot be learned by the model itself, such as learning rate or batch size.

5
New cards

What is the function of the softmax activation function?

Softmax converts the raw output of the model into a probability distribution for multi-class classification problems, ensuring outputs sum to 1.

6
New cards

What is an epoch in the context of training neural networks?

An epoch is one complete pass through the entire training dataset during the training process.

7
New cards

How can the learning rate affect the training process?

A higher learning rate may lead to faster convergence but risks overshooting the optimal solution, while a lower learning rate may result in very slow convergence.

8
New cards

What does overfitting mean in the context of model training?

Overfitting occurs when a model learns noise and fluctuations in the training data to the extent that it negatively impacts the model's performance on new data.

9
New cards

What is the purpose of batch size in training neural networks?

Batch size determines the number of samples processed before the model's internal parameters are updated, affecting memory use and training dynamics.

10
New cards

How does adjusting batch size impact the training time and model performance?

Smaller batch sizes can increase the number of updates per epoch, improving learning opportunities, but they may also increase training time and lead to more fluctuation in gradients.

11
New cards

What is the significance of the learning curve during model training?

The learning curve helps visualize how a model's performance improves over time, indicating when to stop training or highlight issues such as overfitting.

12
New cards

When should you consider changing your model architecture?

You should consider changing your model architecture if performance plateaus or if the model is not adequately learning patterns from the data.