โ† All AI Flashcard Decks

For Beginners Flashcards

7 cards from real AI practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 7 For Beginners flashcards as text
  1. Which type of machine learning uses labeled training data to learn a mapping from inputs to outputs?

    Answer: Supervised learning

    Supervised learning trains on labeled input-output pairs so the model can predict outputs for new inputs.

  2. What does the term 'overfitting' mean in machine learning?

    Answer: The model performs well on training data but poorly on new data

    Overfitting occurs when a model memorizes training data noise and fails to generalize to unseen examples.

  3. What is a neural network's 'activation function' used for?

    Answer: To introduce non-linearity into the network

    Activation functions add non-linearity, allowing neural networks to learn complex patterns beyond simple linear relationships.

  4. Which metric is most appropriate for evaluating a binary classification model on a heavily imbalanced dataset?

    Answer: F1 Score

    F1 Score balances precision and recall, making it more informative than accuracy when class distribution is skewed.

  5. What is the purpose of a validation set during model training?

    Answer: To tune hyperparameters without touching the test set

    The validation set allows engineers to tune hyperparameters and detect overfitting before final evaluation on the test set.

  6. Which Python library is most commonly used for numerical array operations in AI/ML pipelines?

    Answer: NumPy

    NumPy provides fast multi-dimensional array operations that underpin nearly all scientific computing and ML frameworks.

  7. What does 'batch size' refer to in neural network training?

    Answer: The number of training samples processed before updating weights

    Batch size controls how many samples are used to compute the gradient before each weight update step.