Machine Learning Introduction
Machine Learning for Engineering and Science Applications
Machine Learning in Everyday Technology
Many technologies used in everyday life rely on machine learning as an essential part of their algorithms:
Recommendation systems: Services such as Amazon analyze a user’s previous purchases and browsing behavior to recommend books, products, or other items that the user may prefer.
Speech recognition: Devices such as Amazon Echo convert spoken language into text or commands. This requires speech-recognition algorithms combined with search and information-retrieval systems.
Spam filtering: Email providers such as Google automatically classify incoming messages as spam or legitimate mail. Effective spam filtering must recognize many varied patterns rather than rely on a small list of fixed rules.
Autonomous vehicles: Self-driving cars use machine learning for perception, decision-making, navigation, and control.
The common feature of these applications is that they perform tasks that traditionally require human cognition, such as recognizing speech, identifying relevant products, distinguishing spam from legitimate messages, or interpreting a road environment.
What Is Machine Learning?
At a simple level, machine learning is a collection of methods and algorithms that enables computers to perform tasks associated with human intelligence.
Machine learning gives computers the ability to learn from data and experience without being explicitly programmed with every rule required for a task.
Human beings can often perform recognition and classification tasks almost instantaneously:
A person can recognize speech from infancy.
An experienced driver can operate a vehicle smoothly.
A person can usually identify whether an email is spam after a quick inspection.
A child can recognize a parent despite changes in clothing, facial expression, hairstyle, age, or voice.
Although these tasks appear simple to humans, they are difficult to encode using explicit rules.
Why Explicit Rules Become Difficult
A rule-based spam filter might attempt to use rules such as:
If an email mentions money, classify it as spam.
If an email originates from a particular country, classify it as spam.
If an email contains certain words, classify it as spam.
Such rules are unreliable because legitimate messages may contain the same words or originate from the same locations. To cover all possible cases, the number of rules would increase rapidly.
This growth in the number of possible cases is related to combinatorial explosion: as a problem becomes more complicated, the number of possible configurations or decisions can grow extremely quickly. A finite collection of manually written rules is therefore inadequate for many real-world tasks.
Machine learning addresses this difficulty by allowing a model to infer useful patterns from examples instead of requiring a human to specify every possible situation.
Machine Learning as a Set of Models
Machine learning contains a broad collection of models. Some of these models are recent, while others have existed for approximately half a century or longer.
The central question is not simply whether an algorithm can produce an answer, but rather:
What relationship does the model represent?
What kinds of inputs and outputs does it handle?
Under what circumstances does it work well?
What assumptions does it make?
How accurately and efficiently can it solve a particular problem?
Machine learning algorithms can be understood similarly to models in engineering and science.
Engineering and Scientific Models
Engineering disciplines use models to describe relationships between physical quantities:
An ideal gas law models the relationship among pressure, volume, and temperature.
Ohm’s law models the relationship among voltage, current, and resistance.
Fluid-mechanics models describe fluid motion and turbulence.
Solid-mechanics models describe stress, strain, and material behavior.
Computational fluid dynamics models approximate fluid behavior using numerical methods and governing equations.
In the same way, a machine learning model represents a relationship between an input and an output.
For example:
An email is the input.
The classification “spam” or “not spam” is the output.
The machine learning model estimates the relationship between the content of the email and its likely classification.
The purpose of the course is therefore to study machine learning algorithms as models for input-output relationships, especially in scientific and engineering settings.
Engineering and Science Applications
Machine learning is increasingly used to approximate, accelerate, or supplement traditional engineering and scientific procedures.
Medical Image Diagnosis
Radiologists examine images such as:
X-rays
Magnetic resonance imaging scans
Other medical images
They use these images to make judgments, such as whether a tumor is present or whether a lesion appears cancerous.
A machine learning system can be trained to identify patterns in medical images and produce a diagnostic classification. Such a system attempts to replicate part of the judgment normally made by a medical expert.
Machine learning does not eliminate the need for medical expertise, but it can potentially:
Assist with image screening
Identify suspicious regions
Prioritize cases for expert review
Support consistent diagnostic decisions
Reduce the time required to examine large numbers of images
Computational Fluid Dynamics
Consider fluid flowing past a cylinder. The flow field may contain complex structures, including variations in velocity represented by velocity contours.
Traditionally, engineers use computational fluid dynamics, or CFD, to simulate such problems. CFD typically involves numerical solutions of equations describing fluid motion. Similar computational approaches are used in:
Solid mechanics
Continuum mechanics
Partial-differential-equation-based modeling
Heat transfer
Structural analysis
These simulations can be computationally expensive. Machine learning can be used to construct faster approximations of the relationship between:
Geometry
Boundary conditions
Material or fluid properties
Flow parameters
Resulting physical fields
A trained model may not replace every part of a high-fidelity simulation, but it can potentially provide rapid predictions, reduced-order models, or useful approximations.
Broader Application Areas
The course emphasizes applications such as:
Medical image diagnosis
Turbulence modeling
CFD acceleration
Vision-based analysis
Time-series prediction
Sequential-data modeling
Scientific simulation
Engineering decision-making
The emphasis is on understanding both the underlying algorithms and the conditions under which they are useful.
Main Learning Goals
The major goals of studying machine learning for engineering and science are:
Understand fundamental machine learning models thoroughly.
Learn the principles of deep learning.
Study classical machine learning methods that remain widely useful.
Examine modern techniques that have emerged recently.
Apply machine learning models to practical engineering problems.
Develop enough programming ability to perform hands-on experiments.
Learn to read and understand applied machine learning research papers.
Machine learning is developing rapidly. Many important techniques are described in recent research papers rather than in established textbooks. Therefore, the ability to understand applied research literature is an important long-term skill.
A student may not immediately understand advanced theoretical work in machine learning, but should aim to understand papers that apply machine learning to practical problems.
Mathematical and Programming Foundations
Mathematical Preparation
A student should be comfortable thinking quantitatively and using a mathematical framework to describe problems.
The required mathematical sophistication does not necessarily mean mastery of every topic in linear algebra, probability, statistics, or optimization. Instead, it means being able to:
Interpret mathematical definitions
Work with equations and mathematical relationships
Understand vectors and matrices
Reason about probability
Interpret statistical quantities
Understand optimization objectives
Follow quantitative arguments rather than relying only on qualitative intuition
The most important prerequisite is comfort with mathematical thinking.
Programming Preparation
A student should have prior exposure to programming in at least one language. Examples in the material use:
Python
MATLAB
The student benefits most from being able to:
Read basic Python and MATLAB syntax
Modify existing programs
Implement simple algorithms
Run experiments
Analyze outputs
Complete hands-on exercises independently
Machine learning is best learned through practice. Merely reading descriptions of algorithms is insufficient for developing an understanding of how models behave.
Major Categories of Machine Learning Methods
Artificial Neural Networks and Deep Learning
Artificial neural networks are computational models inspired loosely by the way biological neurons process information. They consist of interconnected computational units that transform inputs into outputs.
A simple neural network can represent basic relationships, while multilayer networks can represent more complex relationships.
Important neural-network categories include:
Simple artificial neural networks: Basic networks used to introduce neural computation and supervised learning.
Convolutional neural networks: Networks especially useful for images and other spatially organized data.
Recurrent neural networks: Networks designed to process sequential or time-dependent data.
Deep learning: The use of neural networks with multiple layers to learn increasingly complex representations.
Convolutional Neural Networks
Convolutional neural networks, or CNNs, are commonly used for vision problems. They are useful because images contain local spatial patterns such as:
Edges
Textures
Shapes
Object parts
Complete objects
CNNs can learn increasingly complex visual features through successive processing stages.
Typical applications include:
Image classification
Object recognition
Medical-image analysis
Facial recognition
Visual inspection
Feature extraction from spatial data
Recurrent Neural Networks
Recurrent neural networks, or RNNs, are designed for sequential data. They are useful when the order of observations matters.
Examples of sequential data include:
Speech
Text
Sensor measurements
Financial time series
Weather records
Signals evolving over time
An RNN can use information from earlier elements of a sequence when processing later elements. This makes it suitable for problems in which the present depends on the past.
Regression and Classification as Simple Neural Models
Linear regression can be viewed as an extremely simplified neural network. Logistic regression is another foundational model that can be interpreted as a simple neural computation for classification.
These models provide a useful progression:
Linear regression
Logistic regression
Single-layer neural networks
Multilayer neural networks
Deep neural networks
Studying simple models first helps clarify how more complex neural networks learn.
Classical Machine Learning Techniques
Many machine learning methods were developed long before the recent deep-learning boom. They continue to be valuable, especially when the data size, problem structure, or computational resources favor simpler models.
Important classical methods include:
Tree-based methods: Use decision rules organized into tree structures.
Support vector machines: Construct decision boundaries that separate classes or approximate relationships.
Probabilistic methods: Represent uncertainty and relationships using probability distributions.
Gaussian mixture models: Represent data as a combination of several Gaussian distributions.
Unsupervised learning: Finds patterns or structures in data without requiring labeled outputs.
Classical methods may be used independently or together with neural networks and deep-learning models.
Modern Machine Learning Techniques
Modern methods include techniques that became widely influential during the last decade or more recently.
Examples include:
Advanced deep-learning architectures
Generative and adversarial models
Reinforcement learning
New methods for large-scale data analysis
Algorithms designed for complex scientific and engineering applications
Some modern techniques may be included depending on the available time and the progress of the learners. The field changes rapidly, so the methods considered “modern” also change quickly.
A Historical View of Artificial Intelligence
The Longstanding Idea of Artificial Intelligence
The idea of artificial intelligence is much older than modern computers.
Human beings have always created tools to extend their physical abilities:
Wheels extend transportation capabilities.
Levers help lift heavy objects.
Mechanical tools reproduce or amplify hand movements.
This led to a related question:
Can tools also be created to extend or reproduce human thinking?
The desire to create “thinking tools” reflects a long-standing interest in replicating human reasoning, speech, motion, creativity, and decision-making.
Automata and Mechanical Imitation
Throughout history, inventors created automata: machines designed to move automatically or imitate aspects of human or animal behavior.
Automata appeared in different cultures and historical periods. Although many were mechanical rather than intelligent, they demonstrated the ambition to reproduce human actions using machines.
The Mechanical Turk
The Mechanical Turk was presented as a machine capable of playing chess. It attracted considerable attention because it appeared to demonstrate machine intelligence.
In reality, it was a deception: a human chess player was concealed inside the mechanism and controlled its moves.
The Mechanical Turk was therefore not an actual intelligent machine, but it illustrates the longstanding fascination with the possibility of artificial reasoning.
Raja Bhoj’s Speculation
Raja Bhoj of Parmar was described as an accomplished poet, engineer, and scholar who speculated about machines capable of imitating human speech and motion.
The importance of this example is not that a functioning artificial-intelligence machine was actually built, but that the conceptual desire to replicate human abilities existed long before modern computer science.
Leibniz and the Decomposition of Thought
Gottfried Wilhelm Leibniz, one of the foundational figures in calculus, proposed an idea resembling a calculus of human thought.
His speculation was that complex thoughts could be expressed as combinations of simpler, basic, or axiomatic units.
This idea has an analogy with modern computers:
Modern computers represent information using elementary units such as zeros and ones.
Complex operations are built from combinations of these basic units.
Machine learning asks whether aspects of thinking, recognition, and creativity can similarly be represented through combinations of simpler processes.
The central question is whether intelligent behavior can be decomposed into elemental operations that a machine can manipulate.
Babbage and the Analytical Engine
Charles Babbage conceptualized the Analytical Engine in the nineteenth century, including in 1837.
The Analytical Engine contained ideas that resemble important features of modern computers. Although it was not completed as a modern functioning computer during Babbage’s lifetime, its conceptual design anticipated general-purpose computation.
The first electronic computers became practical in the 1940s. This created a striking connection between early theoretical designs and later computing systems.
A general-purpose computer can perform many different tasks, including:
Booking tickets
Recording and processing speech
Playing music
Displaying movies
Searching information
Running scientific calculations
However, ordinary computation does not necessarily imply learning. A computer can execute many programmed tasks without genuinely adapting its behavior from experience.
Machine learning attempts to extend computation by enabling systems to learn patterns and improve their performance.
Early Theoretical Foundations
The First Chess-Playing Machine
In 1914, a machine was developed that could perform a limited chess task involving a king and rook against a lone king.
This was not a general chess-playing system. It handled a highly restricted endgame in which the winning strategy can be specified relatively easily.
Nevertheless, it demonstrated that a machine could carry out a task associated with strategic reasoning.
The First Driverless Car
A radio-controlled driverless car was demonstrated in 1925 with assistance from the United States Army.
Because it was remotely controlled, it did not possess the autonomy of modern self-driving vehicles. However, it showed that a vehicle could move without a person directly controlling its steering and propulsion from inside.
Artificial Neurons
The 1940s brought important theoretical work on artificial neurons. These models provided an abstract way to represent how simple computational units might combine signals and produce outputs.
Artificial neurons later became the basic building blocks of artificial neural networks.
Turing and Universal Computation
Alan Turing contributed foundational ideas about:
The theory of computation
Universal computers
The possibility of describing computation in a general mathematical framework
A universal computer is a machine capable of performing any computable task, provided it receives the appropriate instructions and data.
Tasks that seem unrelated, such as booking a ticket, playing a video, or processing a signal, can all be treated as computations. The idea that one machine could perform such a wide range of tasks was not initially obvious, but it became central to modern computing.
Shannon and Information Theory
Claude Shannon developed information theory, which studies the representation, transmission, storage, and measurement of information.
Information theory later became important in:
Machine learning
Signal processing
Data compression
Communication systems
Statistical modeling
Measurement of uncertainty
The Growth of Artificial Intelligence in the 1950s
The 1950s were a highly optimistic period for artificial intelligence.
Cybernetics
Norbert Wiener developed and popularized cybernetics, the study of control, communication, feedback, and interaction between machines and living systems.
Cybernetic ideas influenced early thinking about intelligent behavior and adaptive systems.
Early Neural-Network Hardware
Marvin Minsky developed the SNARC, or Stochastic Neural-Analog Reinforcement Calculator. It was an early neural-network machine implemented in hardware.
SNARC was significant because it demonstrated that neural-network ideas could be implemented computationally rather than existing only as abstract theories.
Automated Reasoning
Herbert Simon and Allen Newell developed machines capable of automated theorem proving and problem solving.
Their work contributed to the idea that reasoning could be represented as a sequence of formal operations carried out by a machine.
The Term Artificial Intelligence
The term artificial intelligence was first formally coined in 1956 at the Dartmouth conference.
This event helped establish artificial intelligence as a distinct research field and reflected the strong optimism of the period.
The Perceptron
Frank Rosenblatt developed the perceptron, an artificial neural network with two layers.
The perceptron was an early model for classification. It demonstrated that a machine could adjust its internal parameters in response to examples and learn to distinguish among certain types of input.
Machine Learning Versus Explicit Programming
Arthur Samuel’s Definition
Arthur Samuel described machine learning as a field that gives computers the ability to learn without being explicitly programmed.
The crucial distinction is the source of the behavior:
In explicit programming, humans write the rules.
In machine learning, the system infers useful rules or patterns from data.
The machine is not given a separate manually written instruction for every possible input. Instead, it is trained using examples and develops a model that can generalize to new inputs.
Expert Systems
An expert system attempts to reproduce the decision-making of a human expert using a collection of manually specified rules.
For example, a grammar-checking expert system might contain rules such as:
A singular subject should be paired with a singular verb.
A plural subject should be paired with a plural verb.
Certain word sequences should be corrected in particular ways.
Expert systems work well when:
The rules are clearly understood.
The number of possible cases is limited.
The domain is structured.
Exceptions are relatively uncommon.
They become difficult to construct when:
The rules are ambiguous.
There are many exceptions.
Context affects the correct answer.
Human experts cannot clearly explain their own decisions.
The number of possible cases is extremely large.
Language as an Example
Human beings can often switch between the grammatical structures of multiple languages with little conscious effort. However, it is difficult to write a complete set of rules describing how people identify and use every grammatical construction.
This illustrates an important limitation of rule-based systems: humans may perform a task successfully without being able to articulate all the rules used to perform it.
When Machine Learning Is Preferable
Machine learning is particularly useful when explicit rules are incomplete, difficult to formulate, or too numerous.
Examples include:
Natural-language understanding
Speech recognition
Image recognition
Spam filtering
Complex game strategies
Medical diagnosis
Recognition of faces and objects
The First AI Winter
Causes of the First Decline
The initial optimism surrounding artificial intelligence was followed by a period commonly called the first AI winter, approximately from 1974 to 1980.
Several problems contributed to this decline:
Early results often worked only on small, simplified problems.
Computational power was very limited.
Rule-based approaches became impractical as problem complexity increased.
The number of cases in real-world tasks was too large to enumerate.
Theoretical limitations were identified in simple neural networks.
Research expectations had been exaggerated.
Toy Problems
Many early demonstrations solved “toy problems”: simplified exercises with limited complexity.
Success on a small chess endgame, a restricted algebra problem, or a carefully structured language task did not necessarily imply that a system could handle a real-world version of the problem.
Limited Computational Power
Computers of the period had far less computational power than modern laptops or smartphones. Algorithms that might be practical today were often impossible to run at useful scale.
Combinatorial Explosion
In complex problems, the number of possible states or decisions can grow extremely rapidly.
For example:
A chess position with only a few pieces has relatively few possible interactions.
Adding more pieces causes the number of possible positions and moves to grow dramatically.
A rule-based system would need to account for an enormous number of situations.
This rapid growth makes exhaustive enumeration impractical.
The Difficulty of Programming Common Sense
Common sense is one of the hardest forms of knowledge to encode explicitly.
A child can recognize a parent despite changes in:
Clothing
Facial expression
Hair
Voice
Age
Presence or absence of a beard
To reproduce this behavior using rules, a programmer would need to anticipate and encode a huge number of variations. Human cognition handles such changes naturally, but a rule-based computer system does not automatically know which features are important.
Common sense is difficult to program because it depends on a vast collection of implicit knowledge, context, and flexible generalization.
The nature of human cognition remains an open research problem, but it is clear that simply listing rules is not a sufficient solution.
Limitations of Single-Layer Neural Networks
During this period, the limitations of perceptron-like, single-layer neural networks were emphasized.
A single-layer neural network cannot represent certain classes of relationships and therefore cannot solve every problem.
The difficulties included:
Limited expressive power
Inability to represent some non-linear relationships
Difficulty extending the model to more layers
Lack of effective methods for automatically training multilayer networks
The issue was not that neural networks were useless, but that the early models were too simple for many desired tasks and the training procedures for more complex networks were not yet sufficiently developed.
Backpropagation
The backpropagation algorithm was available as a theoretical idea as early as 1969. Backpropagation provides a way to calculate how changes in network parameters affect the error and then adjust those parameters to improve performance.
In modern terminology, training a neural network means automatically adjusting its parameters using data so that its predictions become more accurate.
Although backpropagation existed early, it did not immediately lead to widespread success because:
Computational resources were limited.
Data sets were small.
Neural networks were difficult to train effectively.
Expectations were too high.
The available models and software were not yet sufficiently mature.
The combination of theoretical limitations, disappointing results, and reduced funding produced a major slowdown in AI research.
Later AI Cycles
Renewed Interest During the 1980s
Artificial intelligence experienced renewed interest between approximately 1980 and 1987.
Developments included:
Greater use of expert systems
Increased attention to backpropagation
Experiments involving autonomous vehicles
Considerable investment in driverless-car research
A driverless vehicle reportedly traveled a substantial distance autonomously during this period. However, the technology did not produce the mature autonomous-driving systems expected at the time.
The renewed optimism again led to high expectations, followed by another decline.
The Second AI Winter
Between approximately 1987 and 1993, personal computers became increasingly popular.
Computing shifted toward individual uses such as:
Word processing
Personal productivity
Local software applications
At the same time, ambitious goals involving generally intelligent machines received less attention. Funding was reduced again, contributing to another AI winter.
The repeated pattern demonstrated that AI progress often follows a boom-bust cycle:
A promising method produces impressive demonstrations.
Expectations rise rapidly.
Limitations become apparent.
Funding and interest decline.
Researchers continue developing the ideas more quietly.
New capabilities eventually produce another period of growth.
Consolidation During the 1990s
Between approximately 1994 and 2000, AI entered a period of consolidation and more measured progress.
Deep Blue and Chess
In 1997, IBM’s Deep Blue defeated the chess champion Garry Kasparov.
Deep Blue was primarily a rule-based and search-oriented system rather than a modern machine learning system. It demonstrated that highly specialized computation could outperform a world-class human in chess.
This distinction is important:
A system can be extremely successful at a narrow task without learning in the modern sense.
Deep Blue’s success did not mean that machines had achieved general intelligence.
Many conventional chess engines continued to rely heavily on search, evaluation rules, and manually designed computational strategies.
Later systems such as AlphaZero used machine learning in a substantially different way.
Theoretical Progress
During this period, important theoretical and practical foundations improved:
Probability theory
Information theory
Optimization theory
Numerical optimization algorithms
Statistical modeling
These developments later became essential for machine learning.
Computational Growth and Moore’s Law
Moore’s law describes the historical trend that the number of transistors on an integrated circuit approximately doubles every two years.
In practical terms, computing power available for a given cost increased dramatically over time. The growth is often described as exponential.
This improvement affected machine learning by making it possible to:
Train larger models
Process more data
Perform more numerical operations
Run complex optimization procedures
Experiment with deeper neural networks
Use machine learning in real-time systems
Graphics processing units, or GPUs, were especially important because they can perform many numerical operations in parallel. This made them highly effective for training neural networks.
Other advanced computational technologies, including quantum computing, have also been investigated for potential advantages in particular algorithms. Their usefulness depends on the specific computational problem and algorithmic structure.
The Quiet Years and the Data Revolution
Growth of the Internet
The period from approximately 2000 to 2012 was relatively quiet in terms of public excitement about artificial intelligence, but it contained major developments.
The growth of Internet companies and search engines produced enormous quantities of data:
Text
Images
Videos
Search queries
User interactions
Product information
Social connections
Machine learning is highly dependent on data. The increased availability of large data sets made it possible to train statistical models more effectively.
Data-Hungry Algorithms
Many machine learning models improve when they are given:
More examples
More diverse examples
Better-labeled examples
More representative data
The Internet provided the scale of data needed to train increasingly complex models.
The combination of large data sets and increased computing power was a major factor in the modern rise of machine learning.
Practical, Specific Objectives
Researchers also became more pragmatic. Instead of attempting to build a machine that could understand everything, they focused on narrowly defined tasks.
Examples include:
Reading the digits in a postal code
Identifying whether an email is spam
Recognizing a particular class of image
Translating a specific type of text
Predicting a particular physical quantity
Specific objectives are easier to evaluate and optimize. They also make it possible to compare different machine learning models objectively.
This shift from vague general intelligence goals to precise application goals contributed significantly to practical progress.
Autonomous Driving and Watson
By 2005, an autonomous vehicle had completed a long drive of approximately 135 miles without interruption.
Later autonomous-driving systems attempted more demanding tasks, such as driving on public roads while interacting with moving vehicles and pedestrians.
IBM’s Watson also defeated champions on the quiz program Jeopardy! around 2011 or 2012. The challenge was significant because the game involved:
Broad factual knowledge
Ambiguous language
Wordplay
Puns
Allusions
Context-sensitive interpretation
Watson’s performance showed that machines could combine information retrieval, language processing, and statistical or machine learning techniques to solve complex question-answering tasks.
The Modern AI Boom
The current period of rapid growth has been driven by several interacting factors.
Private and Industrial Funding
Large technology companies invested heavily in artificial intelligence, including companies working on:
Search
Voice assistants
Autonomous vehicles
Question answering
Image recognition
Natural-language processing
Scientific applications
Private funding supplemented government research support and accelerated the development of practical systems.
Growth in Computational Resources
The availability of:
GPUs
Specialized hardware
Cloud computing
Parallel computation
More efficient software libraries
made it possible for many researchers and organizations to train models that previously would have required major institutional resources.
Large-Scale Data
Modern companies collect or process enormous quantities of data. This data supports:
Statistical analysis
Model training
Performance evaluation
Personalization
Pattern discovery
The amount and variety of available data have increased dramatically.
Crowdsourcing and Human-Generated Labels
People have contributed to the creation of training data both deliberately and indirectly.
Examples include:
Tagging images
Labeling online content
Solving CAPTCHA challenges
Interacting with websites and applications
Playing games
Correcting or selecting system outputs
CAPTCHAs are designed to distinguish humans from automated systems, but human responses can also provide information useful for recognizing characters or images.
This illustrates that machine learning systems often depend not only on algorithms and hardware, but also on large quantities of human-generated or human-validated data.
Open-Source Software
Artificial intelligence has become more accessible because major organizations have released software frameworks and tools to the public.
Examples include:
Google’s TensorFlow
Facebook’s PyTorch
Other commercial and open-source machine learning packages
These tools allow researchers and students to:
Build models without implementing every operation from scratch
Use optimized numerical routines
Run experiments on ordinary computers
Reproduce published methods more easily
Develop applications more quickly
This is a form of democratization of computational resources: advanced algorithms are no longer limited exclusively to a small number of large laboratories.
ImageNet and the Deep-Learning Breakthrough
The ImageNet Challenge
ImageNet was a major image-recognition challenge involving many categories of images.
A system had to identify whether an image contained objects such as:
Cats
Dogs
Buildings
Other visual categories
Before 2012, leading methods relied largely on traditional computer-vision techniques based on manually designed features and rules.
AlexNet in 2012
In 2012, a convolutional neural network called AlexNet produced a dramatic improvement in image-recognition performance.
This result was a major turning point because:
It demonstrated the practical strength of deep convolutional networks.
It produced a large performance improvement over previous methods.
It showed the combined value of large data sets, GPUs, and multilayer neural networks.
It led to widespread recognition of deep learning as a powerful approach.
After this breakthrough, machine learning methods based on neural networks dominated the competition in subsequent years.
The event helped initiate the modern deep-learning boom and encouraged many researchers to enter the field.
Watson and AlphaGo as Milestones
Watson
Watson combined several capabilities to compete in a complex quiz environment:
Information retrieval
Natural-language processing
Statistical reasoning
Knowledge representation
Machine learning
Its success demonstrated that a machine could handle language-rich tasks involving ambiguity and wordplay, even though it did not possess human-like general understanding.
AlphaGo
Go is played on a 19×19 board using black and white pieces. Its rules are relatively simple, but the number of possible positions and strategies is enormous.
Go is therefore much more difficult for exhaustive search than chess in several respects. The large number of possible moves creates severe combinatorial complexity.
AlphaGo defeated the Go champion Lee Sedol, surprising many researchers. Before this result, it was widely believed that a machine capable of defeating top Go players was still many years away.
AlphaGo demonstrated the power of combining:
Deep neural networks
Search
Reinforcement learning
Large amounts of training data
Self-play and strategic evaluation
Its success showed that machine learning could handle tasks previously considered too complex for practical artificial intelligence.
Why the Current AI Period Is Different
The current period differs from earlier AI cycles in several tangible ways.
Better Hardware
Modern systems have access to:
Much faster processors
GPUs
Specialized machine learning hardware
Large-scale data centers
Parallel computation
Cloud-based resources
The computational difference between earlier decades and the present is enormous.
Large Data Sets
Modern society produces vast quantities of data. Many applications generate more information than can be manually analyzed.
Machine learning provides tools for discovering patterns within this data, although the quality, relevance, and fairness of the data remain important concerns.
Accessible Resources
A modern laptop with a suitable GPU can run many useful machine learning algorithms. Students and researchers can experiment with methods that once required expensive institutional equipment.
Open-Source Frameworks
Widely available software packages reduce the effort needed to implement machine learning. A user can apply an existing, tested algorithm instead of writing all mathematical and computational operations from the beginning.
Better Algorithms
Many current algorithms are related to older ideas, but improvements in:
Architecture
Optimization
Regularization
Training procedures
Data handling
Hardware utilization
have made them substantially more effective.
The current boom is therefore not caused by one factor alone. It results from the interaction of improved algorithms, faster hardware, large data sets, and accessible software.
Humans, Rules, and Learning Systems
The achievements of systems such as Watson and AlphaGo should not be interpreted as evidence that machines have solved intelligence in general.
Machine learning systems are usually designed for particular tasks. Their capabilities depend on:
The training data
The model architecture
The objective function
The available computational resources
The environment in which the model operates
A system may be extraordinarily capable in one task while being unable to perform simple tasks outside its training or design conditions.
This is an important distinction between specialized intelligence and general human-like intelligence.
The Central Focus: Algorithms as Engineering Models
The central focus of machine learning for engineering and science is to determine which model is appropriate for a particular problem.
Important questions include:
What is the input?
What is the desired output?
Is the task classification, regression, prediction, or control?
Is the data spatial, temporal, sequential, or unordered?
Are labeled examples available?
How much data is available?
How expensive is training?
How fast must predictions be produced?
How interpretable must the model be?
How accurately must physical behavior be represented?
Examples
Spam filtering: A classification model maps email content to spam or non-spam labels.
Medical diagnosis: An image model maps scan data to a diagnostic prediction.
Flow prediction: A scientific model maps flow conditions and geometry to predicted velocity or pressure fields.
Time-series analysis: A sequential model uses previous observations to predict future values.
Unsupervised learning: A model discovers structure without predefined labels.
No single machine learning algorithm is best for every situation. The most suitable method depends on the structure of the problem, the data, and the desired outcome.
Machine learning is most effectively understood as the selection, training, evaluation, and application of models for specific input-output relationships.
The continuing development of new algorithms makes it essential to understand both foundational methods and current research.

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