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

  • 91Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Machine Learning Basics

What common technology underlies Amazon's recommendation system, Amazon Echo, Google's spam filter, and Google's self-driving car?

91 questions

  1. 1

    What common technology underlies Amazon's recommendation system, Amazon Echo, Google's spam filter, and Google's self-driving car?

    Model answer

    All four use machine learning algorithms as an essential part of their operation.

    Explanation

    These systems perform different tasks, but each uses machine learning to make predictions or decisions from data.

  2. 2

    What does Amazon's recommendation system do?

    Model answer

    It recommends books or other products that a customer may like based on the customer's previous purchases or activity.

    Explanation

    The system identifies patterns in customer behavior and uses them to suggest additional products.

  3. 3

    What technologies are combined in Amazon Echo's operation?

    Model answer

    Amazon Echo combines a speech-recognition engine with website searches.

    Explanation

    Speech recognition interprets the user's spoken request, and searches help retrieve relevant information.

  4. 4

    Why is spam filtering a task suited to machine learning?

    Model answer

    Although humans can often recognize spam quickly, it is difficult to encode all the necessary patterns and exceptions as explicit rules.

    Explanation

    Rules such as identifying messages from a particular country or mentioning money are not sufficient to classify every message correctly.

  5. 5

    What is machine learning in its simplest description?

    Model answer

    Machine learning is a method or set of algorithms used to replicate activities that typically require human cognition.

    Explanation

    Examples include speech recognition, driving, spam classification, and medical diagnosis.

  6. 6

    What more precise definition of machine learning was attributed to Arthur Samuel?

    Model answer

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

    Explanation

    The key distinction is that the system learns from data or experience rather than relying entirely on manually specified rules.

  7. 7

    When are expert systems generally effective, and when is machine learning preferred?

    Model answer

    Expert systems work well when the rules are clear; machine learning is preferred when the rules are difficult to state explicitly.

    Explanation

    Human abilities such as language understanding and commonsense reasoning involve too many exceptions for a complete rule-based description.

  8. 8

    Why can a finite collection of hand-written rules fail for tasks such as spam filtering or grammar recognition?

    Model answer

    The number of possible cases and exceptions grows rapidly, making it impractical to specify a rule for every situation.

    Explanation

    A rule-based system does not know how to handle a case for which no rule has been provided.

  9. 9

    What medical application of machine learning was proposed in the content?

    Model answer

    Machine learning could replicate a radiologist's process of examining X-rays or MRIs and judging whether a tumor is cancerous or noncancerous.

    Explanation

    This application attempts to reproduce an expert diagnostic judgment from medical images.

  10. 10

    How could machine learning be applied to computational fluid dynamics?

    Model answer

    It could learn models that predict flow behavior, such as velocity contours around a cylinder, more rapidly than traditional CFD simulations.

    Explanation

    The goal is not necessarily to replace all physics-based modeling, but to obtain faster predictive models for some problems.

  11. 11

    Why is commonsense knowledge especially difficult to program explicitly?

    Model answer

    Commonsense recognition requires handling many variations, such as changes in a person's clothing, expression, age, voice, or facial hair.

    Explanation

    Humans generalize across these variations easily, but a rule-based program would need to account for an enormous number of cases.

  12. 12

    Why is machine learning described as data-hungry?

    Model answer

    Machine learning models often require large amounts of data for statistical analysis and training.

    Explanation

    The growth of internet searches, images, videos, and user-generated information supplied the data needed by many modern systems.

  13. 13

    What were the main application-oriented aims of the course?

    Model answer

    The aims were to understand fundamental and modern machine learning models, place them in an engineering context, and apply them hands-on to engineering problems.

    Explanation

    The course emphasizes practical understanding and application rather than only abstract machine learning theory.

  14. 14

    What type of machine learning receives particular emphasis in the course?

    Model answer

    Deep learning receives particular emphasis, alongside fundamental models that have been used for many decades.

    Explanation

    The course covers both established techniques and newer methods because the field develops rapidly.

  15. 15

    What practical programming expectation was set for students?

    Model answer

    Students were expected to learn and practice programming, especially in Python, and to perform hands-on exercises rather than only watch examples.

    Explanation

    The course provides basic coding paradigms and examples, but students gain the most by implementing techniques themselves.

  16. 16

    Why should students learn to read applied machine learning research papers?

    Model answer

    Much of the field's current development appears in research papers rather than textbooks, so students need to understand applied methods and keep up with new work.

    Explanation

    The course aims to prepare students to read and potentially implement methods for practical problems.

  17. 17

    What kind of research papers should students be able to understand by the end of the course?

    Model answer

    They should be able to read and understand papers that apply machine learning to practical problems, even if they cannot follow the most advanced theoretical work.

    Explanation

    The intended ability is applied understanding rather than mastery of highly specialized machine learning theory.

  18. 18

    What mathematical mindset is expected of students?

    Model answer

    Students should be comfortable thinking quantitatively and expressing ideas within a mathematical framework rather than only reasoning qualitatively.

    Explanation

    The course introduces necessary ideas from linear algebra, probability, statistics, numerical computation, and optimization.

  19. 19

    What programming background is expected?

    Model answer

    Students should have written programs in at least one language and be able to understand Python and MATLAB syntax.

    Explanation

    Programming comfort is especially valuable because the course includes hands-on exercises and implementations.

  20. 20

    What are the three broad parts of the course?

    Model answer

    The course covers artificial neural networks and deep learning, classical machine learning techniques, and modern techniques such as adversarial networks and possibly reinforcement learning.

    Explanation

    These parts progress from neural-network foundations to established alternatives and then to newer approaches.

  21. 21

    What are convolutional neural networks typically used for?

    Model answer

    Convolutional neural networks, or CNNs, are typically used for vision-based problems.

    Explanation

    They are designed to process spatial patterns in images and other visual data.

  22. 22

    What are recurrent neural networks typically used for?

    Model answer

    Recurrent neural networks, or RNNs, are typically used for sequential data, including data that develops over time.

    Explanation

    Time-series analysis is one example of a sequence-based application.

  23. 23

    Which foundational topics are covered during the first three weeks?

    Model answer

    The first three weeks cover linear algebra, probability and statistics, numerical computation and optimization, and an overview of popular machine learning packages.

    Explanation

    These topics provide the mathematical, computational, and software foundations needed for later models.

  24. 24

    What topics are introduced in the neural-network portion of the course?

    Model answer

    The course introduces linear regression, logistic regression, simple neural networks, and multilayer neural networks.

    Explanation

    Linear and logistic regression can be viewed as very simplified neural-network models before more complex architectures are studied.

  25. 25

    What classical machine learning techniques are included?

    Model answer

    The course includes tree-based methods, support vector machines, probabilistic methods such as Gaussian mixture models, and unsupervised learning.

    Explanation

    These methods have been used for a long time and remain useful, often alongside deep learning.

  26. 26

    Why might the course content change as it progresses?

    Model answer

    Some advanced topics, such as reinforcement learning, may be added or adjusted depending on available time and how students are progressing.

    Explanation

    The course is designed with some flexibility in its later modules.

  27. 27

    Why have people historically pursued artificial intelligence?

    Model answer

    People have long wanted tools not only to replicate physical actions but also to assist or replicate human thinking.

    Explanation

    This motivation extends the invention of mechanical tools into the development of tools for reasoning and cognition.

  28. 28

    What did Raju Bhoj of Parmar speculate about artificial machines?

    Model answer

    He speculated that machines could imitate or replicate human speech and motion.

    Explanation

    The content presents this as speculation rather than evidence that he actually built such a machine.

  29. 29

    What are automatons?

    Model answer

    Automatons are mechanisms that can move automatically and may imitate aspects of human motion or behavior.

    Explanation

    Realistic automatons appeared in different parts of the world from early history through modern times.

  30. 30

    Why was the Mechanical Turk not a genuine chess-playing machine?

    Model answer

    Although it was presented as a machine that played chess, it secretly contained a person who played the game.

    Explanation

    The Mechanical Turk was therefore a fraudulent example, despite the existence of genuine automatons elsewhere.

  31. 31

    What was Leibniz's proposed idea about human thought?

    Model answer

    Leibniz proposed that every thought could be formed from combinations of a small number of simple, axiomatic units of thought.

    Explanation

    This resembles the way modern computers represent complex operations using basic elements such as zeros and ones.

  32. 32

    What analogy connects Leibniz's idea with modern computers?

    Model answer

    Leibniz's basic units of thought can be compared with the way modern computers break information and computation into zeros and ones.

    Explanation

    Both ideas suggest that complex processes may be constructed from a small set of elementary components.

  33. 33

    What did Charles Babbage contribute to the history of computing?

    Model answer

    Charles Babbage conceptualized the Analytical Engine, whose design was similar in important ways to modern computers.

    Explanation

    The Analytical Engine was conceptualized in 1837, long before the first electronic computers were built in the 1940s.

  34. 34

    Why can ordinary computers be viewed as a form of artificial intelligence in a broad sense?

    Model answer

    A single computer can perform many different tasks, such as booking tickets, recording speech, playing music, and showing movies.

    Explanation

    However, ordinary computation does not necessarily imply that the computer is learning or genuinely thinking.

  35. 35

    What additional capability does machine learning seek beyond ordinary computation?

    Model answer

    Machine learning seeks algorithms that can learn from experience or data rather than merely execute fixed computations.

    Explanation

    The goal is to move beyond systems that perform tasks without changing or improving through learning.

  36. 36

    What did Alan Turing contribute to artificial intelligence and computing?

    Model answer

    Alan Turing developed foundational ideas in the theory of computation and proposed the concept of a universal computer.

    Explanation

    His work helped establish that one computer could perform every computable task.

  37. 37

    What is a universal computer?

    Model answer

    A universal computer is a single computer capable of performing all computable tasks.

    Explanation

    Tasks as different as booking a ticket and playing a video can both be represented as computations on such a machine.

  38. 38

    What was Claude Shannon's major contribution relevant to machine learning?

    Model answer

    Claude Shannon developed information theory, which is used in machine learning and fields such as signal processing.

    Explanation

    Information theory provides concepts and tools for representing and analyzing information.

  39. 39

    What was Norbert Wiener's contribution during the early development of AI?

    Model answer

    Norbert Wiener developed the idea of cybernetics, which became influential during the rise of artificial intelligence in the 1950s.

    Explanation

    Cybernetics focused on control, communication, and the behavior of systems.

  40. 40

    What was SNARC?

    Model answer

    SNARC was an early stochastic neural network machine developed by Marvin Minsky.

    Explanation

    It was one of the first physical machines based on artificial-neuron ideas.

  41. 41

    What did Simon and Newell develop in the early history of AI?

    Model answer

    They developed automatic theorem-proving machines.

    Explanation

    Their work represented an early attempt to make machines perform formal reasoning.

  42. 42

    When and where was the term artificial intelligence first coined?

    Model answer

    The term was first coined in 1956 at the Dartmouth conference.

    Explanation

    The conference marked an important moment in establishing artificial intelligence as a recognized research field.

  43. 43

    What was Rosenblatt's Perceptron?

    Model answer

    The Perceptron was an early two-layer artificial neural network developed by Frank Rosenblatt.

    Explanation

    It was an important early example of a neural-network model.

  44. 44

    What was the main approach to artificial intelligence during the 1960s?

    Model answer

    Artificial intelligence was dominated by rule-based systems that attempted to encode explicit rules for each situation.

    Explanation

    Researchers applied this approach to problems such as chess, algebra, chemistry, and natural-language understanding.

  45. 45

    How would a rule-based expert system attempt to detect grammar errors?

    Model answer

    It would encode grammar rules explicitly, such as rules governing agreement between singular or plural subjects and verbs.

    Explanation

    The system would apply the manually entered rules rather than infer grammatical patterns from examples.

  46. 46

    Why did early rule-based AI systems make limited progress on complex tasks?

    Model answer

    They required a rule for every possible case, but complex tasks contain too many exceptions and situations to encode completely.

    Explanation

    When an unanticipated case occurred, the system had no rule to determine what to do.

  47. 47

    Why is switching between languages difficult for a rule-based system?

    Model answer

    Each language has different grammatical patterns, and it is difficult to specify all the rules that humans use to switch between them fluently.

    Explanation

    Many multilingual humans switch languages seamlessly without consciously applying an explicit list of rules.

  48. 48

    What theoretical learning algorithm was already available by 1969?

    Model answer

    Backpropagation was available by 1969 and later became an important method for training neural networks.

    Explanation

    The method provides a way to adjust network parameters automatically during learning.

  49. 49

    What did Herbert Simon predict about artificial intelligence?

    Model answer

    Herbert Simon predicted that machines would be capable of doing any work a human could do by the 1980s.

    Explanation

    This prediction reflected the strong optimism surrounding AI at the time, but it had not been achieved by the time of the course.

  50. 50

    What was the first AI winter, and when did it occur?

    Model answer

    The first AI winter was a period of declining progress, enthusiasm, and funding that occurred from 1974 to 1980.

    Explanation

    It followed a period in which AI results and expectations had been highly optimistic.

  51. 51

    Why did the results of early AI systems fail to meet expectations?

    Model answer

    Many results worked only on simple toy problems, while real problems involved much greater complexity and variation.

    Explanation

    Success on restricted demonstrations did not transfer reliably to broad, realistic tasks.

  52. 52

    How did limited computational power contribute to the first AI winter?

    Model answer

    Computers of the period had far less computational capacity than modern devices, making complex AI problems difficult or impossible to solve.

    Explanation

    The computational limitations restricted the size and complexity of problems that researchers could address.

  53. 53

    What is combinatorial explosion?

    Model answer

    Combinatorial explosion is the rapid growth in the number of possible choices or configurations as a problem becomes larger.

    Explanation

    The number of possibilities may grow according to factorial or power-law behavior, quickly exceeding available computational resources.

  54. 54

    Why does chess illustrate combinatorial explosion?

    Model answer

    A position with only a few pieces has relatively few possibilities, but adding more pieces causes the number of possible positions and moves to grow dramatically.

    Explanation

    This makes it impractical to write or evaluate a separate rule for every possible chess situation.

  55. 55

    What limitation of single-layer neural networks was identified during the first AI winter?

    Model answer

    Very simple single-layer neural networks could not solve certain classes of problems.

    Explanation

    This limitation reduced confidence in neural-network approaches at the time.

  56. 56

    Why were multilayer neural networks considered difficult during the first AI winter?

    Model answer

    Researchers considered multilayer networks difficult to train, meaning it was difficult to automatically determine suitable internal parameters.

    Explanation

    The difficulty of training multilayer networks contributed to the decline of interest in neural-network research.

  57. 57

    What effect did the first AI winter have on AI research?

    Model answer

    Government funding declined substantially, and much AI research stopped, although some pioneers continued working.

    Explanation

    The field entered a period of reduced activity after early promises were not fulfilled.

  58. 58

    What characterized the AI boom from approximately 1980 to 1987?

    Model answer

    The period saw renewed funding, interest in expert systems, popularization of backpropagation, and development of an early driverless car.

    Explanation

    The renewed optimism represented another growth phase in the field's recurring boom-and-bust pattern.

  59. 59

    Why did another AI winter occur from approximately 1987 to 1993?

    Model answer

    Funding was cut again after the renewed promises and investments failed to produce the expected general AI results.

    Explanation

    The popularity of personal computers also shifted attention toward smaller individual computing tasks rather than grand AI goals.

  60. 60

    What is an AI boom-bust cycle?

    Model answer

    It is a recurring pattern in which enthusiasm, investment, and research growth are followed by disappointment, reduced funding, and declining activity.

    Explanation

    The history of AI includes repeated periods of optimism and contraction rather than continuous progress.

  61. 61

    What major event occurred in 1997 involving IBM's Deep Blue?

    Model answer

    IBM's Deep Blue defeated chess champion Garry Kasparov.

    Explanation

    Deep Blue was primarily a rule-based system rather than a machine-learning chess system.

  62. 62

    Why was Deep Blue not considered a machine-learning chess system?

    Model answer

    Deep Blue relied primarily on programmed rules and search rather than learning its strategy from data or experience.

    Explanation

    This distinction separates its achievement from later systems such as AlphaZero.

  63. 63

    What does Moore's law state?

    Model answer

    Moore's law states that the number of transistors approximately doubles every two years.

    Explanation

    This trend contributed to long-term growth in available computational power.

  64. 64

    How did Moore's law support the development of machine learning?

    Model answer

    The continuing growth of computational power made it increasingly affordable to train and run more complex machine-learning models.

    Explanation

    Greater computation helped researchers work with larger models and datasets.

  65. 65

    What computational advantage do GPUs provide for machine learning?

    Model answer

    GPUs provide relatively inexpensive, highly parallel computational power that can accelerate many machine-learning calculations.

    Explanation

    Their availability helped make computationally intensive models more practical.

  66. 66

    What important theoretical developments occurred during the period of AI consolidation?

    Model answer

    Important developments included probability theory, information theory, optimization theory, and better optimization algorithms.

    Explanation

    These theories and algorithms later supported practical machine-learning methods.

  67. 67

    Why was the period from 2000 to 2012 important despite being relatively quiet in AI?

    Model answer

    It produced large datasets, stronger computational hardware such as GPUs, and continued research on deep networks.

    Explanation

    These developments created the conditions for the later deep-learning boom.

  68. 68

    How did internet search engines contribute to machine learning?

    Model answer

    They generated enormous amounts of search activity and data that could be analyzed and used to train machine-learning systems.

    Explanation

    The internet boom also produced large collections of images, videos, and other usable data.

  69. 69

    Why did researchers begin focusing on specific outcomes instead of general machine intelligence?

    Model answer

    Specific tasks, such as reading a postal code or filtering spam, have narrower goals and are easier to model and evaluate than general intelligence.

    Explanation

    Narrow objectives made it easier to identify effective algorithms and achieve useful performance.

  70. 70

    Give an example of how a specific computer-vision goal simplifies a problem.

    Model answer

    Recognizing the digits in a postal code requires identifying only the ten digits from 000 through 999, rather than understanding every possible visual object.

    Explanation

    Restricting the task reduces the range of patterns the model must learn.

  71. 71

    What autonomous-driving achievement occurred in 2005?

    Model answer

    An autonomous vehicle completed a journey of approximately 135135135 miles without interruption.

    Explanation

    This demonstrated substantial progress toward autonomous driving, although later systems had to handle more complex street environments.

  72. 72

    What was significant about IBM Watson's performance in Jeopardy?

    Model answer

    IBM Watson defeated a Jeopardy champion in a language-based quiz involving knowledge, puns, wordplay, and allusions.

    Explanation

    The achievement showed that an AI system could handle more than straightforward factual question answering.

  73. 73

    Why was AlphaGo's victory over Lee Sedol significant?

    Model answer

    AlphaGo defeated a top Go champion in a game considered much harder for AI than chess because of its enormous combinatorial complexity.

    Explanation

    The result exceeded expectations, since even its developers had initially hoped only to win one or two games.

  74. 74

    Why is Go considered more difficult for AI than chess?

    Model answer

    Go has a much larger space of possible moves and positions, creating greater combinatorial complexity despite its relatively simple rules.

    Explanation

    The board uses a 19×1919 \times 1919×19 grid, and the number of possible configurations is extremely large.

  75. 75

    What factors contributed to the recent AI boom?

    Model answer

    The boom was driven by better computational technology, huge datasets, private and government funding, accessible software, open-source resources, and improved algorithms.

    Explanation

    These factors reinforced one another by making powerful methods easier to develop, train, and deploy.

  76. 76

    What is meant by the democratization of machine-learning resources?

    Model answer

    It means that computational hardware, software packages, and algorithms have become accessible to a much broader public, including people using ordinary laptops.

    Explanation

    Access to affordable GPUs and publicly available software reduced the barriers to experimentation.

  77. 77

    How did commercial companies support the growth of machine learning?

    Model answer

    Companies such as Google, Facebook, IBM, and Microsoft made software, algorithms, and computational resources increasingly available to the public.

    Explanation

    This support allowed more people to use advanced methods without implementing every algorithm from scratch.

  78. 78

    What role did the open-source movement play in machine learning?

    Model answer

    It made machine-learning software and implementations widely available, allowing users to apply existing algorithms and develop systems more quickly.

    Explanation

    Open-source tools lowered the technical and financial barriers to using machine learning.

  79. 79

    How did CAPTCHA tasks contribute to machine learning?

    Model answer

    When people identified characters or images in CAPTCHA tasks, their responses supplied labeled examples that could help train recognition systems.

    Explanation

    These activities provided data indicating what particular visual patterns represented.

  80. 80

    How have games contributed to the growth of machine learning?

    Model answer

    Games have generated large amounts of data and provided controlled environments in which learning algorithms can be trained and evaluated.

    Explanation

    Game environments make it possible to measure performance clearly while producing many examples of decisions and outcomes.

  81. 81

    What was the ImageNet challenge?

    Model answer

    It was a visual-recognition challenge in which algorithms classified images into one of approximately 1,0001{,}0001,000 categories, such as cats, dogs, or buildings.

    Explanation

    The challenge provided a standardized way to compare computer-vision systems.

  82. 82

    Why was the 2012 ImageNet result considered a turning point?

    Model answer

    A convolutional neural network called AlexNet achieved a major improvement over previous vision algorithms and began a period in which machine-learning methods dominated the challenge.

    Explanation

    The large performance increase convinced many researchers that deep learning had significant practical potential.

  83. 83

    Why is the ability to read research literature especially important in modern machine learning?

    Model answer

    The field changes rapidly, and many important developments from recent years are reported in research papers rather than established textbooks.

    Explanation

    Understanding the literature helps practitioners keep up with new techniques and implement them in applications.

  84. 84

    How can data generated by large technology companies accelerate machine learning?

    Model answer

    Large collections of user interactions, searches, images, and other information provide training data for models and support extensive data mining.

    Explanation

    The scale of these datasets allows models to learn patterns that would be difficult to learn from small datasets.

  85. 85

    Why are the recent achievements of Watson and AlphaGo important to perceptions of AI?

    Model answer

    They demonstrated that machine-learning-based or partly machine-learning-based systems could perform impressively in complex language and strategic reasoning tasks.

    Explanation

    Their success contributed to a new wave of public and research enthusiasm.

  86. 86

    What does it mean to treat a machine-learning algorithm as a model?

    Model answer

    It means viewing the algorithm as a representation of the input-output relationship governing a particular problem.

    Explanation

    This is analogous to using models in engineering to describe phenomena such as fluid behavior, turbulence, stress-strain relations, or electrical circuits.

  87. 87

    How should one choose a machine-learning model for a problem?

    Model answer

    The choice should depend on the problem's input and output relationship and on the circumstances under which the model must operate.

    Explanation

    Different models are suitable for different data types and tasks, such as spam classification, vision, or time-series prediction.

  88. 88

    How can spam filtering be expressed as a modeling problem?

    Model answer

    The model maps the features of an email as input to an output classification such as spam or not spam.

    Explanation

    The central question is which model best represents the relationship between email characteristics and the desired classification.

  89. 89

    Which type of models are commonly considered for vision problems?

    Model answer

    Convolutional neural networks are commonly considered for vision problems.

    Explanation

    CNNs are designed to learn useful spatial features from images and other visual inputs.

  90. 90

    Which type of models are commonly considered for time-sequence problems?

    Model answer

    Recurrent neural networks are commonly considered for sequence-based or time-series problems.

    Explanation

    RNNs are designed to use information from earlier parts of a sequence when processing later elements.

  91. 91

    Why is the course's emphasis different from a purely theoretical machine-learning course?

    Model answer

    It emphasizes applications, practical model selection, coding, and engineering and science problems while still providing an overview of the underlying models.

    Explanation

    The focus is on understanding which algorithms work, under what conditions, and how to apply them effectively.

1 of 91
Question 1 of 91

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent