Chapter 2: Infrastructure and Tools For Ai Flashcards

1
Q

What does an operator take care of?

A

Conditions and everything that affects them

It consists of actions, preconditions, and changes resulting from taking actions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a rational agent?

A

An entity that takes actions to achieve certain goals

The text discusses making rational agents more intelligent.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are common techniques to impart intelligence to an agent?

A
  • Machine learning
  • Stored knowledge
  • Rules

The focus is on machine learning in the text.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the role of labeled data in machine learning?

A

To solve a given problem by allowing machines to learn patterns

Machines extract patterns and relationships from labeled data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the steps that an intelligent agent takes when using machine learning?

A
  • Sensor perceives input
  • Sends to feature extraction block
  • Trained inference engine performs prediction
  • Inference engine sends decision to actuator

This process results in taking required action in the real world.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Name some applications of machine learning.

A
  • Image recognition
  • Robotics
  • Speech recognition
  • Predicting stock market behavior

Machine learning is widely used in various fields.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the two types of models in AI?

A
  • Analytical models
  • Learned models

The text discusses the transition from analytical to learned models.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What characterizes analytical models?

A

Derived using mathematical formulation and human judgment

They are often simplistic and inaccurate.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What defines learned models?

A

Obtained through training, analyzing many examples of inputs and outputs

These models are complex and accurate.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a significant advantage of machine learning over analytical models?

A

No need to derive the underlying mathematical formula

Machines derive the formula based on data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the first command to enter the Python command prompt?

A

$ python3

This command starts the Python interpreter.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What did Alan Turing ask in 1950?

A

Can machines think?

This question remains relevant in AI discussions today.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does ML stand for?

A

Machine Learning

It is a key area of focus in applied AI.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the difference between strong AI and weak AI?

A
  • Strong AI: Refers to AGI (Artificial General Intelligence)
  • Weak AI: Refers to ANI (Artificial Narrow Intelligence)

Weak AI is what is generally meant in most product contexts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

True or False: AGI exists today.

A

False

AGI does not exist; current AI is narrow in application.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the main characteristic of ANI?

A

Narrow application of AI that is good at specific tasks

Its expertise does not extend to other areas.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is a rules-based engine?

A

A system that replicates human decision-making without learning

It is considered AI but not ML.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What is the main challenge in AI adoption mentioned in the text?

A

Finding clear information about what makes a product AI

Marketing often complicates the understanding of AI.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What does AGI stand for?

A

Artificial General Intelligence

AGI refers to a type of AI that can understand, learn, and apply intelligence across a wide range of tasks, similar to human cognitive abilities.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

True or False: Sentient AI currently exists.

A

False

Sentient AI does not exist, and the statement emphasizes the importance of ethical AI applications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What are the consequences of unethical applications of AI?

A

They cause minor inconveniences and major upsets

Unethical applications of AI can lead to significant harm in various contexts.

22
Q

What are the two essential components of Machine Learning (ML)?

A

Models and training data

The models are used to learn from historical data points.

23
Q

What is the role of data scientists and ML engineers in ML?

A

They choose, build, tune, and maintain models for optimized performance

Their work is crucial for ensuring that ML models function effectively.

24
Q

What are the four major learning categories in ML?

A
  • Supervised learning
  • Unsupervised learning
  • Semi-supervised learning
  • Reinforcement learning

Each learning type has specific models and algorithms associated with it.

25
Q

What differentiates Deep Learning (DL) from Machine Learning (ML)?

A

DL is based on neural network algorithms, while ML encompasses other algorithms

DL is considered a subset of ML.

26
Q

What does the term ‘feature selection’ refer to in the context of DL?

A

The neural networks learn to pick up patterns or features from the data autonomously

This contrasts with traditional ML where engineers select features.

27
Q

What is supervised learning?

A

Humans label the data, and machines attempt to label current or future data points

This method involves continuous training to improve model accuracy.

28
Q

Name one application of supervised learning models.

A
  • Classification models (e.g., spam filters)
  • Regression models (e.g., predicting trends)

These applications require continuous training and updating.

29
Q

What is the Naive Bayes algorithm used for?

A

Classification problems

It considers each feature in the dataset as an independent variable.

30
Q

What does SVM stand for?

A

Support Vector Machine

SVM is used for classification by splitting datasets into two classes.

31
Q

What is the purpose of linear regression?

A

To predict future data points based on one or more variables

It finds the best line that fits the data.

32
Q

What does logistic regression predict?

A

A future binary categorical state

Examples include predicting loan defaults.

33
Q

How does a decision tree model work?

A

It uses nodes and branches to learn from past data to predict future values

Decision trees are popular due to their interpretability.

34
Q

What is a random forest?

A

An ensemble of decision trees used for both categorical and numerical predictions

It averages or votes for predictions based on multiple trees.

35
Q

What characterizes unsupervised learning?

A

The data is unlabeled, and machines find patterns independently

This method is often used when the correct answers are unknown.

36
Q

Name one application of unsupervised learning.

A
  • Clustering
  • Dimensionality reduction

Clustering identifies groups in data, while dimensionality reduction simplifies datasets.

37
Q

What does PCA stand for, and what is its purpose?

A

Principal Component Analysis; reduces dimensions without losing information

PCA is useful for analyzing large datasets.

38
Q

What is semi-supervised learning?

A

A model trained with both labeled and unlabeled data

It helps guide the model towards finding patterns when labeled data is scarce.

39
Q

What is the primary challenge of overfitting in ML?

A

When a model fits too well to a specific dataset and performs poorly on new data

This is a common issue in data science.

40
Q

What is semi-supervised learning?

A

A learning method that uses a small amount of labeled data alongside a larger amount of unlabeled data to improve model performance

The process involves predicting on unlabeled data and checking accuracy against the labeled data.

41
Q

How does reinforcement learning operate?

A

It learns through trial and error, adapting its approach based on past behavior and optimizing for rewards

Commonly used in robotics to help machines adjust to real-world parameters.

42
Q

What are the main components of operationalizing AI/ML?

A
  • Choosing models and use cases
  • Managing production
  • Updating models
  • Keeping data fresh and clean
  • Organizing experiments
  • Validating and testing

This process is complex and often a challenge for companies outside the tech industry.

43
Q

What is the purpose of an ETL pipeline?

A

To make layers of data and metadata available for AI/ML models to ingest and offer insights from

ETL stands for Extract, Transform, Load.

44
Q

What are the four major components of the continuous maintenance process in AI?

A
  • Testing/validating code and components
  • Continuous code updates
  • Continuous learning from new data
  • Monitoring model performance

This ensures that models do not become stale and maintain effective performance.

45
Q

Why is proper data storage critical for AI/ML products?

A

It impacts the performance of models and the overall product

Poor data storage can lead to significant operational issues.

46
Q

What are the differences between a data lake, database, and data warehouse?

A
  • Data Lake: Stores raw data in its native format
  • Database: Structured data for easy access and querying
  • Data Warehouse: Centralizes structured data for analysis and insights

Each serves different purposes based on organizational needs.

47
Q

What is the benefit of using a data warehouse for AI/ML?

A

It allows for quick leverage of insights and trends across various business units

Essential for organizations looking to implement AI/ML across multiple functions.

48
Q

True or False: A relational database is ideal for combining various datasets for advanced analytics.

A

False

Relational databases can struggle with aligning schemas when combining data from different sources.

49
Q

Fill in the blank: Continuous maintenance in AI involves ______ to ensure models are effective.

A

iterating the process

Stagnation can lead to outdated models and ineffective performance.

50
Q

What is a potential consequence of improper model maintenance?

A

Loss of jobs or unfair outcomes, such as incorrect mortgage rates or prison sentences

This highlights the importance of responsible AI management.