Lecture2 - General Concepts For ML
Lecture2 - General Concepts For ML
Since 2004
Hanoi, 09/2024
Recap: Traditional Programming vs Machine Learning
https://images.techhive.com/images/article/2017/05/traditional-programming-vs-machine-learning-100723299-large.jpg
Source: https://www.linkedin.com/pulse/lets-understand-difference-between-machine-learning-vs-gauri-bapat
Source: https://www.ibm.com/blogs/systems/ai-machine-learning-and-deep-learning-whats-the-difference/
Source: https://medium.com/marketing-
and-entrepreneurship/10-companies-
using-machine-learning-in-cool-ways-
887c25f913c3
A cat?
or a tiger?
Discrete RV Continuous RV
Discrete Random Variable (DRV)
• Let toss the coin twice, and X is the number of
the head occurs.
How many values of X ?
f(x2)
0 1/4 = .25
S H 1 2/4 = .50
2 1/4 = .25
H S
.50
Probability
H H .25
Time to
Weight & Height complete a task
if X is continuous
(Bayesian Rule)
• Conditional Probability:
Posterior Prior
Likelihood
probability probability
• Bayesian Rule:
52
The Statistical Learning Framework
53
The Statistical Learning Framework
54
The Statistical Learning Framework
55
The Statistical Learning Framework
56
The Statistical Learning Framework
57
Train/Test/Validation
65
Homework: Parameter Estimation
66
Homework: Parameter Estimation
67
Homework: Parameter Estimation
68
UET
Since 2004
Thank you
Email me
[email protected]