SlideShare a Scribd company logo
1 of 60
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

Similar to Sparse Regularization

Similar to Sparse Regularization (20)

New Product Development Cost Analysis PowerPoint Presentation Slides
New Product Development Cost Analysis PowerPoint Presentation SlidesNew Product Development Cost Analysis PowerPoint Presentation Slides
New Product Development Cost Analysis PowerPoint Presentation Slides
 
Engine90 crawford-decision-making (1)
Engine90 crawford-decision-making (1)Engine90 crawford-decision-making (1)
Engine90 crawford-decision-making (1)
 
20180608 sitra aamuharppaus annu nieminen v2
20180608 sitra aamuharppaus annu nieminen v220180608 sitra aamuharppaus annu nieminen v2
20180608 sitra aamuharppaus annu nieminen v2
 
Probabilistic modeling in deep learning
Probabilistic modeling in deep learningProbabilistic modeling in deep learning
Probabilistic modeling in deep learning
 
Quality tools for Improvement
Quality tools for ImprovementQuality tools for Improvement
Quality tools for Improvement
 
New Product Cost Assessment PowerPoint Presentation Slides
New Product Cost Assessment PowerPoint Presentation SlidesNew Product Cost Assessment PowerPoint Presentation Slides
New Product Cost Assessment PowerPoint Presentation Slides
 
Deep recommendations in PyTorch
Deep recommendations in PyTorchDeep recommendations in PyTorch
Deep recommendations in PyTorch
 
New Product Cost Evaluation PowerPoint Presentation Slides
New Product Cost Evaluation PowerPoint Presentation SlidesNew Product Cost Evaluation PowerPoint Presentation Slides
New Product Cost Evaluation PowerPoint Presentation Slides
 
Big Data Analytics: The Math, the Implementation and How it can be Effectivel...
Big Data Analytics: The Math, the Implementation and How it can be Effectivel...Big Data Analytics: The Math, the Implementation and How it can be Effectivel...
Big Data Analytics: The Math, the Implementation and How it can be Effectivel...
 
1645 track2 short
1645 track2 short1645 track2 short
1645 track2 short
 
205250 crystall ball
205250 crystall ball205250 crystall ball
205250 crystall ball
 
What isagile
What isagileWhat isagile
What isagile
 
Advices and strategies I learned from my first business attempt
Advices and strategies I learned from my first business attemptAdvices and strategies I learned from my first business attempt
Advices and strategies I learned from my first business attempt
 
Vskills certified business analytics professional
Vskills certified business analytics professionalVskills certified business analytics professional
Vskills certified business analytics professional
 
Modul 1.1: Introduction & Basics
Modul 1.1: Introduction & BasicsModul 1.1: Introduction & Basics
Modul 1.1: Introduction & Basics
 
Eco550 Assignment 1
Eco550 Assignment 1Eco550 Assignment 1
Eco550 Assignment 1
 
XSCALE: Beyond BDD
XSCALE: Beyond BDDXSCALE: Beyond BDD
XSCALE: Beyond BDD
 
Fixed Asset Expenditure PowerPoint Presentation Slides
Fixed Asset Expenditure PowerPoint Presentation Slides Fixed Asset Expenditure PowerPoint Presentation Slides
Fixed Asset Expenditure PowerPoint Presentation Slides
 
Freelancing: How not to Suck
Freelancing: How not to SuckFreelancing: How not to Suck
Freelancing: How not to Suck
 
Data Mining the City - A (practical) introduction to Machine Learning
Data Mining the City - A (practical) introduction to Machine LearningData Mining the City - A (practical) introduction to Machine Learning
Data Mining the City - A (practical) introduction to Machine Learning
 

More from Shadi Nabil Albarqouni (7)

Pmsd
PmsdPmsd
Pmsd
 
Introduction to Sparse Methods
Introduction to Sparse Methods Introduction to Sparse Methods
Introduction to Sparse Methods
 
Pro
ProPro
Pro
 
Medical robots history
Medical robots historyMedical robots history
Medical robots history
 
Robust Stability and Disturbance Analysis of a Class of Networked Control Sys...
Robust Stability and Disturbance Analysis of a Class of Networked Control Sys...Robust Stability and Disturbance Analysis of a Class of Networked Control Sys...
Robust Stability and Disturbance Analysis of a Class of Networked Control Sys...
 
DIP Course Projects (HCR)
DIP Course Projects (HCR)DIP Course Projects (HCR)
DIP Course Projects (HCR)
 
Rigid motions & Homogeneous Transformation
Rigid motions & Homogeneous TransformationRigid motions & Homogeneous Transformation
Rigid motions & Homogeneous Transformation
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 

Sparse Regularization