SlideShare a Scribd company logo
Introduction to Sparse Methods
Shadi Albarqouni, M.Sc.
Research Assistant | PhD Candidate!
shadi.albarqouni@tum.de
!
Machine Learning in Medical Imaging!
BioMedical Computing (BMC) Master Program
Computer Aided Medical Procedures | Technische Universität München
Introduction
Regularization
Sparsity
Extensions
Model
Announcement!
Hiring Data
Scientists
Boss Christoph
Introduction
Regularization
Sparsity
Extensions
Model
Announcement!
Hiring Data
Scientists
Let’s apply!
Boss Christoph
Introduction
Regularization
Sparsity
Extensions
Model
Announcement!
Hiring Data
Scientists
Let’s apply!
Boss Christoph
1st day of his work
Introduction
Regularization
Sparsity
Extensions
Model
Announcement!
Hiring Data
Scientists
Let’s apply!
We want to build a
Predictive Model
for the wages!
Boss Christoph
1st day of his work
Introduction
Regularization
Sparsity
Extensions
Model
Announcement!
Hiring Data
Scientists
Let’s apply!
We want to build a
Predictive Model
for the wages!
What!!
Boss Christoph
1st day of his work
Introduction
Regularization
Sparsity
Extensions
Model
Announcement!
Hiring Data
Scientists
Let’s apply!
We want to build a
Predictive Model
for the wages!
What!!
What kind of data you
have? How Big?
Boss Christoph
1st day of his work
Introduction
Regularization
Sparsity
Extensions
Model
Announcement!
Hiring Data
Scientists
Let’s apply!
We want to build a
Predictive Model
for the wages!
What!!
What kind of data you
have? How Big?
Data Cleanup, Pre-
processing, overfitting!
Boss Christoph
1st day of his work
Introduction
Regularization
Sparsity
Extensions
Model
Monthly Wages
January
Wages
0
17,5
35
52,5
70
0 1 2 3 4 5 6 7 8 9 10
Shadi Chrsitian Alma Kathrina Average
Observations
Boss
Introduction
Regularization
Sparsity
Extensions
Model
Monthly Wages
October
Wages
0
17,5
35
52,5
70
0 1 2 3 4 5 6 7 8 9 10
Shadi Chrsitian Alma Kathrina Average
Observations
Boss
Introduction
Regularization
Sparsity
Extensions
Model
Monthly Wages
October
Wages
0
17,5
35
52,5
70
0 1 2 3 4 5 6 7 8 9 10
Shadi Chrsitian Alma Kathrina Average
Observations
Boss
Here the observations we have
Introduction
Regularization
Sparsity
Extensions
Model
Curve fitting
Monthly Wages
Wages
0
17,5
35
52,5
70
0 1 2 3 4 5 6 7 8 9 10
Shadi Chrsitian Alma Kathrina Average
x
y
Christoph
Introduction
Regularization
Sparsity
Extensions
Model
Curve fitting
y=a0
Monthly Wages
Wages
0
17,5
35
52,5
70
0 1 2 3 4 5 6 7 8 9 10
Shadi Chrsitian Alma Kathrina Average
x
y
Christoph
Introduction
Regularization
Sparsity
Extensions
Model
Curve fitting
y=a0
Monthly Wages
Wages
0
17,5
35
52,5
70
0 1 2 3 4 5 6 7 8 9 10
Shadi Chrsitian Alma Kathrina Average
x
y
Under-fitting
Christoph
Introduction
Regularization
Sparsity
Extensions
Model
Curve fitting
y=a0
Monthly Wages
Wages
0
17,5
35
52,5
70
0 1 2 3 4 5 6 7 8 9 10
Shadi Chrsitian Alma Kathrina Average
x
y
Christoph
Introduction
Regularization
Sparsity
Extensions
Model
Curve fitting
Monthly Wages
Wages
0
17,5
35
52,5
70
0 1 2 3 4 5 6 7 8 9 10
Shadi Chrsitian Alma Kathrina Average
x
y
Christoph
Introduction
Regularization
Sparsity
Extensions
Model
Curve fitting
Monthly Wages
Wages
0
17,5
35
52,5
70
0 1 2 3 4 5 6 7 8 9 10
Shadi Chrsitian Alma Kathrina Average
y=a1x
x
y
Christoph
Introduction
Regularization
Sparsity
Extensions
Model
Curve fitting
Monthly Wages
Wages
0
17,5
35
52,5
70
0 1 2 3 4 5 6 7 8 9 10
Shadi Chrsitian Alma Kathrina Average
x
y
Christoph
Introduction
Regularization
Sparsity
Extensions
Model
Curve fitting
Monthly Wages
Wages
0
17,5
35
52,5
70
0 1 2 3 4 5 6 7 8 9 10
Shadi Chrsitian Alma Kathrina Average
y=a0+a1x
x
y
Christoph
Introduction
Regularization
Sparsity
Extensions
Model
Curve fitting
Monthly Wages
Wages
0
17,5
35
52,5
70
0 1 2 3 4 5 6 7 8 9 10
Shadi Chrsitian Alma Kathrina Average
x
y
Christoph
Introduction
Regularization
Sparsity
Extensions
Model
Curve fitting
Monthly Wages
Wages
0
17,5
35
52,5
70
0 1 2 3 4 5 6 7 8 9 10
Shadi Chrsitian Alma Kathrina Average
y=a0+a1x+a2x^2+…+aNx^N
x
y
Christoph
Introduction
Regularization
Sparsity
Extensions
Model
Curve fitting
Monthly Wages
Wages
0
17,5
35
52,5
70
0 1 2 3 4 5 6 7 8 9 10
Shadi Chrsitian Alma Kathrina Average
y=a0+a1x+a2x^2+…+aNx^N
x
y
Over-fitting
Christoph
Introduction
Regularization
Sparsity
Extensions
Model
Curve fitting
Monthly Wages
Wages
0
17,5
35
52,5
70
0 1 2 3 4 5 6 7 8 9 10
Shadi Chrsitian Alma Kathrina Average
y=a0+a1x+a2x^2+…+aNx^N
x
y
Over-fitting
Christoph
Which one will make the Boss happy!!
Introduction
Regularization
Sparsity
Extensions
Model
Wages
0
17,5
35
52,5
70
0 1 2 3 4 5 6 7 8 9 10
Shadi Chrsitian Alma Kathrina
Average_Female Average_Male
x
y
More Interesting and Complicated
Boss
Introduction
Regularization
Sparsity
Extensions
Model
Wages
0
17,5
35
52,5
70
0 1 2 3 4 5 6 7 8 9 10
Shadi Chrsitian Alma Kathrina
Average_Female Average_Male
x
y
More Interesting and Complicated
Boss
I see! Based on your Model, we should hire in the first
quarter, the question is Male or Female? Age? Experience?
Introduction
Regularization
Sparsity
Extensions
Model
Building a Model / Formulation
Christoph
y x
7 9
20 35
1 2
1 7
3 1
12 26
Obser. Features
Wages
Month
Age
Gender
Exp.
….
=
Linear Predictive Model
few data points -> under-fitting
more data points -> robust …. over-fitting?
AModel
0.2 0.4 0.1 0.8 0.1
.
y = A.x + e
Where e is a white gaussian noise
Introduction
Regularization
Sparsity
Extensions
Model
Building a Model / Formulation
Christoph
I decided for a Linear Predictive Model … Pretty Easy!
y x
7 9
20 35
1 2
1 7
3 1
12 26
Obser. Features
Wages
Month
Age
Gender
Exp.
….
=
Linear Predictive Model
few data points -> under-fitting
more data points -> robust …. over-fitting?
AModel
0.2 0.4 0.1 0.8 0.1
.
y = A.x + e
Where e is a white gaussian noise
Introduction
Regularization
Sparsity
Extensions
Model
Generalized Model
Boss
Introduction
Regularization
Sparsity
Extensions
Model
Generalized Model
Boss
You did a good job Christoph! What about a generalized
model, we would enter the image processing market, so we
may need Image Restoration or Reconstruction!
Introduction
Regularization
Sparsity
Extensions
Model
Challenges
Christoph
Introduction
Regularization
Sparsity
Extensions
Model
Challenges
Christoph
OMG, i haven’t heard about that ….
how we can solve such a problem!
Introduction
Regularization
Sparsity
Extensions
Model
Challenges
Christoph
Introduction
Regularization
Sparsity
Extensions
Model
Challenges
Christoph
Well, it seems not that easy!
We need a regularization!
Introduction
Regularization
Sparsity
Extensions
Model
Regularization
Christoph
Introduction
Regularization
Sparsity
Extensions
Model
Regularization
Christoph
Ah! Which one would be the best? … I can’t understand
how this penalty function would solve the posedness?
Introduction
Regularization
Sparsity
Extensions
Model
L2 & L1 Regularization
Christoph
Introduction
Regularization
Sparsity
Extensions
Model
L2 & L1 Regularization
Christoph
Let’s have a simple example with only two features!
Introduction
Regularization
Sparsity
Extensions
Model
L2 & L1 Regularization
Christoph
Let’s have a simple example with only two features!
x1
x2
Introduction
Regularization
Sparsity
Extensions
Model
L2 & L1 Regularization
Christoph
Let’s have a simple example with only two features!
x1
x2
Introduction
Regularization
Sparsity
Extensions
Model
L2 & L1 Regularization
Christoph
Let’s have a simple example with only two features!
x1
x2
Introduction
Regularization
Sparsity
Extensions
Model
L2 & L1 Regularization
Christoph
Let’s have a simple example with only two features!
x1
x2
Introduction
Regularization
Sparsity
Extensions
Model
L2 & L1 Regularization
Christoph
Let’s have a simple example with only two features!
x1
x2
Introduction
Regularization
Sparsity
Extensions
Model
L2 & L1 Regularization
Christoph
Let’s have a simple example with only two features!
x1
x2
Introduction
Regularization
Sparsity
Extensions
Model
L2 & L1 Regularization
Christoph
Let’s have a simple example with only two features!
x1
x2
Introduction
Regularization
Sparsity
Extensions
Model
L2 & L1 Regularization
Christoph
Let’s have a simple example with only two features!
x1
x2
Introduction
Regularization
Sparsity
Extensions
Model
L2 & L1 Regularization
Christoph
Let’s have a simple example with only two features!
x1
x2
Introduction
Regularization
Sparsity
Extensions
Model
L2 & L1 Regularization
Christoph
Let’s have a simple example with only two features!
x1
x2
Introduction
Regularization
Sparsity
Extensions
Model
L2 & L1 Regularization
Christoph
Let’s have a simple example with only two features!
x1
x2
Introduction
Regularization
Sparsity
Extensions
Model
Compressive Sensing
Christoph
Boss
Introduction
Regularization
Sparsity
Extensions
Model
Compressive Sensing
Christoph
Boss
Interesting! We got few elements (features/weights) with L1
This would definitely help us in Memory saving,
computations costs … less Money!
Introduction
Regularization
Sparsity
Extensions
Model
Compressive Sensing
Christoph
Boss
Interesting! We got few elements (features/weights) with L1
This would definitely help us in Memory saving,
computations costs … less Money!
That’s true! However, we don’t have prior info. about the
latent variable (Sparse or not)? … Wavelet, Fourier, … Dictionary
Introduction
Regularization
Sparsity
Extensions
Model
Dictionary Learning
Introduction
Regularization
Sparsity
Extensions
Model
Dictionary Learning
Introduction
Regularization
Sparsity
Extensions
Model
Dictionary Learning
D
xi =a5d5 +a8d8 +a35d35 ….
+a120d120
xi
Data points are
represented sparely
with few non-zero
elements
Introduction
Regularization
Sparsity
Extensions
Model
Extensions
Introduction
Regularization
Sparsity
Extensions
Model
References
Introduction
Regularization
Sparsity
Extensions
Model
Boss Christoph
Introduction
Regularization
Sparsity
Extensions
Model
Boss Christoph
Hey Christoph! We have a plan to work more in this sparse
coding topic, please keep working on that.
Introduction
Regularization
Sparsity
Extensions
Model
Boss Christoph
Hey Christoph! We have a plan to work more in this sparse
coding topic, please keep working on that.
I have read some materials on Graph
Sparse Coding … etc.
Introduction
Regularization
Sparsity
Extensions
Model
Boss Christoph
Hey Christoph! We have a plan to work more in this sparse
coding topic, please keep working on that.
I have read some materials on Graph
Sparse Coding … etc.
Great! Keep doing that! Please
if you have any question, don’t
hesitate to contact me:
shadi.albarqouni@tum.de

More Related Content

PDF
Telemedicine in Palestine
PDF
PDF
Clustering lect
PDF
AggNet: Deep Learning from Crowds
PDF
lec3_annotated.pdf ml csci 567 vatsal sharan
PDF
Low Complexity Regularization of Inverse Problems - Course #1 Inverse Problems
PDF
Regularization
PDF
QMC: Operator Splitting Workshop, Sparse Non-Parametric Regression - Noah Sim...
Telemedicine in Palestine
Clustering lect
AggNet: Deep Learning from Crowds
lec3_annotated.pdf ml csci 567 vatsal sharan
Low Complexity Regularization of Inverse Problems - Course #1 Inverse Problems
Regularization
QMC: Operator Splitting Workshop, Sparse Non-Parametric Regression - Noah Sim...

Similar to Sparse Regularization (20)

PDF
lec4_annotated.pdf ml csci 567 vatsal sharan
PDF
Lec17 sparse signal processing & applications
PDF
Avoid Overfitting with Regularization
PDF
Sparse Data Support in MLlib
PDF
Introduction to Sparse Methods
PDF
Sparsenet
PPTX
Regularization in deep learning
PPTX
1 d,2d laplace inversion of lr nmr
PDF
Sparse Additive Models (SPAM)
PPTX
Efficient Sparse Coding Algorithms
PPTX
lecture15-regularization.pptx
PPTX
CO2_Session-1.pptx module 2 ppt showing
PDF
Supervised Learning of Sparsity-Promoting Regularizers for Denoising
PDF
(Sparse) Linear solvers explanation1.pdf
PDF
Neural Network Part-2
PDF
Spark summit talk, july 2014 powered by reveal
PDF
DL_lecture3_regularization_I.pdf
PDF
Contradictory of the Laplacian Smoothing Transform and Linear Discriminant An...
lec4_annotated.pdf ml csci 567 vatsal sharan
Lec17 sparse signal processing & applications
Avoid Overfitting with Regularization
Sparse Data Support in MLlib
Introduction to Sparse Methods
Sparsenet
Regularization in deep learning
1 d,2d laplace inversion of lr nmr
Sparse Additive Models (SPAM)
Efficient Sparse Coding Algorithms
lecture15-regularization.pptx
CO2_Session-1.pptx module 2 ppt showing
Supervised Learning of Sparsity-Promoting Regularizers for Denoising
(Sparse) Linear solvers explanation1.pdf
Neural Network Part-2
Spark summit talk, july 2014 powered by reveal
DL_lecture3_regularization_I.pdf
Contradictory of the Laplacian Smoothing Transform and Linear Discriminant An...
Ad

More from Shadi Nabil Albarqouni (6)

PDF
Medical robots history
PPTX
Robust Stability and Disturbance Analysis of a Class of Networked Control Sys...
PPT
DIP Course Projects (HCR)
PPTX
Rigid motions & Homogeneous Transformation
Medical robots history
Robust Stability and Disturbance Analysis of a Class of Networked Control Sys...
DIP Course Projects (HCR)
Rigid motions & Homogeneous Transformation
Ad

Recently uploaded (20)

PPTX
Cell Structure & Organelles in detailed.
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Classroom Observation Tools for Teachers
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
Pre independence Education in Inndia.pdf
PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Complications of Minimal Access Surgery at WLH
PDF
Sports Quiz easy sports quiz sports quiz
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Cell Structure & Organelles in detailed.
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Pharmacology of Heart Failure /Pharmacotherapy of CHF
2.FourierTransform-ShortQuestionswithAnswers.pdf
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Abdominal Access Techniques with Prof. Dr. R K Mishra
Classroom Observation Tools for Teachers
O5-L3 Freight Transport Ops (International) V1.pdf
Final Presentation General Medicine 03-08-2024.pptx
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Renaissance Architecture: A Journey from Faith to Humanism
PPH.pptx obstetrics and gynecology in nursing
Pre independence Education in Inndia.pdf
TR - Agricultural Crops Production NC III.pdf
GDM (1) (1).pptx small presentation for students
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Complications of Minimal Access Surgery at WLH
Sports Quiz easy sports quiz sports quiz
STATICS OF THE RIGID BODIES Hibbelers.pdf
Chapter 2 Heredity, Prenatal Development, and Birth.pdf

Sparse Regularization