🌍 Data Science · flashcards

Data Science Deep Learning Flashcards

52 question-and-answer cards covering Deep Learning as it is examined in Data Science. 24 of them are printed below, taken from across the deck — no signup, no paywall on the preview.

52Cards in deck
24Free preview
21Syllabus topics
~180Chars per answer
FreePrice

24 sample cards from the Deep Learning deck

Sampled from the end of the deck, so these are different cards from the ones shown on the syllabus page.

  1. What is TensorFlow, and who developed it?

    TensorFlow is an open-source deep learning framework developed by Google Brain that represents computations as dataflow graphs of tensors and supports CPU/GPU/TPU execution and production deployment.

  2. What is a tensor in the context of deep learning frameworks?

    A multi-dimensional array (generalization of scalars, vectors, and matrices) that is the fundamental data structure passed through neural networks.

  3. What is PyTorch, and what is its defining computational feature?

    PyTorch is an open-source deep learning framework developed by Meta (Facebook) AI that uses dynamic computation graphs (define-by-run), making debugging and variable-length models more flexible.

  4. What is autograd in PyTorch?

    PyTorch's automatic differentiation engine that records operations on tensors with requires_grad=True and computes gradients automatically via .backward().

  5. What is Keras, and how does it relate to TensorFlow?

    Keras is a high-level neural-network API focused on ease of use; it is the official high-level API of TensorFlow (tf.keras), providing simple model-building abstractions like Sequential and Functional APIs.

  6. Compare the default computation-graph style of TensorFlow 1.x versus PyTorch.

    TensorFlow 1.x used static graphs (define-then-run, compiled before execution); PyTorch uses dynamic graphs (define-by-run, built on the fly). TensorFlow 2.x adopted eager execution by default to match this.

  7. What is a Convolutional Neural Network (CNN) primarily used for?

    A CNN is a neural network using convolutional layers to extract spatial/local features; it is primarily used for image and grid-structured data tasks such as classification, detection, and segmentation.

  8. In a CNN, what do the convolution operation and filters/kernels do?

    A filter (kernel) slides over the input computing dot products to produce a feature map, detecting local patterns like edges or textures; weight sharing reduces parameters.

  9. What is the purpose of a pooling layer in a CNN, and name a common type.

    Pooling downsamples feature maps to reduce spatial dimensions and computation while adding translation invariance; max pooling (taking the maximum in each window) is most common.

  10. Given input size $W$, filter size $F$, padding $P$, and stride $S$, what is the output spatial size of a convolution?

    $O = \dfrac{W - F + 2P}{S} + 1$.

  11. What is a Recurrent Neural Network (RNN), and what data is it suited for?

    An RNN processes sequences by maintaining a hidden state passed across time steps, $h_t = f(W_h h_{t-1} + W_x x_t + b)$, making it suited for sequential/temporal data like text, speech, and time series.

  12. What problem do LSTMs and GRUs solve compared to vanilla RNNs?

    They mitigate the vanishing/exploding gradient problem over long sequences by using gating mechanisms (e.g., LSTM's input, forget, and output gates) to control information flow and retain long-term dependencies.

  13. Name the three gates of an LSTM cell and their roles.

    Forget gate (decides what to discard from cell state), input gate (decides what new information to store), and output gate (decides what to expose as the hidden state).

  14. What is a Generative Adversarial Network (GAN), and what are its two components?

    A GAN is a generative model with two networks trained adversarially: a Generator that creates fake samples from noise, and a Discriminator that tries to distinguish real from fake; they compete in a minimax game.

  15. Write the GAN minimax objective.

    $\min_{G}\max_{D}\; \mathbb{E}_{x \sim p_{\text{data}}}[\log D(x)] + \mathbb{E}_{z \sim p_{z}}[\log(1 - D(G(z)))]$.

  16. What is an autoencoder, and what are its two main parts?

    An unsupervised neural network that learns to reconstruct its input through a bottleneck; it has an encoder that compresses input to a latent representation and a decoder that reconstructs the input from it.

  17. How does a Variational Autoencoder (VAE) differ from a standard autoencoder?

    A VAE encodes inputs into a probability distribution (mean and variance) over latent space rather than a fixed vector, enabling generative sampling; it adds a KL-divergence regularization term to the reconstruction loss.

  18. What is Transfer Learning?

    A technique that reuses a model pre-trained on a large source task as the starting point for a related target task, leveraging learned features to reduce data and training requirements.

  19. What is fine-tuning in transfer learning, and how does it differ from feature extraction?

    Fine-tuning unfreezes some/all pre-trained layers and continues training them on the new task; feature extraction freezes the pre-trained backbone and trains only a new classifier head on top.

  20. What is Deep Reinforcement Learning?

    The combination of reinforcement learning with deep neural networks, where an agent learns a policy to maximize cumulative reward by interacting with an environment, using networks to approximate value functions or policies.

  21. State the Bellman optimality equation for the action-value function $Q$.

    $Q^{*}(s, a) = \mathbb{E}\big[r + \gamma \max_{a'} Q^{*}(s', a')\big]$, where $\gamma$ is the discount factor.

  22. What is word embedding in NLP, and name one classic method?

    A learned dense vector representation of words that captures semantic and syntactic relationships in a continuous space; Word2Vec (skip-gram / CBOW) and GloVe are classic methods.

  23. What is the attention mechanism, and write the scaled dot-product attention formula used in Transformers?

    Attention lets a model weigh the relevance of different input positions when producing each output. Scaled dot-product attention: $\text{Attention}(Q, K, V) = \text{softmax}\!\left(\dfrac{QK^{T}}{\sqrt{d_k}}\right)V$.

  24. Why is data preprocessing (normalization/standardization) important before training, and write the standardization formula.

    It puts features on comparable scales, speeding and stabilizing gradient descent and preventing features with large ranges from dominating. Standardization: $x' = \dfrac{x - \mu}{\sigma}$.

What this deck covers

The Deep Learning deck follows the Data Science Deep Learning syllabus — 6 chapters and 21 topics — so questions land on material that is genuinely examinable rather than trivia around it. That works out to roughly 8.7 cards per chapter.

Answers are written to be recallable, not just readable — averaging about 180 characters, which is long enough to carry the reasoning and short enough to say out loud.

A deck like this earns its keep on the second and third pass. Read the syllabus first so you know the shape of the subject, then use the cards to find the specific facts that have not stuck.

Deep Learning flashcards FAQ

How many Deep Learning flashcards are in this Data Science deck?

52 cards. This page previews 24 of them, sampled evenly across the deck so you can judge the difficulty before installing anything.

Are these Data Science flashcards free?

Yes. The preview here is free to read with no signup, and the full 52-card deck is free inside the Examius app.

What do the Deep Learning cards cover?

They follow the Data Science Deep Learning syllabus — 6 chapters and 21 topics — so the questions track what is actually examinable.

How should I use these flashcards?

Read the syllabus first so you know the shape of the subject, then drill the deck. Examius schedules each card with spaced repetition, so cards you keep missing come back sooner and ones you know drift further apart.