SlideShare ist ein Scribd-Unternehmen logo
1 von 2
Downloaden Sie, um offline zu lesen
Least Square solution for Semi supervised learning 
Ahmed Taha 
Starting from the objective Function for the supervised learning problem 
min FtLF = 1=2 
X 
i;j 
Wij (fi  fj) 
Now we want to extend the same equation for the Semi supervised learning problem 
So the minimization problem is now 
J(F) = FtLF + 
X 
i 
 (fi  yi) 
Where  is the weight of the Labeled Data y1; y2::::yi 
J(F) = FtLF + (F  Y )T  (F  Y ) (1) 
= FtLF + FT (F  Y )  Y T  (F  Y ) 
= FtLF + FT F  FT Y  Y T  F + Y T  Y 
to minimise , we dierentiate and equate by zero 
d J(F) 
dF 
= 
d(FtLF) 
dF 
+ 
d(FtF) 
dF 
 
d(FtY ) 
dF 
 
d(Y tF) 
dF 
+ 
d(Y tY ) 
dF 
(2) 
Based on matrix dierentiation rules 1, it can be shown that 
d(XtAX) 
dX 
= (A + At)X 
therefore 
dJ(F) 
dF 
= 0 = (L + Lt) F + ( + t)F  
d(FtY ) 
dF 
 
d(Y tF) 
dF 
Based on matrix dierentiation rules, it can be shown that 
d(XtA) 
dX 
= A and 
d (AtX) 
dX 
= A (3) 
1Matrix Dierentiation Rules : https://www.cs.nyu.edu/ roweis/notes/matrixid.pdf 
1
Since  is diagonal matrix and L is symmetric matrix  = t;L = Lt 
dJ(F) 
dF 
= 0 = 2LF + 2F  Y  Y t 
t 
= 2LF + 2F  Y  Y 
= 2(L + )F  2Y 
(L + )F = Y 
F = (L + )1Y 
This solution is called Least Square solution, it provide exact solution for classi

Weitere ähnliche Inhalte

Was ist angesagt?

Engr 213 midterm 1a sol 2009
Engr 213 midterm 1a sol 2009Engr 213 midterm 1a sol 2009
Engr 213 midterm 1a sol 2009
akabaka12
 
Lesson 1 Nov 12 09
Lesson 1 Nov 12 09Lesson 1 Nov 12 09
Lesson 1 Nov 12 09
ingroy
 
AM11 Trigonometry
AM11 TrigonometryAM11 Trigonometry
AM11 Trigonometry
Sofian Muhd
 
Notes on exact and approximate bayesian implementation
Notes on exact and approximate bayesian implementationNotes on exact and approximate bayesian implementation
Notes on exact and approximate bayesian implementation
Leo Vivas
 
Review 1 -_limits-_continuity_(pcalc+_to_ap_calc)
Review 1 -_limits-_continuity_(pcalc+_to_ap_calc)Review 1 -_limits-_continuity_(pcalc+_to_ap_calc)
Review 1 -_limits-_continuity_(pcalc+_to_ap_calc)
Ron Eick
 

Was ist angesagt? (19)

Engr 213 midterm 1a sol 2009
Engr 213 midterm 1a sol 2009Engr 213 midterm 1a sol 2009
Engr 213 midterm 1a sol 2009
 
Desktop
DesktopDesktop
Desktop
 
application of partial differentiation
application of partial differentiationapplication of partial differentiation
application of partial differentiation
 
Lesson 1 Nov 12 09
Lesson 1 Nov 12 09Lesson 1 Nov 12 09
Lesson 1 Nov 12 09
 
F.Komposisi
F.KomposisiF.Komposisi
F.Komposisi
 
Lecture 8 derivative rules
Lecture 8   derivative rulesLecture 8   derivative rules
Lecture 8 derivative rules
 
AM11 Trigonometry
AM11 TrigonometryAM11 Trigonometry
AM11 Trigonometry
 
Fuzzy sets
Fuzzy setsFuzzy sets
Fuzzy sets
 
Functions (Theory)
Functions (Theory)Functions (Theory)
Functions (Theory)
 
phuong trinh vi phan d geometry part 2
phuong trinh vi phan d geometry part 2phuong trinh vi phan d geometry part 2
phuong trinh vi phan d geometry part 2
 
Notes on exact and approximate bayesian implementation
Notes on exact and approximate bayesian implementationNotes on exact and approximate bayesian implementation
Notes on exact and approximate bayesian implementation
 
Applied numerical methods lec11
Applied numerical methods lec11Applied numerical methods lec11
Applied numerical methods lec11
 
Limit and continuity (2)
Limit and continuity (2)Limit and continuity (2)
Limit and continuity (2)
 
Chapter 3 ds
Chapter 3 dsChapter 3 ds
Chapter 3 ds
 
functions limits and continuity
functions limits and continuityfunctions limits and continuity
functions limits and continuity
 
Limits, Continuity & Differentiation (Theory)
Limits, Continuity & Differentiation (Theory)Limits, Continuity & Differentiation (Theory)
Limits, Continuity & Differentiation (Theory)
 
Review 1 -_limits-_continuity_(pcalc+_to_ap_calc)
Review 1 -_limits-_continuity_(pcalc+_to_ap_calc)Review 1 -_limits-_continuity_(pcalc+_to_ap_calc)
Review 1 -_limits-_continuity_(pcalc+_to_ap_calc)
 
Stochastic Assignment Help
Stochastic Assignment Help Stochastic Assignment Help
Stochastic Assignment Help
 
Limit and continuity (2)
Limit and continuity (2)Limit and continuity (2)
Limit and continuity (2)
 

Ähnlich wie Derivation of Least Square solution for Semi supervised learning problem

Stochastic Calculus, Summer 2014, July 22,Lecture 7Con.docx
Stochastic Calculus, Summer 2014, July 22,Lecture 7Con.docxStochastic Calculus, Summer 2014, July 22,Lecture 7Con.docx
Stochastic Calculus, Summer 2014, July 22,Lecture 7Con.docx
dessiechisomjj4
 
Week 4 [compatibility mode]
Week 4 [compatibility mode]Week 4 [compatibility mode]
Week 4 [compatibility mode]
Hazrul156
 
Laplace transform
Laplace transformLaplace transform
Laplace transform
joni joy
 
584 fundamental theorem of calculus
584 fundamental theorem of calculus584 fundamental theorem of calculus
584 fundamental theorem of calculus
goldenratio618
 
Introduction to inverse problems
Introduction to inverse problemsIntroduction to inverse problems
Introduction to inverse problems
Delta Pi Systems
 

Ähnlich wie Derivation of Least Square solution for Semi supervised learning problem (20)

Stochastic Calculus, Summer 2014, July 22,Lecture 7Con.docx
Stochastic Calculus, Summer 2014, July 22,Lecture 7Con.docxStochastic Calculus, Summer 2014, July 22,Lecture 7Con.docx
Stochastic Calculus, Summer 2014, July 22,Lecture 7Con.docx
 
On Twisted Paraproducts and some other Multilinear Singular Integrals
On Twisted Paraproducts and some other Multilinear Singular IntegralsOn Twisted Paraproducts and some other Multilinear Singular Integrals
On Twisted Paraproducts and some other Multilinear Singular Integrals
 
Ma2002 1.19 rm
Ma2002 1.19 rmMa2002 1.19 rm
Ma2002 1.19 rm
 
smtlecture.7
smtlecture.7smtlecture.7
smtlecture.7
 
A Solution Manual And Notes For Kalman Filtering Theory And Practice Using ...
A Solution Manual And Notes For  Kalman Filtering  Theory And Practice Using ...A Solution Manual And Notes For  Kalman Filtering  Theory And Practice Using ...
A Solution Manual And Notes For Kalman Filtering Theory And Practice Using ...
 
Laplace
LaplaceLaplace
Laplace
 
optimal control principle slided
optimal control principle slidedoptimal control principle slided
optimal control principle slided
 
1_AJMS_229_19[Review].pdf
1_AJMS_229_19[Review].pdf1_AJMS_229_19[Review].pdf
1_AJMS_229_19[Review].pdf
 
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...On Frechet Derivatives with Application to the Inverse Function Theorem of Or...
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...
 
lec04.pdf
lec04.pdflec04.pdf
lec04.pdf
 
Week 4 [compatibility mode]
Week 4 [compatibility mode]Week 4 [compatibility mode]
Week 4 [compatibility mode]
 
Free Ebooks Download
Free Ebooks Download Free Ebooks Download
Free Ebooks Download
 
Laplace transform
Laplace transformLaplace transform
Laplace transform
 
584 fundamental theorem of calculus
584 fundamental theorem of calculus584 fundamental theorem of calculus
584 fundamental theorem of calculus
 
2301Antiderivatives_and_Indefinite_Integrals.ppt
2301Antiderivatives_and_Indefinite_Integrals.ppt2301Antiderivatives_and_Indefinite_Integrals.ppt
2301Antiderivatives_and_Indefinite_Integrals.ppt
 
The dual geometry of Shannon information
The dual geometry of Shannon informationThe dual geometry of Shannon information
The dual geometry of Shannon information
 
Inverse laplace
Inverse laplaceInverse laplace
Inverse laplace
 
Introduction to inverse problems
Introduction to inverse problemsIntroduction to inverse problems
Introduction to inverse problems
 
