introduction to artificial intelligenceartificial intelligence with python title lecture 4 -...

126
Introduction to Artificial Intelligence with Python

Upload: others

Post on 11-Jul-2020

32 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

Introduction to Artificial Intelligence

with Python

Page 2: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

Learning

Page 3: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

Supervised Learning

Page 4: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

supervised learning

given a data set of input-output pairs, learn a function to map inputs to outputs

Page 5: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

classification

supervised learning task of learning a function mapping an input point to a discrete category

Page 6: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 7: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

Date Humidity (relative humidity)

Pressure (sea level, mb)

Rain

Page 8: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

Date Humidity (relative humidity)

Pressure (sea level, mb)

Rain

January 1 93% 999.7 Rain

January 2 49% 1015.5 No Rain

January 3 79% 1031.1 No Rain

January 4 65% 984.9 Rain

January 5 90% 975.2 Rain

Page 9: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

h(humidity, pressure)

f(93, 999.7) = Rainf(49, 1015.5) = No Rain

f(humidity, pressure)

f(79, 1031.1) = No Rain

Page 10: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

humidity

pre

ssu

re

Page 11: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

humidity

pre

ssu

re

Page 12: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

humidity

pre

ssu

re

Page 13: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

humidity

pre

ssu

re

Page 14: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

humidity

pre

ssu

re

Page 15: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

nearest-neighbor classification

algorithm that, given an input, chooses the class of the nearest data point to that input

Page 16: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

humidity

pre

ssu

re

Page 17: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

humidity

pre

ssu

re

Page 18: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

humidity

pre

ssu

re

Page 19: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

humidity

pre

ssu

re

Page 20: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

humidity

pre

ssu

re

Page 21: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

humidity

pre

ssu

re

Page 22: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

k-nearest-neighbor classification

algorithm that, given an input, chooses the most common class out of the k nearest data points to that input

Page 23: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

humidity

pre

ssu

re

Page 24: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

humidity

pre

ssu

re

Page 25: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

x1 = Humidityx2 = Pressure

h(x1, x2) = No Rain otherwiseRain if w0 + w1x1 + w2x2 ≥ 0

Page 26: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

h(x1, x2) = 0 otherwise1 if w0 + w1x1 + w2x2 ≥ 0

Weight Vector w: (w0, w1, w2)Input Vector x: (1, x1, x2)

w · x: w0 + w1x1 + w2x2

Page 27: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

hw(x) =0 otherwise1 if w · x ≥ 0

Weight Vector w: (w0, w1, w2)Input Vector x: (1, x1, x2)

w · x: w0 + w1x1 + w2x2

Page 28: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

perceptron learning rule

Given data point (x, y), update each weight according to:

wi = wi + α(y - hw(x)) × xi

Page 29: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

perceptron learning rule

Given data point (x, y), update each weight according to:

wi = wi + α(actual value - estimate) × xi

Page 30: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

ou

tpu

t

w · x0

1

Page 31: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

humidity

pre

ssu

re

Page 32: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

humidity

pre

ssu

re

Page 33: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

ou

tpu

t

w · x0

1hard threshold

Page 34: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

ou

tpu

t

w · x0

1soft threshold

Page 35: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

Support Vector Machines

Page 36: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 37: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 38: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 39: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

maximum margin separator

boundary that maximizes the distance between any of the data points

Page 40: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 41: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 42: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

regression

supervised learning task of learning a function mapping an input point to a continuous value

Page 43: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

h(advertising)

f(1200) = 5800f(2800) = 13400

f(advertising)

f(1800) = 8400

Page 44: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

advertising

sale

s

Page 45: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

Evaluating Hypotheses

Page 46: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

loss function

function that expresses how poorly our hypothesis performs

Page 47: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

0-1 loss function

L(actual, predicted) = 0 if actual = predicted, 1 otherwise

Page 48: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

humidity

pre

ssu

re

Page 49: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

humidity

pre

ssu

re

0

0

00

0

00

0

0 0

0 0

0

00

00

0

0 0 0

0 0

0

0

1

1

1

1

0

Page 50: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

L1 loss function

L(actual, predicted) = | actual - predicted |

Page 51: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

advertising

sale

s

Page 52: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

advertising

sale

s

Page 53: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

L2 loss function

L(actual, predicted) = (actual - predicted)2

Page 54: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

overfitting

a model that fits too closely to a particular data set and therefore may fail to generalize to future data

Page 55: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

humidity

pre

ssu

re

Page 56: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

humidity

pre

ssu

re

Page 57: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

humidity

pre

ssu

re

Page 58: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

advertising

sale

s

Page 59: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

advertising

sale

s

Page 60: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

penalizing hypotheses that are more complex to favor simpler, more general hypotheses

cost(h) = loss(h)

Page 61: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

penalizing hypotheses that are more complex to favor simpler, more general hypotheses

cost(h) = loss(h) + complexity(h)

Page 62: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

penalizing hypotheses that are more complex to favor simpler, more general hypotheses

cost(h) = loss(h) + λcomplexity(h)

Page 63: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

regularization

penalizing hypotheses that are more complex to favor simpler, more general hypotheses

cost(h) = loss(h) + λcomplexity(h)

Page 64: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

holdout cross-validation

splitting data into a training set and a test set, such that learning happens on the training set and is evaluated on the test set

Page 65: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

k-fold cross-validation

splitting data into k sets, and experimenting k times, using each set as a test set once, and using remaining data as training set

Page 66: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

scikit-learn

Page 67: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

Reinforcement Learning

Page 68: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

reinforcement learning

given a set of rewards or punishments, learn what actions to take in the future

Page 69: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

Agent

Environment

stateaction reward

Page 70: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

Markov Decision Process

model for decision-making, representing states, actions, and their rewards

Page 71: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

Markov Decision Process

model for decision-making, representing states, actions, and their rewards

Page 72: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

X0 X1 X2 X3 X4

Markov Chain

Page 73: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 74: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 75: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

r

r

r

r r r

r r r

r r r

Page 76: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

Markov Decision Process

•Set of states S

•Set of actions ACTIONS(s)

•Transition model P(s' | s, a)

•Reward function R(s, a, s')

Page 77: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 78: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 79: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 80: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 81: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 82: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 83: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 84: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 85: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

Q-learning

method for learning a function Q(s, a), estimate of the value of performing action a in state s

Page 86: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

Q-learning Overview

• Start with Q(s, a) = 0 for all s, a

• When we taken an action and receive a reward:

• Estimate the value of Q(s, a) based on current reward and expected future rewards

• Update Q(s, a) to take into account old estimate as well as our new estimate

Page 87: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

Q-learning

• Start with Q(s, a) = 0 for all s, a

• Every time we take an action a in state s and observe a reward r, we update: Q(s, a) ← Q(s, a) + α(new value estimate - old value estimate)

Page 88: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

Q-learning

• Start with Q(s, a) = 0 for all s, a

• Every time we take an action a in state s and observe a reward r, we update: Q(s, a) ← Q(s, a) + α(new value estimate - Q(s, a))

Page 89: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

Q-learning

• Start with Q(s, a) = 0 for all s, a

• Every time we take an action a in state s and observe a reward r, we update: Q(s, a) ← Q(s, a) + α((r + future reward estimate) - Q(s, a))

Page 90: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

Q-learning

• Start with Q(s, a) = 0 for all s, a

• Every time we take an action a in state s and observe a reward r, we update: Q(s, a) ← Q(s, a) + α((r + maxa' Q(s', a')) - Q(s, a))

Page 91: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

Q-learning

• Start with Q(s, a) = 0 for all s, a

• Every time we take an action a in state s and observe a reward r, we update: Q(s, a) ← Q(s, a) + α((r + γ maxa' Q(s', a')) - Q(s, a))

Page 92: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

Greedy Decision-Making

• When in state s, choose action a with highest Q(s, a)

Page 93: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 94: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 95: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

Explore vs. Exploit

Page 96: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

ε-greedy

• Set ε equal to how often we want to move randomly.

• With probability 1 - ε, choose estimated best move.

• With probability ε, choose a random move.

Page 97: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

Nim

Page 98: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 99: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 100: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 101: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 102: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 103: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 104: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 105: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 106: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

function approximation

approximating Q(s, a), often by a function combining various features, rather than storing one value for every state-action pair

Page 107: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

Unsupervised Learning

Page 108: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

unsupervised learning

given input data without any additional feedback, learn patterns

Page 109: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

Clustering

Page 110: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

clustering

organizing a set of objects into groups in such a way that similar objects tend to be in the same group

Page 111: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

Some Clustering Applications

• Genetic research

• Image segmentation

• Market research

• Medical imaging

• Social network analysis.

Page 112: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

k-means clustering

algorithm for clustering data based on repeatedly assigning points to clusters and updating those clusters' centers

Page 113: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 114: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 115: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 116: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 117: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 118: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 119: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 120: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 121: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 122: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 123: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM
Page 124: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

Learning

•Supervised Learning

•Reinforcement Learning

•Unsupervised Learning

Page 125: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

Learning

Page 126: Introduction to Artificial IntelligenceArtificial Intelligence with Python Title Lecture 4 - Learning Created Date 3/23/2020 3:10:57 PM

Introduction to Artificial Intelligence

with Python