1. Home
  2. Explore
  3. Computer Science
  4. Introduction to Machine Learning

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Introduction to Machine Learning

  • 59Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: ML Foundations
  • spaceFlip card
  • KI knew it
  • DI didn't know it
  • ←Previous card
  • →Next card

What is the basic idea of machine learning in the 1959 definition?

Tap to flipClick to flipspace

It gives computers the ability to learn without being explicitly programmed for every decision.

Or swipe the card

59 cards

  1. What is the basic idea of machine learning in the 1959 definition?

    It gives computers the ability to learn without being explicitly programmed for every decision.

  2. In Mitchell’s definition of machine learning, what do experience, task, and performance measure represent?

    Experience (EEE) is what the program learns from, task (TTT) is what it must do, and performance measure (PPP) evaluates how well it does it.

  3. What kinds of things can count as experience or data for machine learning?

    Examples include synthetic data, model-generated tokens, web data, real-world data, and human-labeled data.

  4. What role does a performance measure play in machine learning?

    It defines the goal used to evaluate and guide improvement, such as accuracy or a game’s win rate.

  5. How can machine-learning tasks change from traditional applications to modern general-purpose models?

    Traditional systems often addressed specific tasks, while a single modern model may be used across many different tasks.

  6. Why is there no universally agreed-upon taxonomy of machine-learning methods?

    The field changes quickly, so methods and terminology evolve before the community necessarily reaches consensus.

  7. What are three broad machine-learning paradigms?

    Supervised learning, unsupervised learning, and reinforcement learning.

  8. Why can the three broad machine-learning paradigms overlap?

    They are not mutually exclusive categories; methods from different paradigms can be combined.

  9. In supervised learning, what does a training example usually contain?

    An input paired with a corresponding output or label.

  10. What do xxx and yyy commonly denote in machine learning?

    xxx denotes an input, and yyy denotes its output.

  11. What do the terms “features” and “inputs” commonly refer to?

    The information or values provided to a model; “features” is another term for inputs.

  12. What is a label in supervised learning?

    A desired output assigned to an input; labels may be supplied by humans or generated by machines.

  13. What is regression?

    A supervised-learning problem in which the output is continuous, such as a house price.

  14. What is classification?

    A supervised-learning problem in which the output is a discrete category or label.

  15. How can house-price prediction be framed as supervised learning?

    Use property information, such as square footage, as input and the known house price as the output to predict.

  16. How does adding lot size to square footage affect a house-price prediction problem?

    It adds another input feature, making the input multidimensional rather than relying on square footage alone.

  17. What is the difference between fitting a line and fitting a quadratic function to data?

    They are different model shapes that can produce different predictions; a quadratic may fit a curved relationship better than a line.

  18. How can a classifier distinguish houses from townhouses using two input features?

    It can divide the two-dimensional feature space into regions and assign each region a class.

  19. Why is predicting the next token in a language model a classification problem?

    The model chooses one discrete token from a set of possible tokens.

  20. How can an object-detection model represent a bounding box?

    With four numerical coordinates: two for one corner and two for the opposite corner.

  21. How is machine translation framed as a supervised-learning problem?

    A source-language text is the input, and its translation into another language is the output.

  22. What makes an input or output high-dimensional?

    It contains many values or components; for example, a property input may include size, floors, condition, and ZIP code.

  23. What is the defining data setup of unsupervised learning?

    The dataset contains inputs but no provided outputs or labels.

  24. What is the broad goal of unsupervised learning?

    To find useful structure or patterns in data without relying on provided labels.

  25. Why can the structure found by an unsupervised method depend on the method used?

    Different methods can identify different patterns, and “interesting structure” is not uniquely defined by the unlabeled data alone.

  26. What is clustering?

    A technique that groups data points according to how similar they are.

  27. How can clustering be used to study gene-expression data?

    It can group individuals with similar gene-expression patterns, helping researchers examine possible relationships with diseases or symptoms.

  28. How can a document-word table be built for analyzing a collection of documents?

    Count how often each word occurs in each document and represent those counts in a table.

  29. What can grouping similar documents reveal in a document-word table?

    Documents with similar word patterns may form groups about related subjects, and the words associated with those groups can help describe their themes.

  30. What does latent semantic analysis (LSA) help identify?

    Patterns of similarity among documents and words, such as groups of documents that use related terms.

  31. What is a word embedding?

    A numerical vector representation of a word.

  32. What semantic property can word embeddings capture?

    Similar words can have nearby vectors, and directions between vectors can represent relationships, such as country-to-capital relationships.

  33. What is deep learning, as described in the lecture?

    A technique using neural networks with many interconnected parameters to learn complex mappings from inputs to outputs.

  34. What analogy connects a neural network to the human brain?

    Network units are compared to neurons, and connections between units are compared to synapses.

  35. What role does a loss function play when training a neural network?

    It measures the model’s error or objective and is used to guide parameter updates.

  36. What does backpropagation compute?

    It efficiently computes gradients of a model’s loss with respect to its parameters.

  37. What is the general training idea behind large language models?

    Train a general-purpose model on massive datasets, often without explicit labels for each example.

  38. How does next-token prediction turn language modeling into a classification task?

    The model predicts which discrete token should come next from among the available token choices.

  39. Why can next-token prediction involve a large classification problem?

    The model may have to select among tens or hundreds of thousands of possible tokens.

  40. Why can the wording of a prompt affect a language model’s response?

    The model’s output depends on the instructions and context it receives.

  41. What is instruction training intended to improve in a language model?

    Its ability to respond appropriately to users’ instructions.

  42. What is the basic purpose of a diffusion model?

    To generate realistic images, for example from noise or from instructions.

  43. Why is image generation described as unsupervised in the lecture’s example?

    The model can be trained on realistic images without a separate label for each image.

  44. What made ImageNet significant for image-classification research?

    It provided about one million labeled image examples, enabling large-scale image classification experiments.

  45. What role did AlexNet play in the development of modern AI?

    It was a neural network trained on ImageNet whose strong results helped mark the beginning of a major deep-learning era in AI.

  46. What is the traditional view of a reinforcement-learning task?

    An agent makes a sequence of decisions or actions, with the goal of improving its performance over time.

  47. Why are decisions in reinforcement learning sequential?

    An action taken now can affect the agent’s future states and available outcomes.

  48. What can happen if an agent takes a poor action in a sequential task?

    It may enter a worse state or lose the ability to recover, as when a robot falls while trying to walk.

  49. What is trial-and-error learning in reinforcement learning?

    The agent tries actions, gathers feedback from the resulting outcomes, and uses that experience to improve.

  50. How does reinforcement learning collect training data differently from standard supervised learning?

    It can collect data interactively through the agent’s actions, rather than relying only on a fixed dataset supplied in advance.

  51. What is a trajectory in a reinforcement-learning task?

    A sequence of observations and actions gathered during an attempt or interaction.

  52. Can unsuccessful attempts provide useful reinforcement-learning data?

    Yes. Even a failed attempt can produce a trajectory that informs future training.

  53. How can reinforcement learning be used to train a language model?

    Generate responses to prompts, score them with a reward signal, and use that reward to encourage better responses in later training.

  54. What can provide a reward signal for a generated language-model response?

    A human, a human-trained reward model, or another model can evaluate the response and assign a reward.

  55. Why can reinforcement-learning methods be useful for training models that generate text?

    Text generation involves stochastic sampling, which is not straightforward to differentiate through in the usual way.

  56. What is policy gradient used for in reinforcement learning?

    It is a method for updating a policy using reward information, including in settings involving stochastic actions or sampling.

  57. How can autoregressive token generation be viewed as a sequence of decisions?

    The model samples one token at a time, and each generated token conditions what can be generated next.

  58. How can reinforcement learning support automatic theorem proving?

    A model can generate candidate proofs, verify them, select correct proofs as new training data, and repeat the process to bootstrap further improvement.

  59. How can reinforcement learning improve a robot through interaction?

    The robot can collect action trajectories, identify useful outcomes, and train on those experiences to improve subsequent behavior.

Card 1 of 59
Card 1 of 59

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent