1. Home
  2. Explore
  3. Computer Science
  4. Machine Learning Course Intro

Study methods

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

Machine Learning Course Intro

  • 35Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Course Logistics and Requirements

What are the three main prerequisites for this course?

35 questions

  1. 1

    What are the three main prerequisites for this course?

    Model answer

    Probability (distributions, random variables, expectation, conditional probability, variance, density), linear algebra (matrix specification, eigenvectors), and basic programming (Python and numpy).

    Explanation

    These prerequisites ensure students have the mathematical and programming foundations needed for the mathematically intensive course.

  2. 2

    According to the honor code, what are students allowed to do and not allowed to do regarding homework?

    Model answer

    Students may discuss problems in groups but must write solutions independently and list collaborators. They may not copy or refer to solutions from previous years.

    Explanation

    The honor code emphasizes collaboration with proper attribution and prohibits using any solutions from prior years.

  3. 3

    What are the main graded components of the course?

    Model answer

    Four homeworks, a course project (groups of 1-3), and a midterm; there is no final exam.

    Explanation

    Assessment is based on homeworks, a project, and a midterm, with no final exam.

  4. 4

    What is the purpose of the TA discussion sections?

    Model answer

    They are interactive sessions led by TAs that bridge the gap between lectures and homeworks by working through similar problems.

    Explanation

    Discussion sections provide a smaller, interactive setting to practice problems and clarify concepts.

  5. 5

    Are TA lectures and discussion sections mandatory?

    Model answer

    No, they are optional. Friday TA lectures review basics and advanced topics, and discussion sections offer additional problem-solving practice.

    Explanation

    Students can choose to attend based on their needs.

  6. 6

    According to Arthur Samuel (1959), what is machine learning?

    Model answer

    Machine learning is the field of study that gives computers the ability to learn without being explicitly programmed.

    Explanation

    This is one of the earliest definitions, highlighting the idea of learning from experience rather than explicit instructions.

  7. 7

    According to Tom Mitchell, what four components define a learning problem?

    Model answer

    A computer program learns from experience E with respect to task T and performance measure P if its performance at T, as measured by P, improves with experience E.

    Explanation

    Mitchell's definition formalizes learning in terms of experience, task, performance measure, and improvement.

  8. 8

    In Mitchell's definition, what does 'experience' typically refer to in practice?

    Model answer

    Experience usually means data, such as training examples or interactions with an environment.

    Explanation

    Data serves as the source of experience from which the algorithm learns.

  9. 9

    What does 'improves with experience' imply about a learning algorithm?

    Model answer

    It implies that as the algorithm gets more data, its performance should improve, indicating it is learning from that data.

    Explanation

    Improvement with experience is a key indicator that learning is occurring.

  10. 10

    What is supervised learning?

    Model answer

    Supervised learning uses a dataset of input-output pairs (xi,yi)(x_i, y_i)(xi​,yi​) to learn a function that maps inputs to outputs.

    Explanation

    The supervision comes from the labels yiy_iyi​ that guide the learning.

  11. 11

    Give an example of a supervised learning task using house price prediction.

    Model answer

    Given house sizes (square feet) as input and prices as output, the goal is to predict price from size, typically using regression.

    Explanation

    This is a classic regression example where the output is a continuous value.

  12. 12

    What are 'features' and 'labels' in supervised learning?

    Model answer

    Features (or inputs) are the variables used to make predictions, and labels (or outputs) are the target values.

    Explanation

    Features describe the data, while labels represent the desired prediction.

  13. 13

    What are the two main types of supervised learning problems?

    Model answer

    Regression (continuous output) and classification (discrete output).

    Explanation

    The type depends on whether the label is a real number or a category.

  14. 14

    In classification, how is a linear classifier used?

    Model answer

    A linear classifier draws a line (or hyperplane) that separates different classes; new points are classified according to which side of the boundary they fall.

    Explanation

    The boundary is linear in the feature space.

  15. 15

    What is ImageNet and why is it important?

    Model answer

    ImageNet is a large labeled image dataset created at Stanford that helped drive the rise of deep learning in the last 5-10 years.

    Explanation

    Its availability enabled training of large neural networks, leading to breakthroughs in image classification.

  16. 16

    How is the output represented in object localization tasks?

    Model answer

    The output is a bounding box, typically represented by four numbers: coordinates of two opposite corners.

    Explanation

    This allows the model to both classify and locate objects in an image.

  17. 17

    Why is machine translation considered a classification problem but more complex than standard classification?

    Model answer

    The output is discrete (words), but the number of possible sentences is enormous, so it requires more complex models than standard classification.

    Explanation

    The large output space makes direct application of standard classifiers infeasible.

  18. 18

    What is unsupervised learning?

    Model answer

    Unsupervised learning deals with data that has no labels, aiming to discover hidden patterns or structures like clusters.

    Explanation

    Without labels, the algorithm must find inherent groupings or features in the data.

  19. 19

    In the house/townhouse example without labels, what structure might be discovered?

    Model answer

    The algorithm might cluster the points into two groups, suggesting two types of residences even without knowing their names.

    Explanation

    Clustering reveals natural groupings in the data.

  20. 20

    What are two clustering algorithms mentioned in the course?

    Model answer

    K-means and mixture of Gaussians.

    Explanation

    These are fundamental clustering techniques covered in lectures 12-13.

  21. 21

    How is unsupervised learning used in gene clustering?

    Model answer

    It groups individuals by gene expression patterns, and each cluster may correspond to a different response to a medicine.

    Explanation

    This enables personalized treatment based on genetic similarity.

  22. 22

    What is latent semantic analysis and what does it discover?

    Model answer

    It analyzes word-document co-occurrence to reveal topic structures, often yielding block-diagonal patterns where groups of words correspond to topics.

    Explanation

    It automatically identifies topics from a corpus of documents.

  23. 23

    What are word embeddings?

    Model answer

    Word embeddings map each word to a vector so that semantically similar words have similar vectors, and relationships are encoded as vector differences.

    Explanation

    Learned from large unlabeled text, these vectors capture meaning and analogies.

  24. 24

    In word embeddings, what relationship does the vector difference Rome⃗−Italy⃗\vec{Rome} - \vec{Italy}Rome−Italy​ approximately equal?

    Model answer

    It approximately equals Paris⃗−France⃗\vec{Paris} - \vec{France}Paris−France, indicating the direction encodes the 'capital of' relationship.

    Explanation

    Such analogies are captured by vector arithmetic in embedding spaces.

  25. 25

    What is GPT-3 and why is it notable?

    Model answer

    GPT-3 is a large language model trained on huge text data (cost ~$10M) that can perform many tasks (story generation, question answering, arithmetic) without task-specific training.

    Explanation

    It demonstrates the power of scaling and serves as a foundation model for diverse applications.

  26. 26

    What distinguishes reinforcement learning from supervised learning?

    Model answer

    Reinforcement learning involves sequential decision-making where actions affect future states, and the agent learns from trial and error with rewards.

    Explanation

    The agent must consider long-term consequences rather than independent predictions.

  27. 27

    Give an example of a reinforcement learning task.

    Model answer

    Examples include playing chess (like AlphaGo) or controlling a humanoid robot to walk.

    Explanation

    These tasks require a sequence of actions to achieve a goal.

  28. 28

    In reinforcement learning, how is data collected differently from supervised learning?

    Model answer

    Data is collected interactively as the agent explores and interacts with the environment, so the dataset grows over time.

    Explanation

    The agent's own actions generate new experiences, unlike fixed datasets in supervised learning.

  29. 29

    What is the 'delayed reward' problem in reinforcement learning?

    Model answer

    The outcome or reward for a decision may come after many steps, requiring the agent to account for long-term consequences.

    Explanation

    Delayed rewards make credit assignment challenging.

  30. 30

    What is a 'deployment constraint' in reinforcement learning?

    Model answer

    A deployment constraint limits how often the policy can be updated, e.g., only after a fixed number of interactions for safety or efficiency.

    Explanation

    In some applications like nuclear plant control, frequent updates may be risky.

  31. 31

    Why is safety a concern in reinforcement learning applications like nuclear plant control?

    Model answer

    The learning algorithm must ensure its actions do not cause dangerous situations, so exploration must be limited to avoid harm.

    Explanation

    Safety-critical applications require careful balance between learning and risk.

  32. 32

    What is deep learning?

    Model answer

    Deep learning uses neural network architectures to parametrize models and can be applied to supervised, unsupervised, and reinforcement learning.

    Explanation

    It is a powerful technique that has driven recent advances in ML.

  33. 33

    What impact did deep learning have on machine learning around 2013-2014?

    Model answer

    Deep learning led to a breakthrough in performance on tasks like image classification and language processing, driving rapid progress in the field.

    Explanation

    The availability of large datasets and compute enabled deep networks to surpass previous methods.

  34. 34

    What is the focus of the learning theory lectures in this course?

    Model answer

    They cover trade-offs in algorithm design, feature selection, and strategies to minimize test error and improve generalization.

    Explanation

    Learning theory provides a framework for understanding when and why algorithms work.

  35. 35

    What topic will the guest lecture address?

    Model answer

    The guest lecture will discuss societal impacts of ML, particularly fairness and robustness of models.

    Explanation

    As ML becomes widely deployed, issues of bias and reliability are critical.

1 of 35
Question 1 of 35

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent