Comp Sci 110 - GR #3

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/121

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

122 Terms

1
New cards

AI

simulation of human intelligence by machines

2
New cards

What is the goal of AI?

to create systems that think and act like humans and rationally

3
New cards

Expert System

a computer that emulates the decision-making capabilities of a human expert

4
New cards

General AI

a form of AI that exhibits human cognitive abilities

5
New cards

General AI can think and accomplish tasks _______________

on their own

6
New cards

What are the capabilities of General AI?

logical thinking

plan

learn on its own

communicates in a natural language

7
New cards

Examples of General AI

every "cool" AI in movies (ex: terminator)

8
New cards

Narrow AI

a form of AI that is designed to perform a singular task or a limited set of tasks with high efficiency

9
New cards

Narrow AI are systems that can accomplish a wide range of problems but operate within?

a pre-defined range of functions

10
New cards

Capabilities of Narrow AI

cannot think for themselves

only perform tasks they were designed to accomplish

can learn when provided with training data

11
New cards

Examples of Narrow AI

Siri/Alexa

Telephone Menus

Video Game AI

Navigation Systems

12
New cards

Fully Observable AI

AI has access to all information

13
New cards

Partially Observable AI

AI can only see part of the picture

14
New cards

Competitive AI

AI competes against an agent with the opposite goal

15
New cards

Collaborative AI

AI can work together with agents

16
New cards

Discrete AI

AI with a finite number of possible states (decision trees)

17
New cards

Continuous AI

AI that continuously updates and improves their knowledge and capabilities based on new data without explicit retraining (Netflix's viewing recs)

18
New cards

Deterministic AI

outcome of an action is known with 100% certainty

19
New cards

Stochastic AI

the outcome of an action is known with some predictability

20
New cards

7 General AI Problem Types

Classification

Clustering

Optimization

Anomaly Detection

Ranking/Recommendations

Data Generation

21
New cards

Classification

using a set of training examples as a guide; categorize new inputs as belonging to one or more categories

22
New cards

Clustering

determine how to categorize or group data based on their common characteristics (EX: birthday photos, vacation photos)

23
New cards

How do Classification and Clustering differ?

Classification is using a training example (EX: husky) to categorize inputs (EX: husky vs wolf)

Clustering is grouping things together based on their similarities WITHOUT a training example (EX: photos making memories of you on vacation)

24
New cards

Optimization

given a function, determines what input(s) will result in the max/min value (EX: given your "recently watched" Netflix will suggest new movies that provide the most enjoyment)

25
New cards

Anomaly Detection

given a set of training examples, determines if an input is "out of the ordinary"

26
New cards

Ranking/Recommendations

given a series of inputs/previous actions, determines what will happen next (EX: Chess.com)

27
New cards

Data Generation

Produce novel data in order to achieve a specified goal (EX: inputting data into R-Script and having it produce a graph)

28
New cards

Sense

detects or is provided info about its environment

29
New cards

Think

considers possible actions and determines which one(s) it wants to perform

30
New cards

Act

performs the action chosen in the Think step

31
New cards

Which step is the most time-consuming for a Game AI? Why?

Thinking; it requires us to decide for the AI what actions to take

32
New cards

Hard-Coded Rules/Decision Trees

requires expert knowledge

<p>requires expert knowledge</p>
33
New cards

Finite State Machine

a machine that consists of a fixed set of possible states and the transitions between them

<p>a machine that consists of a fixed set of possible states and the transitions between them</p>
34
New cards

Search Trees

depicts game states or a snapshot of the game at a given point of time and the actions that can be made at that time and the outcomes

<p>depicts game states or a snapshot of the game at a given point of time and the actions that can be made at that time and the outcomes</p>
35
New cards

Game State

snapshot of the game at a point

36
New cards

Breadth-First Search

look at all the nodes at one level (A, B, C)

37
New cards

Depth-First Search

pick a node and go as far down as possible (A --> A1, A2, A3...)

38
New cards

Heuristic

uses rules or methods to find solutions more quickly when other methods are too slow; "good enough"

39
New cards

Why do we use heuristics?

estimate the outcome of a decision without having to look multiple steps ahead

40
New cards

Algorithms

derive rules/behaviors from datasets

41
New cards

Datasets are used to:

train the computer

verify the computer learned the concept (not just the pattern)

42
New cards

Human Expertise

verify algorithms are working as intended

43
New cards

Machine Learning involves 3 things?

algorithms, datasets, human expertise

44
New cards

Model

a set of rules the AI learns from the data

45
New cards

Feature

columns in dataset; specific piece of information

46
New cards

Label

the concept we're training the model to predict; the result

47
New cards

Instance

row in dataset; complete set of features

48
New cards

Unsupervised Learning

algorithm is provided with an unlabeled dataset and is tasked with grouping similar instances

49
New cards

Supervised Learning

algorithm provided with a labeled dataset and is tasked with identifying the label by only looking at the features

50
New cards

Independent Variables

features

51
New cards

Dependent Variable

label

52
New cards

Supervised Learning Process

gather/prepare data

choose a model

train model

evaluate model

tuning

predicition

53
New cards

Gather and Prepare Data

what info we need, how we get that info, and how we organize it

54
New cards

Choose A Model

picking the right model requires understanding of the problem

55
New cards

Train Model

give training data to a model and let it learn

56
New cards

Evaluate Model

test model with data it has never seen before so we know it knows the actual concept

57
New cards

Confusion Matrix

where the model succeeds/fails

58
New cards

Tuning

adjust the settings of the AI

59
New cards

Epochs

how many times you show the training data to the AI and let it learn

60
New cards

Learning Rate

how much the algorithm changes when it makes a mistake

61
New cards

Prediction

use model in read world with real data

62
New cards

Narrow Focus

designed with a specific task; don't have general knowledge (EX: Deep Blue can beat anyone at chess but can't play checkers)

63
New cards

High Cost of Creation

requires humans to tell them what to do in every possible situation

64
New cards

Hidden Bias

AI's inherit bias from their creators (EX: Face ID favors white males)

65
New cards

Ambiguous Responsibility

if there is a fault in AI, we don't know if company or AI is responsible

66
New cards

Lack Interpretability

we don't know what a model has learned

67
New cards

Black Box

any system that cannot be directly observed and easily understood

68
New cards

Explainable AI

is artificial intelligence that is programmed to describe its purpose for making a decision

69
New cards

4 Ethical Criteria

transparent to inspection

predictability

robust against manipulation

responsibility

70
New cards

Network

a group of two or more computer systems linked together

71
New cards

Host

computer on a network

72
New cards

Client

computer trying to access the content on the server

73
New cards

Server

computer that stores content

74
New cards

Message

data we want to send

75
New cards

Protocols

how clients/servers talk to each other

76
New cards

HTTP (Hypertext Transfer Protocol)

use to request web pages

77
New cards

SMTP (Simple Mail Transfer Protocol)

clients use to SEND emails

78
New cards

FTP (File Transfer Protocol)

computers use to transfer files between each other

79
New cards

Who creates protocols?

IETF (Internet Engineering Task Force)

80
New cards

IP Address

The unique number assigned to each device on the Internet.

81
New cards

Public IP Address

identify a particular device on the public internet

82
New cards

Private IP Address

An IP address that cannot be routed over the Internet

83
New cards

Port

not physical; location on a computer where applications listen for incoming data

84
New cards

How many applications can listen on the same port?

1

85
New cards

TCP (Transmission Control Protocol)

ensures messages reach destination; packets can be out of order

86
New cards

UDP (User Datagram Protocol)

does not ensure the message makes it to the destination; packets stay in order

87
New cards

Circuit Switching

private dedicated channel is established for communication; constant reliable path; packets sent/received in order; no one can use it except sender and receiver

88
New cards

Cons of Circuit Switching

if link in circuit fails; all comms are disrupted

89
New cards

Packet Switching

packets travel from source to destination using best path; many comms can use the same path; if path fails, use another one;

90
New cards

Cons of Packet Switching

no guarantee of packets arriving; packets may be jumbled

91
New cards

Switch

connects multiple hosts/devices on the same network

92
New cards

Router

connects multiple networks; has many network addresses

93
New cards

IPv4

uses 8 bits for each of 4 parts

94
New cards

IPv6

uses 16 bits for each of 8 parts

95
New cards

Static

someone manually assigns specific IP addresses to a device

96
New cards

Dynamic

uses DHCP to assign IP addresses

97
New cards

NAT (Network Address Translation)

allows us to share a single IP with an entire private network

98
New cards

DNS (Domain Name System)

converts IP to network names (google.com)

99
New cards

WEP/WPA/WPA2

encrypts traffic, but anyone with key can see data

100
New cards

HTTPS

ensures info you send is private