PyTorch Deep Learning
- 24Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
24 questions
- 1Machine learning is the process of turning data into numbers and finding_____in those numbers.
Hint
Think about what the algorithm is trying to discover from the data.
Answer
patterns
- 2In traditional programming, the rules are provided, while in supervised machine learning, the algorithm learns the_____from the inputs and desired outputs.
Hint
What does the algorithm figure out between input and output?
Answer
rules
- 3According to Google's Rule #1, you should not use machine learning if you can build a simple, reliable_____-based system.
Hint
What type of system can solve the problem without learning?
Answer
rule
- 4Deep learning models are not suitable when errors are unacceptable because they are_____, not deterministic.
Hint
What term describes models that give probabilities rather than certainties?
Answer
probabilistic
- 5Machine learning (shallow algorithms) is best for_____data, such as tables of numbers.
Hint
What type of data is organized in rows and columns?
Answer
structured
- 6In a neural network, the input data must be numerically encoded into a_____before being passed through the network.
Hint
What is the fundamental data structure in PyTorch?
Answer
tensor
- 7The learning paradigm where a model learns to map input data to output labels is called_____learning.
Hint
This type of learning uses labeled data.
Answer
supervised
- 8PyTorch is a deep learning framework that allows you to write fast code accelerated by_____.
Hint
What hardware is used to speed up numerical calculations?
Answer
GPUs
- 9In PyTorch, the fundamental building block of data is called a_____.
Hint
It can be a vector, matrix, or higher-dimensional array.
Answer
tensor
- 10The process used by PyTorch to interface with NVIDIA GPUs is called_____.
Hint
This is a parallel computing platform and API.
Answer
CUDA
- 11In the PyTorch workflow, after building a model, you must pick a loss function and an_____.
Hint
This adjusts model parameters to minimize loss.
Answer
optimizer
- 12For a linear regression problem, a common loss function is_____
nn.L1Loss(), also known as.Hint
This loss measures the average absolute difference between predictions and targets.
Answer
Mean Absolute Error (MAE)
- 13The backpropagation step in PyTorch is performed by calling_____on the loss.
Hint
This computes gradients of the loss with respect to parameters.
Answer
loss.backward()
- 14When saving a PyTorch model, the recommended approach is to save the model's `_____
usingtorch.save()`.Hint
This is a dictionary containing learned parameters.
Answer
state_dict
- 15For binary classification, the recommended loss function is_____
nn.BCEWithLogitsLoss(), which combines a sigmoid layer andloss.Hint
This loss is often used for binary classification problems.
Answer
binary cross-entropy
- 16In multi-class classification, the output layer uses the_____activation function to convert logits to probabilities.
Hint
This function outputs probabilities that sum to 1 across classes.
Answer
softmax
- 17To convert raw model outputs (logits) to prediction probabilities in binary classification, you apply the_____function.
Hint
This function maps any real number to a value between 0 and 1.
Answer
sigmoid
- 18The `_____` function is commonly used as a non-linear activation in hidden layers to introduce non-linearity.
Hint
This function zeros out negative values and keeps positive values unchanged.
Answer
ReLU
- 19A neural network with only linear layers cannot solve_____problems like separating circular data.
Hint
What type of decision boundary is needed for such problems?
Answer
non-linear
- 20The FashionMNIST dataset consists of 28x28 grayscale images of 10 different_____items.
Hint
What type of objects are in the dataset?
Answer
clothing
- 21A_____
DataLoaderin PyTorch handles batching the data and optionallythe data for training.Hint
What operation is often applied to training data to improve learning?
Answer
shuffling
- 22In a convolutional layer, the_____parameter determines how many pixels the kernel moves at each step.
Hint
This controls the movement of the filter across the image.
Answer
stride
- 23The_____
nn.MaxPool2dlayer compresses the image by taking thevalue from a small window.Hint
What aggregation operation does max pooling perform?
Answer
maximum
- 24In the TinyVGG architecture, after the convolutional blocks, a `_____` layer is used to flatten the feature maps before the linear classifier.
Hint
This operation converts a multi-dimensional tensor into a 1D vector.
Answer
Flatten

Ask anything
We've read this whole study set, so questions about it get the best answers.