Week 5
Week 5
Week 5
MACHINE
Parametric Methods
LEARNING
Dr. SAEED UR REHMAN
Department of Computer Science,
COMSATS University Islamabad
Wah Campus
Parametric Methods
Log likelihood ( where log function converts products into sum and is good for simplified
calculations)
θ* = argmaxθ L(θ|X)
Practical Applications
The binomial distribution is applicable to most situations in which a specific
target result is known, by designating the target as "success" and anything
other than the target as "failure.“ for example coin tossing, dice rolling etc…
1 x 2
px exp
2 2 2
MLE for μ and σ2:
μ σ x t
m t
N
x m
t 2
s2 t
N
DEPARTMENT OF COMPUTER SCIENCE, COMSATS UNIVERSITY ISLAMABAD - WAH CAMPUS
Introduction to Machine Learning
Bias and Variance
In supervised machine learning training data is used by an algorithm for
learning. The goal of any such ML algorithm is to best estimate the
mapping function (f) for the output variable (Y) given the input data (X).
This f is often called the target function because that a given supervised
machine learning algorithm aims to approximate.
Bias are the simplifying assumptions made by a model to make the target
function easier to learn.
Generally, linear algorithms have a high bias making them fast to learn
and easier to understand but generally less flexible.
In turn, they have lower predictive performance on complex problems
that fail to meet the simplifying assumptions of the algorithms bias.
Image courtesy
https://medium.com/@ml.at.berkeley/machine-learning-crash-course-part-4-the-bias-variance-dilemma-a94e60ec1d3
Underfitting Overfitting
Bias Error
Low Bias: Suggests less assumptions about the form of the target function.
High-Bias: Suggests more assumptions about the form of the target
function.
https:// machinelearningmastery.com/parametric-and-nonparametric-machine-learning-algorithms/
Artificial Intelligence: A Modern Approach (4th Edition) (Pearson Series in Artifical Intelligence)
https://brilliant.org/wiki/maximum-likelihood-estimation-mle/
https://subscription.packtpub.com/book/big_data_and_business_intelligence/9781788830577/1/ch01lvl1sec15/bias-variance-trade
-off
https://machinelearningmastery.com/gentle-introduction-to-the-bias-variance-trade-off-in-machine-learning
https://study.com/academy/lesson/bayes-estimator-definition-examples.html
https://ch.mathworks.com/help/stats/introduction-to-parametric-classification.html
1 if x is positive
r
0 if x is negative
x1
x
x2
1 if h says x is positive
h( x)
0 if h says x is negative
https://www.guru99.com/confusion-matrix-machine-learning-example.html