Integrating_Factors
Integrating_FactorsIntegrating_Factors
Integrating_Factors
 
01_AJMS_185_19_RA.pdf
01_AJMS_185_19_RA.pdf01_AJMS_185_19_RA.pdf
01_AJMS_185_19_RA.pdf
 

Mehr von Ahmed Taha

Lecicio Strategic Audit
Lecicio Strategic AuditLecicio Strategic Audit
Lecicio Strategic Audit
Ahmed Taha
 
Consumer Preception
Consumer PreceptionConsumer Preception
Consumer Preception
Ahmed Taha
 
Financial prioritization
Financial prioritizationFinancial prioritization
Financial prioritization
Ahmed Taha
 
Marketing basics
Marketing basicsMarketing basics
Marketing basics
Ahmed Taha
 

Mehr von Ahmed Taha (15)

Treasure Hunt
Treasure HuntTreasure Hunt
Treasure Hunt
 
Business Model Patterns and Examples Part I
Business Model Patterns and Examples Part IBusiness Model Patterns and Examples Part I
Business Model Patterns and Examples Part I
 
Leadership styles
Leadership stylesLeadership styles
Leadership styles
 
Rgb(d) Scene Labeling- features and algorithms
Rgb(d) Scene Labeling- features and algorithmsRgb(d) Scene Labeling- features and algorithms
Rgb(d) Scene Labeling- features and algorithms
 
Maximize your Brainpower
Maximize your BrainpowerMaximize your Brainpower
Maximize your Brainpower
 
Semi supervised learning
Semi supervised learningSemi supervised learning
Semi supervised learning
 
Lecicio Strategic Audit
Lecicio Strategic AuditLecicio Strategic Audit
Lecicio Strategic Audit
 
Inar (First Egyptian Tablet) Market Research
Inar (First Egyptian Tablet) Market ResearchInar (First Egyptian Tablet) Market Research
Inar (First Egyptian Tablet) Market Research
 
Bibliotheca Alexandrina vs. Library of Congress
Bibliotheca Alexandrina vs. Library of CongressBibliotheca Alexandrina vs. Library of Congress
Bibliotheca Alexandrina vs. Library of Congress
 
Mind map
Mind mapMind map
Mind map
 
Nabisco Supply Chain Evolution
Nabisco Supply Chain EvolutionNabisco Supply Chain Evolution
Nabisco Supply Chain Evolution
 
Consumer Preception
Consumer PreceptionConsumer Preception
Consumer Preception
 
Financial prioritization
Financial prioritizationFinancial prioritization
Financial prioritization
 
E Voting
E VotingE Voting
E Voting
 
Marketing basics
Marketing basicsMarketing basics
Marketing basics
 

Kürzlich hochgeladen

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
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
 

Kürzlich hochgeladen (20)

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
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
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
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
 
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
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
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
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
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
 
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...
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 

Derivation of Least Square solution for Semi supervised learning problem

  • 1. Least Square solution for Semi supervised learning Ahmed Taha Starting from the objective Function for the supervised learning problem min FtLF = 1=2 X i;j Wij (fi fj) Now we want to extend the same equation for the Semi supervised learning problem So the minimization problem is now J(F) = FtLF + X i (fi yi) Where is the weight of the Labeled Data y1; y2::::yi J(F) = FtLF + (F Y )T (F Y ) (1) = FtLF + FT (F Y ) Y T (F Y ) = FtLF + FT F FT Y Y T F + Y T Y to minimise , we dierentiate and equate by zero d J(F) dF = d(FtLF) dF + d(FtF) dF d(FtY ) dF d(Y tF) dF + d(Y tY ) dF (2) Based on matrix dierentiation rules 1, it can be shown that d(XtAX) dX = (A + At)X therefore dJ(F) dF = 0 = (L + Lt) F + ( + t)F d(FtY ) dF d(Y tF) dF Based on matrix dierentiation rules, it can be shown that d(XtA) dX = A and d (AtX) dX = A (3) 1Matrix Dierentiation Rules : https://www.cs.nyu.edu/ roweis/notes/matrixid.pdf 1
  • 2. Since is diagonal matrix and L is symmetric matrix = t;L = Lt dJ(F) dF = 0 = 2LF + 2F Y Y t t = 2LF + 2F Y Y = 2(L + )F 2Y (L + )F = Y F = (L + )1Y This solution is called Least Square solution, it provide exact solution for classi
  • 3. ca- tion and object embedding problems, unfortunately this solution is very costly especially when the number of objects is very big, Imagine you have 80 million Object, you will have 80 x 80 million matrix , trying to calculate their inverse and calculate anity matrix for these 80 million objects. 2