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

Study methods

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

Machine Learning Introduction

  • 66Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Machine Learning Landscape

What broad change is machine learning expected to bring to society according to the lecture?

66 questions

  1. 1

    What broad change is machine learning expected to bring to society according to the lecture?

    1. A

      It is expected to replace electricity as the only source of industrial power

    2. B

      It is expected to transform many industries by enabling new products, services, and applications

    3. C

      It is expected to affect only companies that already specialize in computer technology

    4. D

      It is expected to eliminate the need for human expertise in every professional field

    Correct answer
    B

    It is expected to transform many industries by enabling new products, services, and applications

    Explanation

    The lecture compares the potential impact of machine learning to the transformative effect electricity had on major industries. It emphasizes applications across technology, healthcare, transportation, manufacturing, law, education, and other fields.

  2. 2

    Why does the lecture suggest that machine learning opportunities will remain abundant for a long time?

    1. A

      Most industries have already completed their machine learning projects successfully

    2. B

      The amount of available data and the number of useful learning tools continue to grow

    3. C

      The field depends mainly on a fixed set of applications that cannot be expanded

    4. D

      Machine learning algorithms have become so difficult that almost no one can use them

    Correct answer
    B

    The amount of available data and the number of useful learning tools continue to grow

    Explanation

    The lecture attributes the continuing opportunities to the growing amounts of data and the development of new machine learning tools. It argues that society will need more people with machine learning skills for a long time.

  3. 3

    Which statement best describes the expansion of machine learning beyond traditional technology companies?

    1. A

      Only internet companies are applying machine learning because other industries lack suitable data

    2. B

      Traditional industries have generally avoided machine learning because it cannot support practical work

    3. C

      Industries such as manufacturing, healthcare, logistics, law, and education are applying machine learning

    4. D

      Nontechnical industries use machine learning only for entertainment and advertising

    Correct answer
    C

    Industries such as manufacturing, healthcare, logistics, law, and education are applying machine learning

    Explanation

    The lecture gives examples of machine learning being used in manufacturing, healthcare, logistics, legal document processing, history, education, and many other areas.

  4. 4

    What opportunity may exist for a machine learning specialist joining a logistics company that has no existing machine learning team?

    1. A

      The specialist will need to wait until another company demonstrates every possible application first

    2. B

      The specialist may discover and develop applications that no one else in the company is pursuing

    3. C

      The specialist will be unable to apply machine learning because logistics contains no useful prediction problems

    4. D

      The specialist will be limited to maintaining the company's existing software systems

    Correct answer
    B

    The specialist may discover and develop applications that no one else in the company is pursuing

    Explanation

    The lecture emphasizes that many companies are still looking for ways to apply machine learning, creating opportunities to develop novel applications in industries that may have little existing expertise.

  5. 5

    What is one meaningful motivation for learning machine learning emphasized in the lecture?

    1. A

      It makes machine learning more valuable than every other academic discipline

    2. B

      It guarantees that every machine learning project will produce a large financial return

    3. C

      It allows practitioners to avoid ethical decisions when deploying technology

    4. D

      It can provide tools for improving important systems and helping people's lives

    Correct answer
    D

    It can provide tools for improving important systems and helping people's lives

    Explanation

    The lecture stresses that machine learning can be used to improve healthcare, education, democracy, transportation, and other meaningful parts of society, provided it is used ethically and responsibly.

  6. 6

    Which statement correctly distinguishes artificial intelligence, machine learning, and deep learning as described in the lecture?

    1. A

      Deep learning is broader than machine learning, and machine learning is broader than artificial intelligence

    2. B

      Artificial intelligence is a narrow branch of deep learning used only for robotics

    3. C

      Machine learning and deep learning are identical, while artificial intelligence is unrelated

    4. D

      Artificial intelligence is broader than machine learning, and machine learning is broader than deep learning

    Correct answer
    D

    Artificial intelligence is broader than machine learning, and machine learning is broader than deep learning

    Explanation

    The lecture presents artificial intelligence as the broadest area, machine learning as a subset of artificial intelligence, and deep learning as a subset of machine learning.

  7. 7

    Which major machine learning area is described as a particularly rapidly advancing subset of machine learning?

    1. A

      Database normalization

    2. B

      Compiler optimization

    3. C

      Computer networking

    4. D

      Deep learning

    Correct answer
    D

    Deep learning

    Explanation

    The lecture identifies deep learning as a rapidly advancing subset of machine learning and contrasts its narrower focus with the broader range of algorithms covered in the course.

  8. 8

    What is the central purpose of the course's machine learning strategy material?

    1. A

      To teach students to select algorithms randomly until one produces acceptable results

    2. B

      To replace mathematical analysis with trial-and-error programming

    3. C

      To help practitioners make systematic decisions about how to improve learning systems

    4. D

      To focus exclusively on increasing hardware speed during model training

    Correct answer
    C

    To help practitioners make systematic decisions about how to improve learning systems

    Explanation

    The lecture presents machine learning strategy as a way to make development more systematic. Practitioners must decide whether to collect data, change algorithms, adjust features, use different hardware, or pursue another direction.

  9. 9

    Why can two teams using the same machine learning algorithm achieve very different results?

    1. A

      Their decisions about data, features, models, computation, and debugging may differ substantially

    2. B

      Only the team's company size determines the quality of the resulting learning system

    3. C

      Machine learning performance depends entirely on the programming language used

    4. D

      The same algorithm always produces random results regardless of the data or implementation

    Correct answer
    A

    Their decisions about data, features, models, computation, and debugging may differ substantially

    Explanation

    The lecture explains that many strategic choices affect performance, including what data to collect, which features and architecture to use, how to debug errors, and whether to use more computation.

  10. 10

    What analogy does the lecture use to explain why profiling is useful when optimizing software?

    1. A

      Experienced engineers rewrite every line of code in assembly language immediately

    2. B

      Experienced engineers optimize the longest file without measuring program behavior

    3. C

      Experienced engineers identify the bottleneck before spending effort optimizing code

    4. D

      Experienced engineers delete all lines that produce compiler warnings

    Correct answer
    C

    Experienced engineers identify the bottleneck before spending effort optimizing code

    Explanation

    The lecture compares effective machine learning strategy with software profiling: rather than changing code blindly, an engineer first identifies the actual performance bottleneck and focuses effort there.

  11. 11

    What common failure does the lecture associate with treating machine learning development as black magic?

    1. A

      A team may collect too many labels before defining its task

    2. B

      A team may spend months pursuing an approach that could have been rejected quickly

    3. C

      A team may always choose the mathematically simplest algorithm

    4. D

      A team may rely exclusively on profiling tools instead of data

    Correct answer
    B

    A team may spend months pursuing an approach that could have been rejected quickly

    Explanation

    The lecture warns that inexperienced or unsystematic teams can spend six months on an unpromising direction. A more disciplined process helps determine efficiently what to do next.

  12. 12

    What prerequisite computer science knowledge is assumed for the course?

    1. A

      Prior experience designing commercial machine learning products

    2. B

      Expert knowledge of robotics hardware, computer graphics, and cryptography

    3. C

      Advanced compiler construction, operating-system kernels, and distributed databases

    4. D

      Basic principles such as Big O notation, queues, stacks, and binary trees

    Correct answer
    D

    Basic principles such as Big O notation, queues, stacks, and binary trees

    Explanation

    The lecture lists basic computer skills and principles, including Big O notation, queues, stacks, and binary trees, as assumed background.

  13. 13

    Which probability concepts are identified as prerequisite knowledge?

    1. A

      Hash functions, recursion, and memory allocation

    2. B

      Differential equations, topology, and complex integration

    3. C

      Random variables, expected values, and variances

    4. D

      Fourier transforms, eigenvalues, and matrix decompositions

    Correct answer
    C

    Random variables, expected values, and variances

    Explanation

    The lecture assumes familiarity with basic probability, specifically including random variables, expected values, and variances.

  14. 14

    Which linear algebra skills are expected before beginning the course?

    1. A

      Knowing how to design processors that perform matrix operations

    2. B

      Understanding vectors and matrices and knowing how to multiply them

    3. C

      Being able to prove every theorem in abstract linear algebra

    4. D

      Knowing how to implement a complete numerical linear algebra library

    Correct answer
    B

    Understanding vectors and matrices and knowing how to multiply them

    Explanation

    The lecture expects students to know what vectors and matrices are and how to multiply matrices with other matrices and vectors. Familiarity with eigenvectors is helpful but can be reviewed.

  15. 15

    What programming-language transition is described for the course assignments?

    1. A

      The assignments are shifting from Python toward assembly language and machine code

    2. B

      The assignments are shifting from C++ toward spreadsheet-based programming

    3. C

      The assignments are shifting from MATLAB or Octave toward Python and NumPy

    4. D

      The assignments are shifting from Java toward MATLAB and Octave exclusively

    Correct answer
    C

    The assignments are shifting from MATLAB or Octave toward Python and NumPy

    Explanation

    The lecture explains that earlier assignments used MATLAB and Octave, while the course is being rewritten to use Python, particularly NumPy.

  16. 16

    Why does the lecture describe Python as increasingly important for machine learning?

    1. A

      Python is the only language capable of implementing neural networks

    2. B

      The machine learning community is increasingly moving toward Python for development

    3. C

      Python is used only because production systems are generally written in Python

    4. D

      Python eliminates the need for mathematical knowledge in machine learning

    Correct answer
    B

    The machine learning community is increasingly moving toward Python for development

    Explanation

    The lecture describes a shift from the MATLAB/Octave world toward Python, while noting that production systems may eventually use languages such as Java or C++.

  17. 17

    What is the role of the early discussion sections in the course?

    1. A

      They introduce only research papers that are unrelated to prerequisite knowledge

    2. B

      They are used exclusively for grading projects and assigning final grades

    3. C

      They replace the main lectures and present all required course content

    4. D

      They review prerequisite material such as linear algebra, probability, statistics, and Python NumPy

    Correct answer
    D

    They review prerequisite material such as linear algebra, probability, statistics, and Python NumPy

    Explanation

    The first few Friday discussion sections are intended to review prerequisite material in greater depth, including linear algebra, probability, statistics, and Python NumPy.

  18. 18

    What is the stated status of attendance at discussion sections?

    1. A

      Attendance is mandatory for remote students but optional for on-campus students

    2. B

      Attendance is optional, and required assessments will not depend on hidden discussion-section material

    3. C

      Attendance is mandatory because all homework solutions are provided only in discussion sections

    4. D

      Attendance is optional only for students who already know deep learning

    Correct answer
    B

    Attendance is optional, and required assessments will not depend on hidden discussion-section material

    Explanation

    The lecture explicitly states that discussion sections are optional and that students can complete the homework and projects without attending them.

  19. 19

    What type of material is expected in later discussion sections?

    1. A

      Advanced optional topics such as convex optimization, hidden Markov models, and time series

    2. B

      Only introductory programming syntax and basic data structures

    3. C

      Required examinations covering material absent from the main lectures

    4. D

      Administrative announcements replacing all technical instruction

    Correct answer
    A

    Advanced optional topics such as convex optimization, hidden Markov models, and time series

    Explanation

    Later discussion sections are intended for advanced optional material, including convex optimization, hidden Markov models, and time series.

  20. 20

    What is the appropriate use of a study group under the course honor-code guidance?

    1. A

      Students may discuss problems together but must independently write their submitted solutions

    2. B

      Students may jointly write solutions and submit identical work without restriction

    3. C

      Students may submit a shared solution as long as every group member contributed one section

    4. D

      Students may copy a friend's solution if they understand the reasoning afterward

    Correct answer
    A

    Students may discuss problems together but must independently write their submitted solutions

    Explanation

    The lecture encourages study groups but requires students to write homework solutions themselves after discussion, without referring to jointly developed notes or solutions.

  21. 21

    Why does the lecture emphasize that students should complete their own homework solutions?

    1. A

      Independent work is required because discussing technical material is prohibited

    2. B

      The homework should demonstrate the student's own understanding and preserve the meaning of course completion

    3. C

      Individual solutions are required mainly to prevent students from using programming languages

    4. D

      Students must work alone because machine learning cannot be learned collaboratively

    Correct answer
    B

    The homework should demonstrate the student's own understanding and preserve the meaning of course completion

    Explanation

    The lecture allows discussion but requires independently written submissions. It connects this policy to students genuinely developing the skills associated with completing the course.

  22. 22

    What is the primary purpose of the class project?

    1. A

      To require students to work only on applications previously approved by a company

    2. B

      To replace all mathematical homework with a single programming examination

    3. C

      To give students practice completing a meaningful machine learning project

    4. D

      To test whether students can reproduce every example shown in the lectures

    Correct answer
    C

    To give students practice completing a meaningful machine learning project

    Explanation

    The project is intended to help students develop the skill set needed to carry out a meaningful machine learning application, with support from teaching assistants.

  23. 23

    What is the most common type of class project described in the lecture?

    1. A

      Applying machine learning to an area or application that interests the student

    2. B

      Reproducing the instructor's autonomous-driving demonstration exactly

    3. C

      Summarizing a textbook chapter without building or evaluating a system

    4. D

      Implementing a standard sorting algorithm without using external data

    Correct answer
    A

    Applying machine learning to an area or application that interests the student

    Explanation

    Students are generally encouraged to choose an exciting application area and investigate whether they can build a useful machine learning system for it.

  24. 24

    Which project area is consistent with the examples discussed in the lecture?

    1. A

      Only creating software that does not use data or learning algorithms

    2. B

      Diagnosing cancer, creating art, or analyzing literature with machine learning

    3. C

      Only predicting weather using manually written physical equations

    4. D

      Only improving computer processors through hardware circuit design

    Correct answer
    B

    Diagnosing cancer, creating art, or analyzing literature with machine learning

    Explanation

    The lecture lists projects involving cancer diagnosis, art, engineering, literature, and many other application areas.

  25. 25

    What is the normal maximum size of a project group?

    1. A

      Three students

    2. B

      Two students

    3. C

      Ten students

    4. D

      Five students

    Correct answer
    A

    Three students

    Explanation

    Project groups are normally limited to three students, although individual projects are also allowed.

  26. 26

    Under what condition might a project group of four be permitted?

    1. A

      The group promises to attend every optional discussion section

    2. B

      The group requests a larger team before choosing a project topic

    3. C

      Every member of the group has previously taken a programming course

    4. D

      The project has exceptional scope that genuinely cannot be completed by three people

    Correct answer
    D

    The project has exceptional scope that genuinely cannot be completed by three people

    Explanation

    Groups of four may sometimes be approved for projects of exceptional scope. Such groups are held to a higher grading standard.

  27. 27

    How does the grading standard differ for project groups larger than three?

    1. A

      Larger groups automatically receive higher grades because they have more members

    2. B

      Larger groups are graded only on presentation quality rather than technical work

    3. C

      Larger groups are exempt from completing the same project requirements

    4. D

      Larger groups are evaluated using stricter criteria than groups of one to three

    Correct answer
    D

    Larger groups are evaluated using stricter criteria than groups of one to three

    Explanation

    The lecture states that projects with more than three members are held to a higher standard because those groups have additional resources.

  28. 28

    What expertise may teaching assistants bring to student projects?

    1. A

      Only administrative experience with scheduling and classroom organization

    2. B

      Expertise exclusively in one programming language unrelated to applications

    3. C

      Experience limited to grading, with no technical or application knowledge

    4. D

      Machine learning expertise combined with knowledge of areas such as vision, language, biology, or robotics

    Correct answer
    D

    Machine learning expertise combined with knowledge of areas such as vision, language, biology, or robotics

    Explanation

    The teaching assistants' expertise spans machine learning and application areas including computer vision, natural language processing, computational biology, and robotics.

  29. 29

    What is the recommended forum for most technical and logistical course questions?

    1. A

      The public online discussion board

    2. B

      An office-hours recording that is posted after the quarter

    3. C

      A private email for every question, regardless of its subject

    4. D

      A private message to another student's project group

    Correct answer
    A

    The public online discussion board

    Explanation

    The lecture encourages students to post technical and nonprivate logistical questions on Piazza because classmates and staff can often answer them faster there.

  30. 30

    When is email to the teaching staff especially appropriate?

    1. A

      When the question asks for information already clearly posted publicly

    2. B

      When the student wants to avoid allowing classmates to see a useful answer

    3. C

      When the question involves a personal or private matter unsuitable for a public forum

    4. D

      When the question concerns a technical issue that many classmates are likely to share

    Correct answer
    C

    When the question involves a personal or private matter unsuitable for a public forum

    Explanation

    The lecture recommends email for personal or private matters, while ordinary technical and logistical questions should generally be posted publicly.

  31. 31

    What is a well-posed learning problem according to the definition presented?

    1. A

      A program learns from experience when its performance on a task, measured by a performance measure, improves with experience

    2. B

      A program learns only when a programmer explicitly specifies every rule it must follow

    3. C

      A program is well posed when it produces the same output regardless of the task or data

    4. D

      A program is well posed when it uses the largest possible model and dataset

    Correct answer
    A

    A program learns from experience when its performance on a task, measured by a performance measure, improves with experience

    Explanation

    The definition uses three components: experience EEE, task TTT, and performance measure PPP. Learning occurs when performance on TTT, measured by PPP, improves with EEE.

  32. 32

    In the checkers example, what represents the program's experience?

    1. A

      Playing many games of checkers against itself

    2. B

      Observing a human play one game without recording the outcome

    3. C

      Measuring the size of the checkers board before each game

    4. D

      Receiving a complete list of winning moves from the programmer

    Correct answer
    A

    Playing many games of checkers against itself

    Explanation

    The lecture identifies experience EEE as the program repeatedly playing games against itself.

  33. 33

    In the checkers example, what is the task being learned?

    1. A

      Recognizing the shape of a checkers board

    2. B

      Playing the game of checkers

    3. C

      Estimating the memory required by a checkers program

    4. D

      Writing a compiler for a checkers program

    Correct answer
    B

    Playing the game of checkers

    Explanation

    The task TTT in the example is playing checkers.

  34. 34

    What performance measure could be used for the checkers learning problem?

    1. A

      The amount of time the programmer spends observing the program

    2. B

      The probability that the program wins its next game against an opponent

    3. C

      The number of pixels in an image of the checkers board

    4. D

      The number of programming languages used to implement the program

    Correct answer
    B

    The probability that the program wins its next game against an opponent

    Explanation

    The lecture suggests measuring performance by the chance that the program wins the next checkers game it plays.

  35. 35

    What historical result made the checkers program notable?

    1. A

      It learned to play checkers better than its programmer

    2. B

      It used no data or experience during its development

    3. C

      It was explicitly programmed with every possible board configuration

    4. D

      It proved that computers could solve every game optimally

    Correct answer
    A

    It learned to play checkers better than its programmer

    Explanation

    The program was notable because it learned through self-play and eventually became better at checkers than its author.

  36. 36

    What is the defining feature of supervised learning?

    1. A

      The algorithm is given only a fixed set of manually written rules

    2. B

      The training data include inputs XXX together with corresponding labels YYY

    3. C

      The algorithm receives rewards but never observes input examples

    4. D

      The training data contain only inputs XXX and no target information

    Correct answer
    B

    The training data include inputs XXX together with corresponding labels YYY

    Explanation

    In supervised learning, the algorithm is given input examples XXX and their labels or desired outputs YYY, then learns a mapping from XXX to YYY.

  37. 37

    In a supervised learning problem, what is the goal when a new input is provided?

    1. A

      Use the learned mapping to predict the most appropriate output

    2. B

      Generate a random output without consulting the training data

    3. C

      Discard the new input because learning ends after training

    4. D

      Add a new label manually without using the learned model

    Correct answer
    A

    Use the learned mapping to predict the most appropriate output

    Explanation

    After training on labeled examples, the algorithm should map a new input XXX to an appropriate predicted output YYY.

  38. 38

    Why is predicting a house price from house size an example of regression?

    1. A

      The input contains no numerical measurements

    2. B

      The target can take only the two values benign and malignant

    3. C

      The algorithm is required to use a straight line rather than any other model

    4. D

      The target house price is treated as a continuous numerical value

    Correct answer
    D

    The target house price is treated as a continuous numerical value

    Explanation

    Regression refers to predicting a continuous-valued output. House prices are treated as continuous for practical purposes, even though actual prices are expressed in currency units.

  39. 39

    What makes the tumor-prediction example a classification problem?

    1. A

      The target is a discrete category such as benign or malignant

    2. B

      The model must always use a quadratic function

    3. C

      The target is a continuous house price measured in dollars

    4. D

      The input contains exactly one numerical feature

    Correct answer
    A

    The target is a discrete category such as benign or malignant

    Explanation

    Classification predicts a discrete output. In the example, the tumor is classified as benign or malignant, represented by values such as 000 and 111.

  40. 40

    If a prediction problem has five possible cancer categories, how should it be characterized?

    1. A

      It is reinforcement learning because the categories represent different outcomes

    2. B

      It is a classification problem because the output is one of several discrete values

    3. C

      It is unsupervised learning because the output has more than two values

    4. D

      It is a regression problem because five categories form a continuous scale

    Correct answer
    B

    It is a classification problem because the output is one of several discrete values

    Explanation

    Classification includes problems with any finite number of discrete outputs, not only binary outputs.

  41. 41

    Why are practical medical prediction systems likely to use more than two input features?

    1. A

      Additional features are needed only to make the data difficult to visualize

    2. B

      Measurements such as tumor characteristics and patient age can provide additional information

    3. C

      A learning algorithm cannot operate when there is only one output label

    4. D

      Classification requires exactly two input features for every patient

    Correct answer
    B

    Measurements such as tumor characteristics and patient age can provide additional information

    Explanation

    The lecture gives tumor size, patient age, and several cell-related measurements as examples of features that may improve a medical prediction system.

  42. 42

    What does logistic regression do in the two-feature tumor example?

    1. A

      It can learn a decision boundary that separates likely benign and malignant examples

    2. B

      It clusters unlabeled tumors without using benign or malignant labels

    3. C

      It generates rewards that teach a robot how to move

    4. D

      It predicts only continuous house prices from square footage

    Correct answer
    A

    It can learn a decision boundary that separates likely benign and malignant examples

    Explanation

    The lecture introduces logistic regression as an algorithm that can fit a separating boundary when features such as tumor size and patient age are used to classify tumors.

  43. 43

    Why can high-dimensional medical data be difficult to visualize?

    1. A

      Data with many features cannot be directly plotted in ordinary two- or three-dimensional space

    2. B

      High-dimensional data contain no numerical information that can be plotted

    3. C

      Medical features are always categorical and therefore cannot be represented graphically

    4. D

      Visualization algorithms can display only binary classification labels

    Correct answer
    A

    Data with many features cannot be directly plotted in ordinary two- or three-dimensional space

    Explanation

    The lecture notes that datasets with many features are difficult to plot because ordinary visualizations are limited to a small number of dimensions.

  44. 44

    What capability of support vector machines is highlighted in the lecture?

    1. A

      They can operate only when the input contains exactly one feature

    2. B

      Kernel methods allow them to work with an implicit infinite-dimensional feature representation

    3. C

      They avoid all feature representations by using no input data

    4. D

      They are limited to clustering unlabeled examples into two groups

    Correct answer
    B

    Kernel methods allow them to work with an implicit infinite-dimensional feature representation

    Explanation

    The lecture explains that support vector machines with kernels can work as if they were using infinitely many features without explicitly storing an infinite list in computer memory.

  45. 45

    In the autonomous-driving example, what constitutes the labeled training data?

    1. A

      Images observed by the vehicle paired with the steering directions chosen by a human driver

    2. B

      Images observed by the vehicle without any steering information

    3. C

      Steering directions generated by the neural network without any camera images

    4. D

      A list of road names paired with the vehicle's final destinations

    Correct answer
    A

    Images observed by the vehicle paired with the steering directions chosen by a human driver

    Explanation

    During training, the vehicle records a front-facing image as input XXX and the human driver's steering direction as label YYY.

  46. 46

    What does the neural network learn to predict in the autonomous-driving example?

    1. A

      The amount of memory required to store each camera image

    2. B

      The steering direction appropriate for the current visual input

    3. C

      The total number of roads in the training environment

    4. D

      The identity of the human driver controlling the vehicle

    Correct answer
    B

    The steering direction appropriate for the current visual input

    Explanation

    The trained network maps the image in front of the vehicle to a steering direction, allowing the vehicle to drive after the human removes their hands from the wheel.

  47. 47

    What was the purpose of the arbitrator in the autonomous-driving demonstration?

    1. A

      To determine whether the vehicle should collect more training data

    2. B

      To choose which specialized road model was more appropriate for the current situation

    3. C

      To label every camera image as benign or malignant

    4. D

      To replace the neural networks with a manually programmed steering table

    Correct answer
    B

    To choose which specialized road model was more appropriate for the current situation

    Explanation

    The demonstration used separate models for different road situations, and an arbitrator selected the model considered most appropriate for the current input.

  48. 48

    What is the defining feature of unsupervised learning?

    1. A

      The algorithm receives inputs without labels and seeks interesting structure in them

    2. B

      The algorithm must be given a complete decision boundary in advance

    3. C

      The algorithm learns only by receiving positive and negative rewards

    4. D

      The algorithm receives every input with a human-provided target label

    Correct answer
    A

    The algorithm receives inputs without labels and seeks interesting structure in them

    Explanation

    Unsupervised learning uses unlabeled inputs XXX and attempts to discover meaningful patterns or structure without corresponding labels YYY.

  49. 49

    What structure would K-means clustering identify in a dataset that visibly contains two groups?

    1. A

      A continuous target value for each example

    2. B

      A reward-maximizing sequence of actions

    3. C

      A human-generated label for every example

    4. D

      Two clusters of examples that are relatively grouped together

    Correct answer
    D

    Two clusters of examples that are relatively grouped together

    Explanation

    K-means clustering is presented as an unsupervised learning algorithm that can discover cluster structure, such as two groups in an unlabeled dataset.

  50. 50

    How does Google News illustrate clustering?

    1. A

      It assigns each article a manually verified medical diagnosis

    2. B

      It predicts the exact future price of every article's publisher

    3. C

      It groups articles from different sources that concern the same event or subject

    4. D

      It teaches a robot to choose actions using rewards

    Correct answer
    C

    It groups articles from different sources that concern the same event or subject

    Explanation

    The lecture describes Google News as grouping articles from sources such as CNN and The Guardian when they discuss the same event, such as an oil-well spill.

  51. 51

    Which is an example of applying clustering to social-network data?

    1. A

      Determining whether a tumor is benign or malignant

    2. B

      Identifying cohesive communities or groups of friends

    3. C

      Predicting a user's exact future income from a labeled dataset

    4. D

      Assigning a steering angle to a vehicle camera image

    Correct answer
    B

    Identifying cohesive communities or groups of friends

    Explanation

    The lecture identifies finding cohesive communities within social networks as an example of clustering.

  52. 52

    How can clustering support market segmentation?

    1. A

      It can guarantee that every customer receives the same advertisement

    2. B

      It can determine a customer's medical diagnosis from purchase history

    3. C

      It can replace customer data with a single manually chosen category

    4. D

      It can group customers with similar characteristics so they can be marketed to separately

    Correct answer
    D

    It can group customers with similar characteristics so they can be marketed to separately

    Explanation

    The lecture describes clustering customer databases into groups with similar characteristics, allowing companies to market separately to different segments.

  53. 53

    What is the cocktail party problem?

    1. A

      Teaching a robot to fly through a crowded room

    2. B

      Separating overlapping voices recorded by multiple microphones in a noisy room

    3. C

      Classifying party guests into labeled medical categories

    4. D

      Predicting the next song played at a social event

    Correct answer
    B

    Separating overlapping voices recorded by multiple microphones in a noisy room

    Explanation

    The cocktail party problem involves using multiple microphones that record overlapping speakers and separating the mixed recordings into individual voices.

  54. 54

    Which algorithm is associated with solving the cocktail party problem in the lecture?

    1. A

      Logistic regression

    2. B

      K-means regression

    3. C

      Gradient boosting for labeled prices

    4. D

      Independent Components Analysis

    Correct answer
    D

    Independent Components Analysis

    Explanation

    The lecture identifies Independent Components Analysis, or ICA, as the algorithm used in the related programming exercise for separating overlapping voices.

  55. 55

    How can unlabeled text from the Internet support unsupervised learning?

    1. A

      Algorithms can discover relationships such as analogies from text without manually assigned labels

    2. B

      Algorithms can determine analogies only from a database of predefined grammar rules

    3. C

      Algorithms can learn only numerical clustering and cannot analyze language

    4. D

      Algorithms can use the text only after every sentence has been labeled by a person

    Correct answer
    A

    Algorithms can discover relationships such as analogies from text without manually assigned labels

    Explanation

    The lecture gives examples such as learning relationships like “man is to woman as king is to queen” from large amounts of unlabeled Internet text.

  56. 56

    What is the defining feature of reinforcement learning?

    1. A

      An agent receives a correct label for every possible state before acting

    2. B

      An agent fits a continuous line to a fixed set of input-output pairs

    3. C

      An agent learns actions through feedback in the form of rewards or penalties

    4. D

      An agent groups unlabeled observations without taking actions

    Correct answer
    C

    An agent learns actions through feedback in the form of rewards or penalties

    Explanation

    Reinforcement learning uses reward signals to encourage desirable behavior and discourage undesirable behavior while the agent learns how to act.

  57. 57

    Why is reinforcement learning useful for controlling a helicopter?

    1. A

      The helicopter can be controlled only by assigning a fixed label to every image

    2. B

      The optimal control sequence is always simple enough to be manually listed

    3. C

      Reinforcement learning avoids observing the helicopter's actions or outcomes

    4. D

      The optimal sequence of control-stick movements is not known in advance, so the system can learn from flight outcomes

    Correct answer
    D

    The optimal sequence of control-stick movements is not known in advance, so the system can learn from flight outcomes

    Explanation

    The lecture explains that no one necessarily knows the optimal way to move the helicopter's control sticks. Reinforcement learning can explore actions and use feedback to improve control.

  58. 58

    How does the dog-training analogy illustrate reinforcement learning?

    1. A

      The dog learns by clustering observations without receiving any evaluation

    2. B

      The trainer labels every possible situation before the dog encounters it

    3. C

      Desired behavior is encouraged with positive feedback and undesirable behavior with negative feedback

    4. D

      The dog is given a complete rulebook specifying every action before training begins

    Correct answer
    C

    Desired behavior is encouraged with positive feedback and undesirable behavior with negative feedback

    Explanation

    The analogy describes rewarding good behavior and discouraging bad behavior, allowing the dog to learn to perform more desirable actions over time.

  59. 59

    What is the purpose of a reward signal in a reinforcement learning system?

    1. A

      It supplies the complete correct output for every input during supervised training

    2. B

      It removes the need for the agent to interact with its environment

    3. C

      It provides feedback that helps the agent increase desirable behavior over time

    4. D

      It converts every continuous prediction into a binary classification

    Correct answer
    C

    It provides feedback that helps the agent increase desirable behavior over time

    Explanation

    Reward signals indicate which outcomes are desirable, allowing a reinforcement learning algorithm to optimize its behavior over repeated interactions.

  60. 60

    Which application is presented as a notable use of reinforcement learning?

    1. A

      Playing games such as Atari games and Go

    2. B

      Grouping news articles by topic without labels

    3. C

      Predicting house prices from square footage

    4. D

      Separating tumor examples using a linear decision boundary

    Correct answer
    A

    Playing games such as Atari games and Go

    Explanation

    The lecture highlights game-playing, including Atari games and Go, as famous applications of reinforcement learning.

  61. 61

    Beyond game playing, which area is identified as an important application of reinforcement learning?

    1. A

      Only the classification of text into predefined grammatical categories

    2. B

      Only the formatting of online course handouts

    3. C

      Robotics and the optimization of physical or logistical systems

    4. D

      Only the visualization of low-dimensional datasets

    Correct answer
    C

    Robotics and the optimization of physical or logistical systems

    Explanation

    The lecture expresses particular excitement about reinforcement learning making progress in robotics, logistics, and other systems requiring sequential control or optimization.

  62. 62

    How does CS229 differ from a more applied machine learning course such as CS229A?

    1. A

      CS229A is more mathematical, while CS229 avoids mathematical derivations entirely

    2. B

      CS229 focuses only on programming, while CS229A focuses only on proofs

    3. C

      CS229 covers only deep learning, while CS229A covers only reinforcement learning

    4. D

      CS229 is more mathematical, while CS229A is more applied and hands-on

    Correct answer
    D

    CS229 is more mathematical, while CS229A is more applied and hands-on

    Explanation

    The lecture characterizes CS229 as the most mathematical of the compared courses, while CS229A is described as more applied, practical, and less mathematical.

  63. 63

    How does CS230 differ from CS229 in subject coverage?

    1. A

      CS230 is less applied and more mathematical than CS229 in every respect

    2. B

      CS230 focuses more narrowly on deep learning, while CS229 covers a broader range of machine learning algorithms

    3. C

      CS230 covers only clustering, while CS229 covers only classification

    4. D

      CS230 focuses on probability prerequisites, while CS229 focuses only on programming syntax

    Correct answer
    B

    CS230 focuses more narrowly on deep learning, while CS229 covers a broader range of machine learning algorithms

    Explanation

    The lecture describes CS230 as focused specifically on deep learning, whereas CS229 covers a broader set of machine learning methods.

  64. 64

    What is the format of CS229A described in the lecture?

    1. A

      A flipped classroom with videos, programming exercises, and weekly discussion sections

    2. B

      A lecture-only course with no programming assignments or discussions

    3. C

      A research seminar based entirely on independent paper writing

    4. D

      A laboratory course focused exclusively on robotics hardware

    Correct answer
    A

    A flipped classroom with videos, programming exercises, and weekly discussion sections

    Explanation

    The lecture describes CS229A as using a flipped format in which students mainly watch videos, complete programming exercises, and attend weekly discussion sections.

  65. 65

    Why might a student choose CS229A before CS229?

    1. A

      CS229A is recommended only for students who already have extensive research experience

    2. B

      CS229A is required because CS229 contains no machine learning algorithms

    3. C

      CS229A may provide a less mathematical and more applied introduction to machine learning

    4. D

      CS229A focuses exclusively on advanced convex optimization that CS229 omits

    Correct answer
    C

    CS229A may provide a less mathematical and more applied introduction to machine learning

    Explanation

    The lecture suggests CS229A as a possible preparation for students uncertain about the demanding mathematical workload of CS229.

  66. 66

    Which combination best represents the five major areas emphasized for the course?

    1. A

      Robotics hardware, web design, cryptography, visualization, and programming languages

    2. B

      Probability, statistics, linear algebra, calculus, and numerical analysis only

    3. C

      Supervised learning, learning strategy, deep learning, unsupervised learning, and reinforcement learning

    4. D

      Computer graphics, operating systems, databases, networking, and compilers

    Correct answer
    C

    Supervised learning, learning strategy, deep learning, unsupervised learning, and reinforcement learning

    Explanation

    The lecture identifies five major areas: supervised learning, machine learning strategy or learning theory, deep learning, unsupervised learning, and reinforcement learning.

Question 1 of 66
Question 1 of 66

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent