1
00:00:00,220 --> 00:00:03,301
Welcome to the COP 4020 course podcast.

2
00:00:03,761 --> 00:00:08,002
I am Carlos, your professor and host, and
Maya is joining me for Unit 10.

3
00:00:08,622 --> 00:00:11,982
Today we are reviewing machine learning,
the major learning types,

4
00:00:12,403 --> 00:00:16,323
selected supervised algorithms, and
exploratory data analysis.

5
00:00:17,133 --> 00:00:20,754
Machine learning is mentioned in almost
every technology discussion.

6
00:00:21,334 --> 00:00:24,275
What should we understand beyond the
popular examples?

7
00:00:25,053 --> 00:00:26,833
We need to understand the full process.

8
00:00:27,334 --> 00:00:30,354
A useful model begins with a defined task
and relevant data.

9
00:00:30,974 --> 00:00:34,315
The data must be prepared, an appropriate
algorithm must be selected,

10
00:00:34,755 --> 00:00:38,436
the model must be trained and evaluated,
and only then should it be used for

11
00:00:38,496 --> 00:00:39,796
predictions or inferences.

12
00:00:40,503 --> 00:00:44,084
So today's goal is not simply to memorize
the names of algorithms.

13
00:00:44,797 --> 00:00:45,317
Exactly.

14
00:00:45,777 --> 00:00:49,958
We will connect each algorithm to the
problem it solves, the assumptions it makes,

15
00:00:50,338 --> 00:00:52,539
and the evidence needed to judge its
performance.

16
00:00:53,139 --> 00:00:58,100
We will also explain why exploratory data
analysis comes before confident modeling

17
00:00:58,120 --> 00:00:58,540
decisions.

18
00:00:59,784 --> 00:01:04,126
Artificial intelligence is the study of
creating machines that simulate capabilities

19
00:01:04,166 --> 00:01:06,367
associated with human thinking and
behavior.

20
00:01:07,127 --> 00:01:11,128
The lecture summarizes its question as:
how can we make machines smart?

21
00:01:11,995 --> 00:01:15,356
Where does machine learning fit within
artificial intelligence?

22
00:01:16,016 --> 00:01:17,957
Machine learning is a subfield of AI.

23
00:01:18,437 --> 00:01:22,458
It studies how a machine can learn from
data and improve through experience without

24
00:01:22,478 --> 00:01:25,379
a programmer explicitly writing every rule
for every case.

25
00:01:26,219 --> 00:01:29,000
Does that mean an ML system has no
programming?

26
00:01:29,716 --> 00:01:29,816
No.

27
00:01:30,416 --> 00:01:34,318
People still design the software, choose
the data, select features and algorithms,

28
00:01:34,698 --> 00:01:36,799
define the objective, and evaluate the
result.

29
00:01:37,539 --> 00:01:41,480
What changes is that some behavior is
learned from examples rather than being

30
00:01:41,500 --> 00:01:43,941
expressed entirely as fixed if-then rules.

31
00:01:44,446 --> 00:01:49,748
The slide shows AI, machine learning, and
deep learning as nested areas,

32
00:01:49,848 --> 00:01:51,669
with data science overlapping them.

33
00:01:52,403 --> 00:01:54,624
That diagram gives us a useful hierarchy.

34
00:01:55,104 --> 00:01:59,385
Deep learning is a family of
machine-learning methods based on multilayer neural

35
00:01:59,445 --> 00:01:59,945
networks.

36
00:02:00,505 --> 00:02:04,386
Data science is broader and overlaps AI
because it includes collecting,

37
00:02:04,526 --> 00:02:09,588
cleaning, analyzing, visualizing, and
communicating data, whether or not an AI model

38
00:02:09,648 --> 00:02:10,188
is involved.

39
00:02:10,996 --> 00:02:15,357
the machine-learning process can be
organized into six stages: collect raw data,

40
00:02:15,737 --> 00:02:20,218
prepare the data, select a model, train
the model, validate and improve it,

41
00:02:20,578 --> 00:02:22,859
and finally make predictions or
inferences.

42
00:02:23,589 --> 00:02:26,150
Where can a student find data for a
project?

43
00:02:26,993 --> 00:02:31,974
Suggested data sets include Google Dataset
Search, Kaggle, the UCI Machine Learning

44
00:02:32,014 --> 00:02:34,055
Repository, and government websites.

45
00:02:34,635 --> 00:02:37,376
A dataset should not be chosen only
because it is available.

46
00:02:37,616 --> 00:02:42,417
It must also be relevant, documented,
lawful to use, and suitable for the question.

47
00:02:43,216 --> 00:02:46,237
Why does data preparation receive so much
attention?

48
00:02:47,030 --> 00:02:52,591
Raw data commonly contains missing values,
duplicates, inconsistent formats,

49
00:02:53,051 --> 00:02:56,712
outliers, errors, or categories that need
clarification.

50
00:02:57,492 --> 00:03:02,213
Preparation includes cleaning, wrangling,
exploration, and visualization.

51
00:03:02,893 --> 00:03:07,174
The lecture notes that this work can
consume a large portion of a data scientist's

52
00:03:07,234 --> 00:03:07,554
time.

53
00:03:08,376 --> 00:03:10,957
How do we select a model after preparing
the data?

54
00:03:11,765 --> 00:03:15,786
The choice depends on the preliminary
analysis, the types of variables,

55
00:03:16,186 --> 00:03:17,106
and the objective.

56
00:03:17,926 --> 00:03:20,967
Predicting a continuous value suggests
regression.

57
00:03:21,547 --> 00:03:24,348
Assigning a category suggests
classification.

58
00:03:25,228 --> 00:03:28,789
Searching for unlabeled groups suggests an
unsupervised method.

59
00:03:29,836 --> 00:03:32,776
Then we divide the data into training and
testing sets?

60
00:03:33,458 --> 00:03:33,758
Yes.

61
00:03:34,218 --> 00:03:37,098
The most common is an eighty-twenty split
for training.

62
00:03:37,799 --> 00:03:39,559
Training data is used to fit the model.

63
00:03:40,199 --> 00:03:43,860
Testing data should remain separate so it
can provide a more honest estimate of

64
00:03:43,880 --> 00:03:45,621
performance on unseen examples.

65
00:03:46,378 --> 00:03:47,818
Where does validation fit?

66
00:03:48,566 --> 00:03:53,348
Validation data supports choices such as
hyperparameter tuning while the model is

67
00:03:53,408 --> 00:03:54,268
being improved.

68
00:03:54,808 --> 00:03:58,169
The test set should not become a repeated
tuning target.

69
00:03:58,989 --> 00:04:03,370
After the model and its settings are
finalized, the untouched test set is used for

70
00:04:03,370 --> 00:04:04,591
the final evaluation.

71
00:04:05,413 --> 00:04:10,574
Only after that evaluation should the
system make operational predictions or support

72
00:04:10,654 --> 00:04:11,254
an inference.

73
00:04:11,723 --> 00:04:12,103
Correct.

74
00:04:12,623 --> 00:04:16,584
Even then, performance should be monitored
because real-world data and conditions

75
00:04:16,624 --> 00:04:17,164
can change.

76
00:04:18,219 --> 00:04:21,520
An algorithm is a general procedure used
to learn from data.

77
00:04:22,160 --> 00:04:24,921
When that procedure is applied to a
particular training dataset,

78
00:04:25,281 --> 00:04:26,502
the result is a model.

79
00:04:27,142 --> 00:04:31,003
The algorithm is the learning recipe; the
model is the learned artifact.

80
00:04:31,867 --> 00:04:35,828
The lecture divides machine learning into
supervised, unsupervised,

81
00:04:35,948 --> 00:04:37,228
and reinforcement learning.

82
00:04:37,729 --> 00:04:38,729
What distinguishes them?

83
00:04:39,547 --> 00:04:42,808
Supervised learning receives inputs paired
with known outputs,

84
00:04:43,188 --> 00:04:44,909
usually called labels or targets.

85
00:04:45,509 --> 00:04:48,750
It learns a relationship and then predicts
labels for new inputs.

86
00:04:49,510 --> 00:04:52,391
Its two main categories are regression and
classification.

87
00:04:52,811 --> 00:04:56,972
Regression predicts a quantity, while
classification predicts a category.

88
00:04:57,731 --> 00:04:58,171
Exactly.

89
00:04:58,631 --> 00:05:01,372
Predicting a salary or home price is
regression.

90
00:05:02,032 --> 00:05:05,773
Identifying an email as spam or not spam
is classification.

91
00:05:06,658 --> 00:05:08,439
What happens when there are no labels?

92
00:05:09,176 --> 00:05:11,417
That is the setting for unsupervised
learning.

93
00:05:11,877 --> 00:05:15,098
The algorithm searches for structure
without being told the correct output.

94
00:05:15,678 --> 00:05:20,219
Clustering is a common example: the system
groups observations that appear similar.

95
00:05:21,104 --> 00:05:24,245
And reinforcement learning uses rewards
and penalties?

96
00:05:24,888 --> 00:05:25,108
Yes.

97
00:05:25,628 --> 00:05:28,789
An agent chooses among allowed actions,
observes the result,

98
00:05:29,229 --> 00:05:32,370
and learns a strategy that accumulates
greater reward over time.

99
00:05:33,030 --> 00:05:36,431
The slides mention games, robotics, and
natural-language applications.

100
00:05:36,988 --> 00:05:40,489
So these approaches differ mainly in the
feedback available during learning.

101
00:05:41,286 --> 00:05:45,828
That is a useful way to remember them:
labeled examples for supervised learning,

102
00:05:46,248 --> 00:05:50,830
hidden structure for unsupervised
learning, and consequences of actions for

103
00:05:50,950 --> 00:05:52,051
reinforcement learning.

104
00:05:52,853 --> 00:05:56,995
Linear regression estimates a linear
relationship between one or more features and a

105
00:05:57,055 --> 00:05:57,995
numerical target.

106
00:05:58,475 --> 00:06:02,017
In simple terms, it finds the line that
best describes the observed data.

107
00:06:03,008 --> 00:06:05,569
The lecture separates prediction from
inference.

108
00:06:05,949 --> 00:06:06,650
How are they different?

109
00:06:07,145 --> 00:06:10,826
Prediction focuses on estimating the
target for an unseen observation.

110
00:06:11,687 --> 00:06:15,288
The home example provides the square
footage and sale prices of nearby houses.

111
00:06:15,929 --> 00:06:19,170
A fitted model can estimate a price for a
sixteen-hundred-square-foot home.

112
00:06:20,000 --> 00:06:23,782
Inference asks what the model tells us
about the relationship between variables.

113
00:06:24,504 --> 00:06:24,884
Correct.

114
00:06:25,484 --> 00:06:30,206
The country example examines GDP, income
inequality, unemployment,

115
00:06:30,546 --> 00:06:31,427
and life expectancy.

116
00:06:32,107 --> 00:06:35,909
An analyst may ask how each feature is
associated with life expectancy,

117
00:06:36,369 --> 00:06:40,651
including the direction, magnitude, and
uncertainty of that relationship.

118
00:06:41,316 --> 00:06:45,418
Can a strong prediction prove that a
feature causes the target to change?

119
00:06:46,171 --> 00:06:46,271
No.

120
00:06:47,051 --> 00:06:51,633
Regression can identify associations, but
causal claims require an appropriate

121
00:06:51,693 --> 00:06:53,174
research design and assumptions.

122
00:06:53,734 --> 00:06:58,176
Confounding variables, measurement
choices, and sampling decisions can influence the

123
00:06:58,216 --> 00:06:59,176
observed relationship.

124
00:06:59,905 --> 00:07:03,406
What assumptions should make us cautious
about a linear model?

125
00:07:03,985 --> 00:07:07,006
The relationship should be reasonably
approximated by a line,

126
00:07:07,446 --> 00:07:11,608
the observations and errors need
appropriate behavior for the intended analysis,

127
00:07:12,248 --> 00:07:16,330
and influential outliers or highly
correlated features can cause problems.

128
00:07:17,071 --> 00:07:20,792
A plot of the data and residuals helps
reveal whether the model is missing important

129
00:07:20,812 --> 00:07:21,212
structure.

130
00:07:22,040 --> 00:07:24,201
The lecture introduces three regression
metrics.

131
00:07:25,001 --> 00:07:28,843
R-squared describes how much of the
target's variability is accounted for by the

132
00:07:28,883 --> 00:07:29,143
model.

133
00:07:29,703 --> 00:07:33,445
A value closer to one generally indicates
a better fit to the evaluated data.

134
00:07:34,458 --> 00:07:38,780
What do root mean squared error and mean
absolute error measure?

135
00:07:39,415 --> 00:07:40,996
Both summarize prediction errors.

136
00:07:41,656 --> 00:07:45,698
Root mean squared error gives greater
weight to large errors because the residuals

137
00:07:45,718 --> 00:07:46,238
are squared.

138
00:07:46,978 --> 00:07:51,000
Mean absolute error averages the absolute
size of the residuals and is less

139
00:07:51,080 --> 00:07:52,360
sensitive to extreme errors.

140
00:07:53,041 --> 00:07:57,102
For both, values closer to zero are
better, but they must be interpreted in the

141
00:07:57,142 --> 00:07:58,703
target's units and context.

142
00:07:59,587 --> 00:08:02,048
Could a nearly perfect training score be a
warning?

143
00:08:02,766 --> 00:08:03,027
Yes.

144
00:08:03,547 --> 00:08:07,748
It may indicate overfitting: the model has
learned the training data too

145
00:08:07,808 --> 00:08:10,390
specifically and may fail on new examples.

146
00:08:11,350 --> 00:08:14,891
Underfitting occurs when the model is too
simple to capture the important pattern.

147
00:08:15,732 --> 00:08:20,253
We compare training, validation, and test
performance to distinguish these cases.

148
00:08:21,086 --> 00:08:23,667
What are the main advantages of linear
regression?

149
00:08:24,477 --> 00:08:29,139
It is efficient, easy to implement,
interpretable, and widely studied.

150
00:08:29,860 --> 00:08:34,862
Its disadvantages are equally important:
it struggles with complex nonlinear

151
00:08:34,922 --> 00:08:38,604
patterns, can be affected by outliers and
correlated features,

152
00:08:39,124 --> 00:08:42,486
and can produce misleading results when
its assumptions are ignored.

153
00:08:43,634 --> 00:08:49,037
K nearest neighbors, or KNN, is a
supervised algorithm that predicts a new point

154
00:08:49,177 --> 00:08:50,978
from the training points closest to it.

155
00:08:51,578 --> 00:08:55,380
For classification, the nearby labels vote
on the new point's class.

156
00:08:56,422 --> 00:08:58,243
What steps does the algorithm follow?

157
00:08:59,186 --> 00:09:03,448
First, it calculates the distance from the
new point to the stored training points.

158
00:09:04,189 --> 00:09:06,690
Second, it selects the k nearest points.

159
00:09:07,470 --> 00:09:10,852
Third, it uses their labels, often through
majority voting,

160
00:09:11,172 --> 00:09:11,993
to make the prediction.

161
00:09:12,768 --> 00:09:14,149
What exactly is k?

162
00:09:15,567 --> 00:09:19,088
K is a hyperparameter that specifies how
many neighbors are considered.

163
00:09:19,588 --> 00:09:23,589
It is chosen by the developer rather than
learned directly as a model coefficient.

164
00:09:24,038 --> 00:09:26,878
Why not always use the closest single
neighbor?

165
00:09:27,577 --> 00:09:32,678
A very small k can react too strongly to
noise or unusual training examples,

166
00:09:33,178 --> 00:09:35,418
leading to high variance and overfitting.

167
00:09:36,118 --> 00:09:40,299
A very large k can smooth away real local
patterns and underfit.

168
00:09:40,999 --> 00:09:44,980
The lecture suggests the square root of
the training-set size as a starting point,

169
00:09:45,280 --> 00:09:46,240
followed by validation.

170
00:09:47,291 --> 00:09:50,171
Why are odd values of k often preferred?

171
00:09:50,771 --> 00:09:53,812
With two classes, an odd k reduces the
chance of a tie.

172
00:09:54,552 --> 00:09:57,453
More generally, the tie-breaking rule
should be defined explicitly.

173
00:09:58,206 --> 00:10:01,347
The slides say KNN has no model-training
stage.

174
00:10:01,607 --> 00:10:02,627
Does that make it fast?

175
00:10:03,436 --> 00:10:07,077
It makes fitting simple because the method
largely stores the training data.

176
00:10:07,877 --> 00:10:12,118
Prediction can be slow, however, because
distances may be computed against many

177
00:10:12,218 --> 00:10:12,818
observations.

178
00:10:13,538 --> 00:10:18,119
KNN also suffers from the curse of
dimensionality: as the number of features grows,

179
00:10:18,479 --> 00:10:22,479
distance becomes less informative unless
features are carefully selected and scaled.

180
00:10:22,967 --> 00:10:27,488
Then KNN is easy to explain and can
capture nonlinear boundaries,

181
00:10:27,948 --> 00:10:33,049
but it is not ideal for very large
datasets or applications that require instant

182
00:10:33,089 --> 00:10:33,629
predictions.

183
00:10:34,472 --> 00:10:35,012
Precisely.

184
00:10:35,872 --> 00:10:41,593
Feature scaling, the distance metric, the
value of k, and validation all matter.

185
00:10:42,478 --> 00:10:47,599
Despite its name, logistic regression is
primarily a classification algorithm.

186
00:10:48,179 --> 00:10:51,580
It estimates the probability that an
observation belongs to a class.

187
00:10:52,525 --> 00:10:57,165
The slide uses time on a webpage to
predict whether a visitor will buy a product.

188
00:10:58,150 --> 00:10:58,410
Yes.

189
00:10:59,070 --> 00:11:03,710
A logistic function maps the model's score
to a value between zero and one.

190
00:11:04,290 --> 00:11:08,111
That value can be interpreted as the
estimated probability of class one.

191
00:11:09,031 --> 00:11:13,632
A threshold, often one-half, converts the
probability into a class prediction.

192
00:11:14,539 --> 00:11:15,559
How is the model trained?

193
00:11:16,019 --> 00:11:20,780
The training process searches for
coefficients that make the observed labels likely

194
00:11:21,000 --> 00:11:21,601
under the model.

195
00:11:22,221 --> 00:11:26,662
In other words, it adjusts the logistic
curve to maximize the likelihood of the

196
00:11:26,702 --> 00:11:27,382
training data.

197
00:11:28,314 --> 00:11:32,656
Why might probabilities be more useful
than receiving only a class label?

198
00:11:33,464 --> 00:11:37,625
They communicate uncertainty and allow the
threshold to match the cost of different

199
00:11:37,705 --> 00:11:38,045
errors.

200
00:11:38,905 --> 00:11:42,887
A medical screening system may use a lower
threshold when missing a possible case is

201
00:11:42,947 --> 00:11:43,887
especially costly.

202
00:11:44,547 --> 00:11:48,228
A different application may require
stronger evidence before assigning the positive

203
00:11:48,248 --> 00:11:48,608
class.

204
00:11:49,550 --> 00:11:52,511
What are logistic regression's strengths
and limitations?

205
00:11:53,527 --> 00:11:56,667
It trains and predicts efficiently,
supports interpretation,

206
00:11:57,047 --> 00:11:58,568
and produces class probabilities.

207
00:11:59,548 --> 00:12:03,529
A basic logistic model creates a linear
decision boundary in feature space,

208
00:12:03,869 --> 00:12:05,730
so it may miss complex relationships.

209
00:12:06,370 --> 00:12:09,311
It can also overfit when there are too
many features for the amount of data,

210
00:12:09,991 --> 00:12:13,452
and it may require feature engineering,
selection, regularization,

211
00:12:13,612 --> 00:12:14,772
and outlier analysis.

212
00:12:15,275 --> 00:12:19,916
How should I choose among linear
regression, KNN, and logistic regression?

213
00:12:20,891 --> 00:12:21,851
Start with the task.

214
00:12:22,432 --> 00:12:24,912
Use linear regression for a numerical
target.

215
00:12:25,552 --> 00:12:28,613
Use logistic regression or KNN for
classification.

216
00:12:29,313 --> 00:12:34,195
Then compare assumptions,
interpretability, speed, dataset size,

217
00:12:34,615 --> 00:12:37,416
nonlinear structure, and validated
performance.

218
00:12:38,599 --> 00:12:43,640
Exploratory data analysis, or EDA, is the
initial investigation of a dataset.

219
00:12:44,261 --> 00:12:48,442
Its purpose is to understand the data's
structure and characteristics before making

220
00:12:48,502 --> 00:12:49,622
strong modeling claims.

221
00:12:50,689 --> 00:12:52,590
What questions should we ask during EDA?

222
00:12:53,596 --> 00:12:55,196
The lecture highlights five areas.

223
00:12:55,737 --> 00:13:00,238
First, data type: are variables numerical,
categorical, or text?

224
00:13:01,118 --> 00:13:03,659
Second, completeness: are values missing?

225
00:13:04,519 --> 00:13:08,021
Third, diversity: is the dataset varied or
repetitive?

226
00:13:09,041 --> 00:13:14,744
Fourth, distribution: what averages,
extremes, clusters, or anomalies appear?

227
00:13:15,844 --> 00:13:20,326
Fifth, representativeness: does the sample
reflect the broader population and

228
00:13:20,366 --> 00:13:20,847
context?

229
00:13:21,849 --> 00:13:26,311
The data-quality slide shows bad data
going into a perfect model and still producing

230
00:13:26,351 --> 00:13:26,972
a bad result.

231
00:13:27,579 --> 00:13:30,000
That is one of the most important lessons
in the unit.

232
00:13:30,520 --> 00:13:34,522
A sophisticated algorithm cannot repair an
irrelevant, biased,

233
00:13:34,922 --> 00:13:37,723
mislabeled, or poorly measured dataset by
itself.

234
00:13:38,547 --> 00:13:40,488
How does visualization support EDA?

235
00:13:41,250 --> 00:13:45,452
Data visualization represents information
graphically so patterns become more

236
00:13:45,472 --> 00:13:46,873
accessible and understandable.

237
00:13:47,533 --> 00:13:51,975
It can provide quick insight, reveal
trends and anomalies, support feature

238
00:13:52,015 --> 00:13:55,997
selection, help evaluate models, and
communicate results to stakeholders.

239
00:13:56,845 --> 00:13:59,066
A graph is not automatically truthful,
though.

240
00:13:59,626 --> 00:13:59,987
Correct.

241
00:14:00,407 --> 00:14:06,190
The chart type, scale, labels,
aggregation, omitted data, and visual emphasis can

242
00:14:06,270 --> 00:14:07,050
change the message.

243
00:14:07,710 --> 00:14:11,712
A responsible analyst pairs a clear visual
with context, definitions,

244
00:14:11,932 --> 00:14:13,173
and the limitations of the data.

245
00:14:13,961 --> 00:14:15,842
Let us close with five review questions.

246
00:14:16,462 --> 00:14:21,225
Maya, question one: what is the difference
between an ML algorithm and an ML model?

247
00:14:21,772 --> 00:14:24,753
The algorithm is the general learning
procedure.

248
00:14:25,154 --> 00:14:29,676
The model is the learned result produced
when that algorithm is applied to specific

249
00:14:29,756 --> 00:14:30,436
training data.

250
00:14:31,138 --> 00:14:36,021
Question two: how do supervised,
unsupervised, and reinforcement learning differ?

251
00:14:36,906 --> 00:14:41,168
Supervised learning uses labeled examples,
unsupervised learning searches for

252
00:14:41,228 --> 00:14:45,350
structure without labels, and
reinforcement learning improves through actions,

253
00:14:45,450 --> 00:14:46,691
rewards, and penalties.

254
00:14:47,386 --> 00:14:50,527
Question three: when is linear regression
appropriate?

255
00:14:51,077 --> 00:14:55,338
When the target is numerical and the
relationship can be modeled reasonably with a

256
00:14:55,378 --> 00:14:58,179
linear form, while its assumptions and
residuals are checked.

257
00:14:58,785 --> 00:15:01,906
Question four: what role does k play in
KNN?

258
00:15:02,558 --> 00:15:06,520
It determines how many nearby training
points participate in the prediction.

259
00:15:07,000 --> 00:15:10,861
Small and large values create different
overfitting and underfitting risks.

260
00:15:11,904 --> 00:15:15,925
Final question: why should EDA occur
before modeling?

261
00:15:16,766 --> 00:15:21,707
EDA reveals data types, missing values,
distributions, anomalies,

262
00:15:22,087 --> 00:15:23,888
diversity, and representativeness.

263
00:15:24,448 --> 00:15:28,089
Those findings influence preparation,
features, model choice,

264
00:15:28,429 --> 00:15:30,210
and whether the project is credible at
all.

265
00:15:31,184 --> 00:15:31,564
Excellent.

266
00:15:32,184 --> 00:15:36,005
Unit 10 gives us a complete way to think
about machine learning: begin with a

267
00:15:36,045 --> 00:15:40,947
meaningful question, understand and
prepare the data, select an algorithm that fits

268
00:15:40,987 --> 00:15:44,709
the task, train and tune without
contaminating the final test,

269
00:15:45,210 --> 00:15:47,011
and evaluate the result in context.

270
00:15:47,772 --> 00:15:51,214
And a more complicated model is not
automatically a better one.

271
00:15:51,766 --> 00:15:52,306
Exactly.

272
00:15:52,847 --> 00:15:57,030
The best model is one that performs
reliably for the intended use,

273
00:15:57,490 --> 00:16:02,014
can be evaluated honestly, and has
limitations its users understand.

274
00:16:02,935 --> 00:16:03,815
Thank you for joining us.

275
00:16:04,376 --> 00:16:06,998
We will see you in the next COP 4020
lecture.

