deep-learning-with-python-meap-2nd-ed

studied byStudied by 0 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 45

flashcard set

Earn XP

Description and Tags

46 Terms

1

Deep learning models only have to fit relatively simple, low-dimensional, highly-structured subspaces within their potential input data, learning to generalize via interpolation between training samples.

This phenomenon is known as the manifold hypothesis.

New cards
2

The central problem in machine learning is the tension between ____ and ____: the ideal model is one that stands right at the border between ____ and ____; between undercapacity and overcapacity.

Optimization and generalization; underfitting and overfitting.

New cards
3

When should you use the Sequential model over the Functional API?

You should use the Sequential model when your model can be expressed as a simple stack of layers.

New cards
4

The method used to interrupt training when the validation loss is no longer improving is called __________.

EarlyStopping

New cards
5

In Keras, the core building block used to create models is called a __________.

Layer.

New cards
6

What type of problem involves predicting a continuous value instead of a discrete label?

Regression.

New cards
7

The belief that by selecting only the most informative features, you can improve model performance is known as __________.

Feature selection.

New cards
8

A technique that applies a random fraction of units in a neural network layer to be dropped out during training is called __________.

Dropout.

New cards
9

In machine learning, the process of adjusting a model to get the best performance possible on the training data is called __________.

Optimization.

New cards
10

The type of dataset that is used to evaluate a model without any training is known as a __________.

Test set.

New cards
11

When training on images, the size of the data structure (tensor) is usually expressed in the format of (samples, height, width, channels) known as __________.

Channels-last format.

New cards
12

The function used to retrieve the gradient of a loss with respect to the model's variables in TensorFlow is called __________.

GradientTape.

New cards
13

If you need a model to learn complex relationships between inputs and outputs that are not linearly separable, you need to apply a __________ to your last layer.

Non-linear activation function.

New cards
14

A common issue that occurs when a model starts to overly fit to the noise in the training data is called __________.

Overfitting.

New cards
15

The process of adjusting the values of weights in a neural network based on the computed gradients of the loss function is known as __________.

Backpropagation.

New cards
16

The technique that adds a penalty for large weights to the loss function is known as __________.

Weight regularization.

New cards
17

The first step in the training process is to ______ the dataset into training and validation sets.

split

New cards
18

During training, the model learns by adjusting its parameters based on the ______ calculated from the predictions.

loss function

New cards
19

The technique used to prevent overfitting by incorporating noise in the training process is known as ______.

data augmentation

New cards
20

After training the model, its performance is evaluated using the ______ set.

validation

New cards
21

A common strategy to handle imbalanced datasets is to apply ______ techniques.

resampling

New cards
22

To improve model performance, you may want to perform ______ on the optimal hyperparameters.

hyperparameter tuning

New cards
23

When a model's performance is consistently good on the training set but poor on the validation set, it is said to be experiencing ______.

overfitting

New cards
24

The process of using a validation set to make adjustments during training is known as ______.

model tuning

New cards
25

Creating an environment to test and validate the model outside the training set is called ______ testing.

cross-validation

New cards
26

The final performance metric used to evaluate a model can be ______, which summarizes how well the model predicts the target variable.

accuracy

New cards
27

What is the purpose of splitting data into training and validation sets?

The purpose is to train the model on one subset while evaluating its performance on another to prevent overfitting.

New cards
28

What are the two main sets used in machine learning?

Training set and testing set.

New cards
29

What is cross-validation?

A technique that divides the dataset into multiple subsets to evaluate the model's performance multiple times.

New cards
30

What is hyperparameter tuning?

It is the process of adjusting model parameters that are not learned during training, to improve performance.

New cards
31

What does a validation set help with during training?

It helps with monitoring model performance and makes adjustments to improve accuracy.

New cards
32

What is the difference between training loss and validation loss?

Training loss measures error on the training data, while validation loss measures error on unseen validation data.

New cards
33

Why is monitoring validation loss important?

It helps identify overfitting; when training loss decreases while validation loss increases.

New cards
34

What is an epoch in the context of model training?

An epoch refers to one full pass through the entire training dataset.

New cards
35

How does data augmentation benefit the training process?

It increases the diversity of training data without needing more data, reducing the chance of overfitting.

New cards
36

What role does the test set play after training a model?

The test set evaluates the final model performance on completely unseen data to estimate how it will perform in practice.

New cards
37

What is the first step in preparing data for model training?

The first step is to clean and preprocess the data to handle missing values, outliers, and formatting issues.

New cards
38

Why is it important to have a training set and a test set?

The training set is used to train the model, while the test set evaluates its performance on unseen data.

New cards
39

What is validation in the context of model training?

Validation involves using a separate validation set to tune model parameters and avoid overfitting.

New cards
40

What technique can be applied to maximize the data generated during training?

Data augmentation increases the size of the training dataset by applying transformations to existing data, such as rotations or flips.

New cards
41

What is k-fold cross-validation?

K-fold cross-validation is a technique that divides the dataset into 'k' subsets, training the model k times, each time using a different subset as the validation set.

New cards
42

What role does normalization play in preparing data?

Normalization scales the input features to a standard range, improving model convergence during training.

New cards
43

How can you monitor model performance during training?

By tracking training and validation loss and accuracy metrics at the end of each epoch.

New cards
44

What is early stopping in model training?

Early stopping is a technique to halt training when performance on the validation set starts to degrade.

New cards
45

Why is hyperparameter tuning crucial in training models?

Hyperparameter tuning is essential to find the best settings for the model to improve performance on the validation set.

New cards
46

What is the purpose of a confusion matrix in model evaluation?

A confusion matrix provides a detailed breakdown of predictions by showing the true positive, true negative, false positive, and false negative counts.

New cards

Explore top notes

note Note
studied byStudied by 20 people
900 days ago
5.0(1)
note Note
studied byStudied by 14 people
795 days ago
5.0(1)
note Note
studied byStudied by 9 people
369 days ago
4.0(1)
note Note
studied byStudied by 4 people
860 days ago
5.0(1)
note Note
studied byStudied by 10 people
637 days ago
5.0(1)
note Note
studied byStudied by 11 people
73 days ago
5.0(1)
note Note
studied byStudied by 115 people
685 days ago
5.0(3)
note Note
studied byStudied by 6447 people
693 days ago
5.0(12)

Explore top flashcards

flashcards Flashcard (20)
studied byStudied by 305 people
546 days ago
4.9(14)
flashcards Flashcard (42)
studied byStudied by 3 people
707 days ago
5.0(1)
flashcards Flashcard (26)
studied byStudied by 17 people
806 days ago
5.0(1)
flashcards Flashcard (140)
studied byStudied by 17 people
777 days ago
4.5(2)
flashcards Flashcard (70)
studied byStudied by 320 people
553 days ago
4.9(9)
flashcards Flashcard (86)
studied byStudied by 6 people
75 days ago
5.0(1)
flashcards Flashcard (55)
studied byStudied by 32 people
45 days ago
5.0(1)
flashcards Flashcard (24)
studied byStudied by 27 people
839 days ago
4.8(5)
robot