AI and Machine Learning Overview
- 116Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What is narrow artificial intelligence?
116 questions
- 1
What is narrow artificial intelligence?
Model answer
Narrow AI is the theory and development of computer systems that perform tasks augmenting human intelligence, such as perceiving, classifying, learning, abstracting, reasoning, or acting.
Explanation
Narrow AI focuses on specific capabilities or tasks rather than complete human-level autonomy.
- 2
How is general AI defined in the content?
Model answer
General AI is defined as full autonomy.
Explanation
The content distinguishes general AI from narrow AI by associating it with complete autonomous operation.
- 3
Why should narrow AI and general AI not be conflated?
Model answer
They describe different goals: narrow AI performs specific intelligence-augmenting tasks, whereas general AI refers to full autonomy.
Explanation
Confusing these concepts can make discussions about current AI capabilities misleading.
- 4
What three technical communities helped produce the recent resurgence of AI?
Model answer
The resurgence resulted from the convergence of big data, advances in computing technologies, and progress in machine-learning algorithms.
Explanation
The interaction of data, computing power, and algorithms made modern AI more practical and powerful.
- 5
What additional economic factor helped make AI prominent?
Model answer
Organizations developed ways to make money from AI-related activities, including targeted advertising and large-scale data labeling.
Explanation
Economic incentives helped increase investment and attention in AI.
- 6
What are common machine-learning tasks?
Model answer
Common tasks include classification, regression, prediction, and clustering.
Explanation
These tasks represent several major ways that machine-learning systems analyze data or make predictions.
- 7
How does traditional programming differ from machine learning?
Model answer
Traditional programming provides data and explicit rules to produce outputs, whereas machine learning provides data and desired outputs so the computer can infer the rules or model.
Explanation
Machine learning shifts part of the programming process from human-written rules to model learning from examples.
- 8
What is the relationship among artificial intelligence, machine learning, neural networks, and deep neural networks?
Model answer
Machine learning is a subset of artificial intelligence; neural networks are a subset of machine learning; and deep neural networks are a subset of neural networks.
Explanation
Neural networks are important to AI but do not represent the entire field.
- 9
Give an example of an AI method that may fall outside machine learning but inside artificial intelligence.
Model answer
Expert systems, or other knowledge-based systems, are examples.
Explanation
These systems can use explicitly encoded knowledge rather than learning primarily from data.
- 10
What is the canonical architecture of an AI system intended to represent?
Model answer
It represents an end-to-end pipeline showing the components and connections from sensors or data sources to end users or mission execution.
Explanation
The architecture emphasizes that an AI system includes much more than its algorithms.
- 11
What types of sources can provide data to an AI system?
Model answer
Data may come from structured or unstructured sources, including sensors, network logs, metadata, speech, reports, social media, and other signals.
Explanation
AI systems must often combine data with very different formats and levels of organization.
- 12
What is the purpose of data conditioning?
Model answer
Data conditioning organizes and transforms incoming structured or unstructured data into a usable form for subsequent processing.
Explanation
Conditioning prepares raw data to become information that algorithms can analyze.
- 13
Describe the information flow from data to mission insight in the canonical AI architecture.
Model answer
Data is conditioned into information, algorithms convert information into knowledge, and human-machine teaming combines that knowledge with human input to produce insight for mission execution.
Explanation
Each stage adds organization, interpretation, or context before the system supports action.
- 14
What is the role of algorithms in the AI architecture?
Model answer
Algorithms process information and convert it into knowledge that can support interaction with a human, user, or mission.
Explanation
The architecture may contain one algorithm or a sequence of multiple algorithms.
- 15
What does human-machine teaming contribute to an AI system?
Model answer
It combines machine-produced knowledge with human interaction or judgment to create insight that can be used to execute a mission.
Explanation
The human and machine jointly contribute to the final operational result.
- 16
What forms the technological bedrock beneath the AI architecture?
Model answer
Modern computing technologies and hardware form the bedrock beneath the AI architecture.
Explanation
Computing infrastructure supports data handling, algorithms, interaction, and deployment.
- 17
What elements are included in robust AI?
Model answer
Robust AI includes explainability, metrics, bias assessment, verification and validation, security, policy, ethics, safety, and training.
Explanation
These elements address whether an AI system is trustworthy, safe, interpretable, and appropriate for deployment.
- 18
Why does the AI architecture need a robust-AI layer?
Model answer
It needs this layer because AI decisions can have serious consequences, requiring attention to reliability, security, fairness, safety, explainability, and responsible use.
Explanation
The higher the consequences of failure, the more important these safeguards become.
- 19
What characterizes the first wave of AI technology?
Model answer
The first wave emphasized reasoning-based systems that used handcrafted human knowledge, such as expert systems.
Explanation
Human experts explicitly encoded rules for the system to apply.
- 20
Why were first-wave AI systems often strong at reasoning?
Model answer
They encoded human expert knowledge directly into rules, allowing the systems to produce outputs based on interpretable reasoning steps.
Explanation
Their reasoning ability came from explicit knowledge representation rather than extensive data-driven learning.
- 21
Give two examples of expert-system applications described in the content.
Model answer
Tax software and early autonomous vehicles using handcrafted finite-state-machine states and transitions are examples.
Explanation
Both applications can use explicit expert rules to represent system behavior.
- 22
When are expert systems still especially useful?
Model answer
They are useful when data or computing power is limited, or when explainability is especially important.
Explanation
Their rule-based structure can work without large data sets and can make the reason for an output easier to inspect.
- 23
What enabled the learning wave of AI?
Model answer
The learning wave was enabled by increased data availability and statistical learning methods that allowed systems to learn details from data.
Explanation
The system required less manually encoded expert knowledge than earlier expert systems.
- 24
How does a learning-wave system divide responsibilities between experts and data?
Model answer
Experts may provide high-level structure or statistical assumptions, while the system uses data to learn detailed rules or parameters.
Explanation
This approach reduces the amount of low-level knowledge that humans must encode.
- 25
How did learning-wave systems compare with reasoning-based systems along the dimensions of perception, learning, abstraction, and reasoning?
Model answer
They generally improved perception and learning, but their abilities to abstract and explain or reason remained relatively limited.
Explanation
Data-driven learning increased pattern recognition without necessarily producing human-like explanations.
- 26
What is contextual learning or contextual adaptation?
Model answer
It is an approach in which an AI system automatically incorporates context so that it can abstract and reason about what it observes.
Explanation
Context helps a system recognize an object or situation across changing circumstances.
- 27
How does the chair example illustrate contextual learning?
Model answer
A system using context could recognize that an object remains a chair even when it is moved, partly by considering its surroundings, such as its position near a table.
Explanation
The identity of an object is inferred from more than isolated surface features.
- 28
What is the future AI wave called abstraction intended to achieve?
Model answer
It is intended to let an AI system abstract learned information and transfer that knowledge across different domains.
Explanation
The system would learn functional concepts, such as that a table is used to place things on, rather than only physical features.
- 29
Why are the different waves of AI not necessarily better or worse than one another?
Model answer
The appropriate approach depends on available data, computing resources, and the amount of expert knowledge that can be encoded.
Explanation
A simpler method may be the best choice when resources or requirements favor it.
- 30
What three resource dials should guide the choice of an AI technique?
Model answer
The dials are available computing power, available data—especially labeled data—and the amount of expert knowledge that can be embedded in the algorithm.
Explanation
These resources determine which combination of rules, statistical methods, or learned models is practical.
- 31
What type of AI approach is suitable when computing and labeled data are scarce but expert knowledge is abundant?
Model answer
An expert system may be appropriate because it can rely on encoded human knowledge instead of extensive data and computation.
Explanation
Explicit rules compensate for shortages of data or computing resources.
- 32
What type of approach is suitable when large amounts of data and computing are available but little human knowledge is encoded?
Model answer
Data-driven methods such as neural networks or statistical techniques may be appropriate.
Explanation
These methods can learn much of the needed structure from data.
- 33
Why is data considered critical to breakthroughs in AI?
Model answer
A strong, well-structured, well-labeled, and documented canonical data set can be as important as, or more important than, a new algorithm.
Explanation
High-quality data allows algorithms to be trained, evaluated, and reused effectively.
- 34
How does the availability of a high-quality data set compare with the initial proposal of an algorithm in time to an AI breakthrough?
Model answer
The average time from the availability of a valuable data set to a breakthrough is described as much shorter than the time from an algorithm's initial proposal.
Explanation
This comparison highlights the practical importance of making useful data available.
- 35
What characteristics make a data set especially valuable to the AI community?
Model answer
It should be strong, well-labeled, well-structured, and well-documented, and making it broadly available can increase its value.
Explanation
Accessible, clearly described data can support work by many researchers and developers.
- 36
What are examples of structured data sources?
Model answer
Examples include sensor measurements, network logs, sensor metadata, and signals acquired according to known patterns.
Explanation
Structured sources follow an identifiable organization or acquisition format.
- 37
What are examples of unstructured data sources?
Model answer
Examples include internet or social-media content, reports, and sensor data without a strong internal structure.
Explanation
Unstructured data is not already organized into a consistent format suitable for direct analysis.
- 38
Why can speech be considered either structured or unstructured?
Model answer
Speech may be treated as structured when its acquisition system supplies predictable metadata and sampling patterns, but field-collected speech without that organization may be treated as unstructured.
Explanation
The classification depends partly on how the data is acquired and represented.
- 39
Why are databases or infrastructure important when working with unstructured data?
Model answer
They can index, organize, and structure the data, provide domain-specific or declarative interfaces, and enable high-performance access.
Explanation
Transforming unstructured data into structured or semi-structured form can make previously unused information accessible.
- 40
What is data curation?
Model answer
Data curation is the process of examining, cleaning, organizing, and preparing data based on its characteristics and intended use.
Explanation
Curation requires substantial knowledge of both the data and the task it will support.
- 41
What operations may be performed during data curation?
Model answer
Possible operations include dimensionality reduction, clustering, pattern recognition, outlier detection, and identifying or highlighting missing values.
Explanation
These operations help reveal useful structure and remove or identify problematic data.
- 42
What is the purpose of initial data exploration?
Model answer
It helps reveal the data's structure, missing or incomplete values, unusual patterns, and possible errors before modeling begins.
Explanation
Initial inspection can be as simple as examining rows and columns in a spreadsheet.
- 43
Why might a data scientist contact a data provider or revisit a sensor during curation?
Model answer
They may need to verify suspicious measurements, correct collection problems, or determine whether repeated values reflect a faulty sensor or a real constant value.
Explanation
Checking the source can distinguish genuine phenomena from collection errors.
- 44
What should be examined in data collection before labeling?
Model answer
The process should be examined for errors, biases, and other collection problems that could affect the labels or hide the phenomenon of interest.
Explanation
Labels cannot make a data set reliable if the underlying collection process is flawed.
- 45
How can unstructured data volume and analytical value differ?
Model answer
Unstructured data may constitute most of the volume—often around 90% in the example—while structured data may provide most of the currently exploited value.
Explanation
Structured data is often analyzed more because it is easier to access and process, not necessarily because it contains more potential value.
- 46
Why might multiple data modalities be valuable but difficult to use?
Model answer
Combining modalities such as audio and text can provide complementary information, but integrating data collected by different systems is challenging.
Explanation
The published literature may focus on single modalities even though multimodal fusion has significant potential.
- 47
What are the five tribes of machine learning and an example of each?
Model answer
The tribes are symbolists, such as expert systems; Bayesians, such as naive Bayes; analogizers, such as support vector machines; connectionists, such as deep neural networks; and evolutionaries, such as genetic programming.
Explanation
This taxonomy groups algorithms according to different traditions or principles for learning.
- 48
Why should practitioners choose among many machine-learning algorithms rather than always using neural networks?
Model answer
Different algorithms have different strengths, and the best choice depends on the task, available data, computing resources, and encodable expert knowledge.
Explanation
Neural networks are only one family within the broader machine-learning field.
- 49
What does supervised learning provide to an algorithm?
Model answer
It provides input data together with labels or ground-truth answers for those data.
Explanation
The labels define the desired output against which the model can be trained and evaluated.
- 50
What does unsupervised learning provide to an algorithm?
Model answer
It provides data without labels and asks the algorithm to discover hidden structure, patterns, or subgroups.
Explanation
The lack of labels makes the learning objective less directly specified.
- 51
What does reinforcement learning provide instead of a label for each data point?
Model answer
It provides reward information indicating whether actions were beneficial or harmful, often through positive or negative feedback.
Explanation
The system learns to choose actions that maximize accumulated reward.
- 52
Which tasks are typically associated with supervised learning?
Model answer
Classification and regression are typical supervised-learning tasks.
Explanation
Both tasks learn from examples in which the desired output is known.
- 53
Which tasks are typically associated with unsupervised learning?
Model answer
Clustering, data projection, and dimensionality reduction are typical unsupervised-learning tasks.
Explanation
These tasks seek useful structure without requiring predefined labels.
- 54
What is the difference between regression and classification?
Model answer
Regression predicts a continuous variable, whereas classification predicts a discrete class or label.
Explanation
The type of output distinguishes the two main supervised-learning objectives.
- 55
What is overfitting?
Model answer
Overfitting occurs when a model performs very well on training data but performs poorly on unseen or test data because it has not generalized.
Explanation
The model may have learned the training examples too specifically rather than the underlying pattern.
- 56
What is underfitting?
Model answer
Underfitting occurs when the chosen model is unable to represent the behavior or patterns present in the data adequately.
Explanation
An overly simple or inappropriate model can perform poorly on both training and test data.
- 57
How can poor data cause machine-learning failure?
Model answer
Noisy, missing, or incorrect features can hide the target phenomenon or provide misleading information, producing poor model results.
Explanation
Improving the algorithm cannot fully compensate for severely defective input data.
- 58
Why can choosing a linear model for a nonlinear problem be a mistake?
Model answer
A linear model may be unable to represent the nonlinear relationship or decision boundary required by the problem.
Explanation
The model family must be expressive enough to capture the underlying phenomenology.
- 59
What is the purpose of separating training data from test data?
Model answer
The separation allows a model to be trained on one portion and evaluated on unseen labeled examples to measure generalization.
Explanation
Using held-out data helps reveal whether the model learned a general pattern rather than memorized its training set.
- 60
What is the difference between training and inference?
Model answer
Training is the process of learning a model from data, while inference is applying the trained model to unseen data in deployment or the field.
Explanation
Training creates the model; inference uses it to generate predictions or decisions.
- 61
What is a neural network?
Model answer
A neural network is a computing system inspired by biological networks that learns to perform tasks through repeated training on examples.
Explanation
Its learned behavior is represented through interconnected computational units and adjustable parameters.
- 62
What are the main components of a neural network?
Model answer
The main components are inputs, layers, outputs, and weights.
Explanation
Deep networks also contain many hidden layers between the input and output.
- 63
What distinguishes a deep neural network from a basic neural network?
Model answer
A deep neural network has many hidden layers or substantial depth in its architecture.
Explanation
The content also notes that recurrence can contribute to depth, but the central idea is multiple layers of computation.
- 64
Name three types of neural networks mentioned in the content.
Model answer
Examples include convolutional neural networks, recursive neural networks, and deep belief networks.
Explanation
These are different architectural variants used for different learning problems.
- 65
What can serve as input features for an image-based neural network?
Model answer
RGB pixel values can serve as input features, and additional features may include pixel positions or spatial distances.
Explanation
Feature engineering determines how raw image information is represented to the network.
- 66
What can serve as input features for a time-series signal?
Model answer
The amplitude or magnitude at a particular frequency or time step can serve as an input feature.
Explanation
Time-series features represent signal behavior at selected temporal or frequency locations.
- 67
What is feature engineering?
Model answer
Feature engineering is the process of designing or combining input features so that they represent information useful for learning.
Explanation
It may involve adding spatial, temporal, audio, text, or other information to improve a model.
- 68
Why might audio and text be fused as neural-network inputs?
Model answer
Audio and text can provide complementary information, and combining them may allow the network to learn a better representation or achieve better performance.
Explanation
Multimodal feature fusion supplements one data source with another.
- 69
What mathematical operation determines the output of a neural-network layer?
Model answer
The output of layer i+1 is a nonlinear function of the weighted inputs from layer i plus a bias term: yi+1=f(Wyi+b).
Explanation
The weights combine the previous-layer outputs, the bias shifts the result, and the nonlinear function transforms it.
- 70
What parameters are primarily learned during neural-network training?
Model answer
The network learns its weights and biases.
Explanation
These parameters define the function represented by the network.
- 71
What is an activation function?
Model answer
An activation function is the function applied to the weighted combination of inputs and a bias at a neural-network node.
Explanation
Activation functions introduce nonlinear behavior into the network.
- 72
Using weights 2.7, 8.6, and 0.002 and inputs −0.06, 2.5, and 1.4, what approximate pre-activation value is obtained in the example?
Model answer
The weighted sum is approximately 21.34.
Explanation
The value is found by computing (−0.06)(2.7)+(2.5)(8.6)+(1.4)(0.002).
- 73
What happens when a sigmoid activation is applied to the example value 21.34?
Model answer
The sigmoid output is approximately 1, although it is slightly less than 1.
Explanation
Large positive inputs to a sigmoid produce values close to 1.
- 74
What is the main trade-off associated with neural networks?
Model answer
Neural networks can encode less expert information than many other methods, but they typically require more data and computing power.
Explanation
Their flexibility and ability to learn complex functions come with substantial computational and data costs.
- 75
Why might a rectified linear unit be preferred over a sigmoid activation?
Model answer
A rectified linear unit is not restricted to an output range between 0 and 1, so it can help avoid vanishing-gradient problems.
Explanation
The content identifies avoiding vanishing gradients as an important advantage of ReLU units.
- 76
What choices must be made when designing a neural network?
Model answer
Designers choose the depth, inputs, network type, layer types, training algorithm, and performance metrics.
Explanation
These architectural and training choices affect the model's capabilities and resource requirements.
- 77
Why do practitioners often borrow an existing neural-network architecture?
Model answer
Training is expensive, so practitioners often use an architecture that worked on a similar application as a starting point.
Explanation
Reusing a proven design reduces the cost and uncertainty of selecting an architecture from scratch.
- 78
How is neural-network training performed conceptually?
Model answer
The network repeatedly processes data, compares its output with the desired result, and adjusts its weights to reduce error.
Explanation
Training is an iterative search for parameter values that produce acceptable outputs.
- 79
What is inference in a neural network?
Model answer
Inference is using the trained network to process new inputs and produce outputs.
Explanation
Inference occurs after training, including when the model is deployed in the field.
- 80
Why are nonlinear functions important in neural networks?
Model answer
Repeated nonlinear transformations allow neural networks to represent complex decision boundaries that linear classifiers cannot capture.
Explanation
For simple separable data, a linear classifier may be sufficient, but complex feature relationships require nonlinear modeling.
- 81
What is model parallelism?
Model answer
Model parallelism distributes different parts of a model across multiple processing elements so that the model can be trained jointly.
Explanation
This is useful when the model is too large for one node or when its components can be processed concurrently.
- 82
What is data parallelism?
Model answer
Data parallelism distributes data across multiple nodes, allowing each node to learn or process using its portion before synchronizing results.
Explanation
It parallelizes computation by dividing the data rather than dividing the model.
- 83
What are common computing platforms for AI?
Model answer
Common platforms include central processing units and graphics processing units.
Explanation
CPUs and GPUs have extensive software support and are widely available.
- 84
Why are custom computing architectures becoming more important for AI?
Model answer
As traditional scaling associated with Moore's Law slows, specialized performance engineering and custom hardware can provide better efficiency for particular algorithms.
Explanation
Custom processors can be designed around an algorithm's data layout and movement requirements.
- 85
What is a tensor processing unit?
Model answer
A tensor processing unit is an example of a custom computing architecture designed for specialized computational workloads.
Explanation
The Google TPU was given as a concrete example of specialized AI hardware.
- 86
What is neuromorphic computing intended to emulate?
Model answer
Neuromorphic computing uses brain-inspired architectures intended to mimic aspects of how the brain performs computation.
Explanation
Such systems may use clockless operation and different memory architectures.
- 87
What is the current status of quantum computing for AI?
Model answer
Quantum computing has shown early results for solving linear systems, but its practical role in AI remains uncertain, unknown, or unproven.
Explanation
The technology is being tracked, but its benefits for applied AI have not yet been established.
- 88
Why can one computing processor not simply be called better than another?
Model answer
Processor suitability depends on the application, performance target, power constraints, precision, and form factor.
Explanation
A GPU, CPU, or specialized processor may each be strongest under different operating conditions.
- 89
How do embedded and data-center applications differ in their computing requirements?
Model answer
Embedded systems such as drones usually require low power and compact hardware, whereas data centers can tolerate greater power use in exchange for high performance.
Explanation
The appropriate processor depends on the deployment environment and its resource constraints.
- 90
What is explainable AI?
Model answer
Explainable AI is the ability of a system to describe what it is doing in an interpretable way.
Explanation
Interpretability helps humans understand and evaluate the basis of an AI output.
- 91
Why are metrics important in robust AI?
Model answer
Metrics provide ways to assess system behavior beyond relying only on general accuracy or performance.
Explanation
The right metric should reflect the requirements and risks of the application.
- 92
What is the purpose of verification and validation in AI?
Model answer
They help determine whether a system produces known or expected outputs when given specified inputs.
Explanation
A system may require reliable behavior even when detailed explanations are not necessary.
- 93
What security properties should be protected in a robust AI system?
Model answer
Security should protect the confidentiality, integrity, and availability of the algorithms, data sets, outputs, weights, and biases.
Explanation
Compromising any of these elements can undermine the system or enable counter-AI attacks.
- 94
Why do policy, ethics, safety, and training matter in human-machine AI applications?
Model answer
They help determine when humans must remain involved and ensure that AI systems are used safely, responsibly, and consistently with organizational or legal requirements.
Explanation
These considerations are especially important when AI decisions could affect health, life, or legal responsibility.
- 95
How should the division of responsibility between humans and machines depend on consequence and confidence?
Model answer
Low-consequence, high-confidence decisions are good candidates for automation; high-consequence, low-confidence decisions should involve humans heavily; intermediate cases can use machines to augment humans.
Explanation
The balance of responsibility should reflect both the risk of error and trust in the system.
- 96
Why are assembly lines and spam filtering examples of tasks suited to machines?
Model answer
They involve repeated operations at high scale, and the system can perform them with sufficient reliability without requiring a human for every instance.
Explanation
High-volume, relatively manageable tasks are often efficient to automate.
- 97
How can AI augment humans in document analysis?
Model answer
An AI system can filter a large collection and reduce the number of documents a person must review, allowing the human to focus on a smaller set.
Explanation
The machine performs large-scale screening while the human retains judgment over the selected results.
- 98
Why should humans generally be heavily involved in kinetic or life-and-death decisions?
Model answer
Errors in these applications can cause severe harm, so human judgment and responsibility are considered especially important.
Explanation
Legal, ethical, and safety considerations can also require human involvement.
- 99
Why is the placement of autonomous vehicles on an automation spectrum difficult?
Model answer
Their mistakes can have high consequences, while confidence in their decision-making is only moderate, yet people may still accept substantial automation.
Explanation
Autonomous vehicles illustrate that real-world acceptance does not always align neatly with consequence and confidence.
- 100
How might increasing confidence in AI systems change the boundary between human and machine responsibility?
Model answer
Greater confidence may allow machines to take responsibility for more tasks while humans move into a supervisory role.
Explanation
The automation frontier can expand as system performance and trust improve.
- 101
How does application complexity and task scale affect whether humans or machines are more effective?
Model answer
Machines are often effective for low-complexity tasks repeated at very high scale, while humans are often better for highly complex tasks that occur only occasionally.
Explanation
Spam filtering represents the high-scale case, whereas evaluating a rare business acquisition represents the high-complexity case.
- 102
Why might a human lead the evaluation of a rare business acquisition while using AI selectively?
Model answer
The decision is complex and infrequent, so a human can adapt to changing circumstances while using AI to find targeted information.
Explanation
The machine supports the human without replacing judgment in a nuanced decision.
- 103
What is the defining idea of machine learning?
Model answer
Machine learning studies algorithms that improve their performance on a task through experience, where experience is represented by data.
Explanation
The algorithm optimizes according to a performance criterion using examples or past experience.
- 104
How is reinforcement learning different from supervised learning in the timing and form of feedback?
Model answer
Reinforcement learning receives reward feedback rather than a correct label for each input, and the feedback may be delayed across a sequence of time steps.
Explanation
This makes reinforcement learning suitable for sequential decisions where immediate labels are unavailable.
- 105
Why can reinforcement learning be useful for helicopter stunt maneuvers?
Model answer
A reward can encourage actions that keep the helicopter stable and penalize actions that cause it to tip, avoiding the need to label every possible configuration manually.
Explanation
The task is highly complex and sequential, making exhaustive supervised labeling expensive.
- 106
How do an agent's actions affect reinforcement-learning problems?
Model answer
The agent's actions can change the input data or state that it receives next.
Explanation
Unlike many static prediction tasks, reinforcement learning involves interaction with an evolving environment.
- 107
What is clustering?
Model answer
Clustering groups objects or feature sets so that items within the same cluster are more similar to one another than to items in other clusters.
Explanation
The method seeks meaningful subgroups without requiring predefined labels.
- 108
How does an iterative clustering method adjust cluster membership?
Model answer
It assigns data points to initial clusters and repeatedly moves memberships to improve a measure such as within-cluster squared error.
Explanation
The objective is generally to make points within each cluster closer to one another than to points outside it.
- 109
What is dimensionality reduction?
Model answer
Dimensionality reduction reduces the number of variables or features under consideration.
Explanation
It can remove uninformative or nearly constant features and create a simpler representation.
- 110
What are applications of dimensionality reduction?
Model answer
Applications include feature selection, feature extraction, compression, and visualization.
Explanation
Reducing hundreds or thousands of dimensions to two or three can make data easier to inspect visually.
- 111
Why is unsupervised learning useful in cybersecurity?
Model answer
It can analyze enormous collections of unlabeled network packets to identify relevant patterns or unusual behavior before selected data is labeled for supervised learning.
Explanation
Manually labeling billions of packets as good or bad would be impractical.
- 112
Why is evaluation difficult in unsupervised learning?
Model answer
There is no universally correct label or simple objective, so practitioners must choose measures such as within-cluster separation, between-cluster separation, or the number of clusters.
Explanation
The usefulness of a discovered structure often depends on the application and the evaluation criterion selected.
- 113
What is the goal of unsupervised learning?
Model answer
Its goal is to discover hidden structures, patterns, clusters, subgroups, or useful representations in unlabeled data.
Explanation
The algorithm is asked to reveal something meaningful without being given the answers in advance.
- 114
How can neural networks be used in unsupervised learning?
Model answer
They can learn nonlinear representations useful for tasks such as clustering and dimensionality reduction.
Explanation
Although often associated with labeled image classification, neural networks can also discover structure without labels.
- 115
What is an autoencoder designed to do?
Model answer
An autoencoder learns a compressed representation of input data and attempts to reconstruct the original input at its output.
Explanation
The network is trained so that the reconstructed output differs as little as possible from the input.
- 116
How does the bottleneck of an autoencoder create dimensionality reduction?
Model answer
The input is passed through a narrower layer with fewer dimensions, forcing the network to encode the data in a compressed representation before reconstructing it.
Explanation
The bottleneck representation serves as a reduced-dimensionality version of the original problem.

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