SlideShare a Scribd company logo
1 of 8
Download to read offline
Hassan Badawy
Ai
Simplification
Series
5- Errors Functions
Hassan Badawy
Y
X
100
200
300
400
500
k
50
100
50
150
200
50
300
250
𝑚2
100
150
200
150
250
200
Solution Model2 Linear Regression
Area Price
(k)
100 200
150 400
200 450
250 550
300 450
x y ො𝑦
ො𝑦
e2
e1
e3
e4
e5
𝐞 = ෝ𝒚 - y
𝑒1+𝑒2+𝑒3+𝑒4+𝑒5
5
y = m x + b
y = w0 + w1 x ---> (1)
Error
Parametric solution
ො𝑦
y
Hassan Badawy
Linear RegressionSolution Model2 Error Functions
Standard Error
𝒆𝒊 = ො𝑦𝒊 − 𝒚𝒊
𝐸 = 𝑒1 + 𝑒2 + 𝑒3
𝑬 = σ𝒊 𝒆𝒊 = σ𝒊=𝟏
𝒏
(ො𝑦𝒊 − 𝒚𝒊)
Y
300
𝑚2
250
X
100
200
300
400
500
k
50
100
150
200
+50
-100
+75
𝐸 = +50 − 100 + 75 = 25
Hassan Badawy
Linear RegressionSolution Model2 Error Functions
Mean Absolut Error MAE
MA𝐸 =
𝑒1 + 𝑒2 + 𝑒3
3
𝑴𝑨𝑬 =
𝟏
𝒏
σ𝒊=𝟏
𝒏
𝒆𝒊 =
𝟏
𝒏
σ𝒊=𝟏
𝒏
ෝ𝒚 − 𝒚
MA𝐸 =
+50 + −100 + +75
3
MA𝐸 =
50+100+75
3
= 75
Y
300
𝑚2
250
X
100
200
300
400
500
k
50
100
150
200
+50
-100
+75
Hassan Badawy
𝑀𝑆𝐸 =
(𝑒1)2+(𝑒2)2+(𝑒3)2
3
𝑴𝑺𝑬 =
𝟏
𝟐𝒏
σ𝒊=𝟏
𝒏
𝒆𝒊
𝟐
=
𝟏
𝒏
σ𝒊=𝟏
𝒏
(ො𝑦𝒊 − 𝒚𝒊) 𝟐
Linear RegressionSolution Model2 Error Functions
Mean Square Error MSE
Y
300
𝑚2
250
X
100
200
300
400
500
k
50
100
150
200
+50
-100
+75
𝑀𝑆𝐸 =
(+50)2+(−100)2+(+75)2
3
𝑀𝑆𝐸 =
2500+10000+5625
3
= 6041.67
W𝑀𝑆𝐸 =
𝑀𝑆𝐸
𝑤
=
𝑀𝑆𝐸
2
= 320.83
Hassan Badawy
Linear RegressionSolution Model2 Error Functions
Root Mean Square Error RMSE
𝑅𝑀𝑆𝐸 =
(𝑒1)2+(𝑒2)2+(𝑒3)2
3
R𝑴𝑺𝑬 =
𝟏
𝒏
σ𝒊=𝟏
𝒏
𝒆𝒊
𝟐 =
𝟏
𝒏
σ𝒊=𝟏
𝒏
(ො𝑦𝒊 − 𝒚𝒊) 𝟐
Y
300
𝑚2
250
X
100
200
300
400
500
k
50
100
150
200
+50
-100
+75
𝑅𝑀𝑆𝐸 = 𝑀𝑆𝐸 = 6041.67 = 77.73
Hassan Badawy
SE MAE MSE WMSE RMSE
25 75 6041 3020 78
෍
𝒊
𝒆𝒊
𝟏
𝒏
෍
𝒊=𝟏
𝒏
𝒆𝒊
𝟏
𝟐𝒏
෍
𝒊=𝟏
𝒏
𝒆𝒊
𝟐
𝟏
𝒏
෍
𝒊=𝟏
𝒏
𝒆𝒊
𝟐 𝟏
𝒏
෍
𝒊=𝟏
𝒏
𝒆𝒊
𝟐
Linear RegressionSolution Model2 Error Functions
Hassan Badawy
Ai
Simplification
Series

More Related Content

What's hot

Determine bending moment and share force diagram of beam
Determine bending moment and share force diagram of beamDetermine bending moment and share force diagram of beam
Determine bending moment and share force diagram of beamTurja Deb
 
Solving trig equations + double angle formulae
Solving trig equations  + double angle formulaeSolving trig equations  + double angle formulae
Solving trig equations + double angle formulaeShaun Wilson
 
Solving trig equations higher
Solving trig equations higherSolving trig equations higher
Solving trig equations higherShaun Wilson
 
Numerical exercise on OP-AMP
Numerical exercise on OP-AMPNumerical exercise on OP-AMP
Numerical exercise on OP-AMPVARUN KUMAR
 
Tugas kalkulus
Tugas kalkulusTugas kalkulus
Tugas kalkulusFajar Corp
 
Application of Cramer rule in daily life best example
Application of Cramer rule in daily life best exampleApplication of Cramer rule in daily life best example
Application of Cramer rule in daily life best exampleRai Amad Ud Din
 
Annals of Statistics読み回 第一回
Annals of Statistics読み回 第一回Annals of Statistics読み回 第一回
Annals of Statistics読み回 第一回jkomiyama
 
Straight line-equation.
Straight line-equation.Straight line-equation.
Straight line-equation.SajidPervez2
 
Introduction to straight line graphs lesson
 Introduction to straight line graphs lesson Introduction to straight line graphs lesson
Introduction to straight line graphs lessonSajidPervez2
 
Residue integration 01
Residue integration 01Residue integration 01
Residue integration 01HanpenRobot
 
Examen resuelto de vectores en R3
Examen resuelto de vectores en R3Examen resuelto de vectores en R3
Examen resuelto de vectores en R3Alison Erazo
 
Linear regression using least squares
Linear regression using least squaresLinear regression using least squares
Linear regression using least squaresWaleed Zaghal
 
Inequations and finding rule
Inequations and finding ruleInequations and finding rule
Inequations and finding ruleamcsquared
 

What's hot (20)

metodo-dual
metodo-dualmetodo-dual
metodo-dual
 
Determine bending moment and share force diagram of beam
Determine bending moment and share force diagram of beamDetermine bending moment and share force diagram of beam
Determine bending moment and share force diagram of beam
 
Solving trig equations + double angle formulae
Solving trig equations  + double angle formulaeSolving trig equations  + double angle formulae
Solving trig equations + double angle formulae
 
Solving trig equations higher
Solving trig equations higherSolving trig equations higher
Solving trig equations higher
 
Numerical exercise on OP-AMP
Numerical exercise on OP-AMPNumerical exercise on OP-AMP
Numerical exercise on OP-AMP
 
Tugas kalkulus
Tugas kalkulusTugas kalkulus
Tugas kalkulus
 
Budynas sm ch01
Budynas sm ch01Budynas sm ch01
Budynas sm ch01
 
Application of Cramer rule in daily life best example
Application of Cramer rule in daily life best exampleApplication of Cramer rule in daily life best example
Application of Cramer rule in daily life best example
 
Annals of Statistics読み回 第一回
Annals of Statistics読み回 第一回Annals of Statistics読み回 第一回
Annals of Statistics読み回 第一回
 
Straight line-equation.
Straight line-equation.Straight line-equation.
Straight line-equation.
 
Introduction to straight line graphs lesson
 Introduction to straight line graphs lesson Introduction to straight line graphs lesson
Introduction to straight line graphs lesson
 
Mnistauto 3
Mnistauto 3Mnistauto 3
Mnistauto 3
 
Residue integration 01
Residue integration 01Residue integration 01
Residue integration 01
 
Examen resuelto de vectores en R3
Examen resuelto de vectores en R3Examen resuelto de vectores en R3
Examen resuelto de vectores en R3
 
MATLAB ARRAYS
MATLAB ARRAYSMATLAB ARRAYS
MATLAB ARRAYS
 
INTERPOLATION
INTERPOLATIONINTERPOLATION
INTERPOLATION
 
Linear regression using least squares
Linear regression using least squaresLinear regression using least squares
Linear regression using least squares
 
133467 p3a3
133467 p3a3133467 p3a3
133467 p3a3
 
BOMDAS-SADMOB
BOMDAS-SADMOBBOMDAS-SADMOB
BOMDAS-SADMOB
 
Inequations and finding rule
Inequations and finding ruleInequations and finding rule
Inequations and finding rule
 

Similar to 5- Error Functions | Machine Learning Course

Current technology project
Current technology projectCurrent technology project
Current technology projectcarlygirl2312
 
Current technology project
Current technology projectCurrent technology project
Current technology projectcarlygirl2312
 
Management Science
Management ScienceManagement Science
Management Sciencelisa1090
 
Applied numerical methods lec10
Applied numerical methods lec10Applied numerical methods lec10
Applied numerical methods lec10Yasser Ahmed
 
William hyatt-7th-edition-drill-problems-solution
William hyatt-7th-edition-drill-problems-solutionWilliam hyatt-7th-edition-drill-problems-solution
William hyatt-7th-edition-drill-problems-solutionSalman Salman
 
College algebra in context 5th edition harshbarger solutions manual
College algebra in context 5th edition harshbarger solutions manualCollege algebra in context 5th edition harshbarger solutions manual
College algebra in context 5th edition harshbarger solutions manualAnnuzzi19
 
College algebra real mathematics real people 7th edition larson solutions manual
College algebra real mathematics real people 7th edition larson solutions manualCollege algebra real mathematics real people 7th edition larson solutions manual
College algebra real mathematics real people 7th edition larson solutions manualJohnstonTBL
 
Howard, anton calculo i- um novo horizonte - exercicio resolvidos v1
Howard, anton   calculo i- um novo horizonte - exercicio resolvidos v1Howard, anton   calculo i- um novo horizonte - exercicio resolvidos v1
Howard, anton calculo i- um novo horizonte - exercicio resolvidos v1cideni
 
Exponent & Logarithm
Exponent &  LogarithmExponent &  Logarithm
Exponent & Logarithmguest0ffcb4
 
Section 4.5 graphing linear equations
Section 4.5 graphing linear equationsSection 4.5 graphing linear equations
Section 4.5 graphing linear equationsAlgebra / Mathematics
 
Coefficient of variation
Coefficient of variationCoefficient of variation
Coefficient of variationNadeem Uddin
 
Equation and inequalities
Equation and inequalitiesEquation and inequalities
Equation and inequalitiesRione Drevale
 
Linear Programming_rereeLecture 2 (1).ppt
Linear Programming_rereeLecture 2 (1).pptLinear Programming_rereeLecture 2 (1).ppt
Linear Programming_rereeLecture 2 (1).pptRahulPandey785327
 
06 ch ken black solution
06 ch ken black solution06 ch ken black solution
06 ch ken black solutionKrunal Shah
 

Similar to 5- Error Functions | Machine Learning Course (20)

Current technology project
Current technology projectCurrent technology project
Current technology project
 
Current technology project
Current technology projectCurrent technology project
Current technology project
 
Simplex Method.pptx
Simplex Method.pptxSimplex Method.pptx
Simplex Method.pptx
 
Management Science
Management ScienceManagement Science
Management Science
 
Applied numerical methods lec10
Applied numerical methods lec10Applied numerical methods lec10
Applied numerical methods lec10
 
William hyatt-7th-edition-drill-problems-solution
William hyatt-7th-edition-drill-problems-solutionWilliam hyatt-7th-edition-drill-problems-solution
William hyatt-7th-edition-drill-problems-solution
 
Hat04 0205
Hat04 0205Hat04 0205
Hat04 0205
 
College algebra in context 5th edition harshbarger solutions manual
College algebra in context 5th edition harshbarger solutions manualCollege algebra in context 5th edition harshbarger solutions manual
College algebra in context 5th edition harshbarger solutions manual
 
College algebra real mathematics real people 7th edition larson solutions manual
College algebra real mathematics real people 7th edition larson solutions manualCollege algebra real mathematics real people 7th edition larson solutions manual
College algebra real mathematics real people 7th edition larson solutions manual
 
Howard, anton calculo i- um novo horizonte - exercicio resolvidos v1
Howard, anton   calculo i- um novo horizonte - exercicio resolvidos v1Howard, anton   calculo i- um novo horizonte - exercicio resolvidos v1
Howard, anton calculo i- um novo horizonte - exercicio resolvidos v1
 
Exponent & Logarithm
Exponent &  LogarithmExponent &  Logarithm
Exponent & Logarithm
 
Section 4.5 graphing linear equations
Section 4.5 graphing linear equationsSection 4.5 graphing linear equations
Section 4.5 graphing linear equations
 
Coefficient of variation
Coefficient of variationCoefficient of variation
Coefficient of variation
 
ScalaMeter 2014
ScalaMeter 2014ScalaMeter 2014
ScalaMeter 2014
 
Equation and inequalities
Equation and inequalitiesEquation and inequalities
Equation and inequalities
 
Linear Programming_rereeLecture 2 (1).ppt
Linear Programming_rereeLecture 2 (1).pptLinear Programming_rereeLecture 2 (1).ppt
Linear Programming_rereeLecture 2 (1).ppt
 
ScalaMeter 2012
ScalaMeter 2012ScalaMeter 2012
ScalaMeter 2012
 
system linear equations
 system linear equations  system linear equations
system linear equations
 
06 ch ken black solution
06 ch ken black solution06 ch ken black solution
06 ch ken black solution
 
Chap07
Chap07Chap07
Chap07
 

Recently uploaded

MATERI MANAJEMEN OF PENYAKIT TETANUS.ppt
MATERI  MANAJEMEN OF PENYAKIT TETANUS.pptMATERI  MANAJEMEN OF PENYAKIT TETANUS.ppt
MATERI MANAJEMEN OF PENYAKIT TETANUS.pptRachmaGhifari
 
原件一样伦敦国王学院毕业证成绩单留信学历认证
原件一样伦敦国王学院毕业证成绩单留信学历认证原件一样伦敦国王学院毕业证成绩单留信学历认证
原件一样伦敦国王学院毕业证成绩单留信学历认证pwgnohujw
 
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证acoha1
 
NOAM AAUG Adobe Summit 2024: Summit Slam Dunks
NOAM AAUG Adobe Summit 2024: Summit Slam DunksNOAM AAUG Adobe Summit 2024: Summit Slam Dunks
NOAM AAUG Adobe Summit 2024: Summit Slam Dunksgmuir1066
 
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样jk0tkvfv
 
SCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarj
SCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarjSCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarj
SCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarjadimosmejiaslendon
 
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...Amil baba
 
edited gordis ebook sixth edition david d.pdf
edited gordis ebook sixth edition david d.pdfedited gordis ebook sixth edition david d.pdf
edited gordis ebook sixth edition david d.pdfgreat91
 
What is Insertion Sort. Its basic information
What is Insertion Sort. Its basic informationWhat is Insertion Sort. Its basic information
What is Insertion Sort. Its basic informationmuqadasqasim10
 
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证ppy8zfkfm
 
obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...
obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...
obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...yulianti213969
 
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...ThinkInnovation
 
Formulas dax para power bI de microsoft.pdf
Formulas dax para power bI de microsoft.pdfFormulas dax para power bI de microsoft.pdf
Formulas dax para power bI de microsoft.pdfRobertoOcampo24
 
Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...
Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...
Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...ssuserf63bd7
 
obat aborsi Bontang wa 082135199655 jual obat aborsi cytotec asli di Bontang
obat aborsi Bontang wa 082135199655 jual obat aborsi cytotec asli di  Bontangobat aborsi Bontang wa 082135199655 jual obat aborsi cytotec asli di  Bontang
obat aborsi Bontang wa 082135199655 jual obat aborsi cytotec asli di Bontangsiskavia95
 
sourabh vyas1222222222222222222244444444
sourabh vyas1222222222222222222244444444sourabh vyas1222222222222222222244444444
sourabh vyas1222222222222222222244444444saurabvyas476
 
社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token Prediction社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token PredictionNABLAS株式会社
 
Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...
Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...
Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...Klinik Aborsi
 
The Significance of Transliteration Enhancing
The Significance of Transliteration EnhancingThe Significance of Transliteration Enhancing
The Significance of Transliteration Enhancingmohamed Elzalabany
 
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证zifhagzkk
 

Recently uploaded (20)

MATERI MANAJEMEN OF PENYAKIT TETANUS.ppt
MATERI  MANAJEMEN OF PENYAKIT TETANUS.pptMATERI  MANAJEMEN OF PENYAKIT TETANUS.ppt
MATERI MANAJEMEN OF PENYAKIT TETANUS.ppt
 
原件一样伦敦国王学院毕业证成绩单留信学历认证
原件一样伦敦国王学院毕业证成绩单留信学历认证原件一样伦敦国王学院毕业证成绩单留信学历认证
原件一样伦敦国王学院毕业证成绩单留信学历认证
 
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
 
NOAM AAUG Adobe Summit 2024: Summit Slam Dunks
NOAM AAUG Adobe Summit 2024: Summit Slam DunksNOAM AAUG Adobe Summit 2024: Summit Slam Dunks
NOAM AAUG Adobe Summit 2024: Summit Slam Dunks
 
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样
如何办理(UCLA毕业证书)加州大学洛杉矶分校毕业证成绩单学位证留信学历认证原件一样
 
SCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarj
SCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarjSCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarj
SCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarj
 
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
 
edited gordis ebook sixth edition david d.pdf
edited gordis ebook sixth edition david d.pdfedited gordis ebook sixth edition david d.pdf
edited gordis ebook sixth edition david d.pdf
 
What is Insertion Sort. Its basic information
What is Insertion Sort. Its basic informationWhat is Insertion Sort. Its basic information
What is Insertion Sort. Its basic information
 
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
1:1原版定制利物浦大学毕业证(Liverpool毕业证)成绩单学位证书留信学历认证
 
obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...
obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...
obat aborsi Bontang wa 081336238223 jual obat aborsi cytotec asli di Bontang6...
 
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
 
Formulas dax para power bI de microsoft.pdf
Formulas dax para power bI de microsoft.pdfFormulas dax para power bI de microsoft.pdf
Formulas dax para power bI de microsoft.pdf
 
Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...
Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...
Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...
 
obat aborsi Bontang wa 082135199655 jual obat aborsi cytotec asli di Bontang
obat aborsi Bontang wa 082135199655 jual obat aborsi cytotec asli di  Bontangobat aborsi Bontang wa 082135199655 jual obat aborsi cytotec asli di  Bontang
obat aborsi Bontang wa 082135199655 jual obat aborsi cytotec asli di Bontang
 
sourabh vyas1222222222222222222244444444
sourabh vyas1222222222222222222244444444sourabh vyas1222222222222222222244444444
sourabh vyas1222222222222222222244444444
 
社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token Prediction社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token Prediction
 
Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...
Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...
Jual Obat Aborsi Bandung (Asli No.1) Wa 082134680322 Klinik Obat Penggugur Ka...
 
The Significance of Transliteration Enhancing
The Significance of Transliteration EnhancingThe Significance of Transliteration Enhancing
The Significance of Transliteration Enhancing
 
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
 

5- Error Functions | Machine Learning Course

  • 2. Hassan Badawy Y X 100 200 300 400 500 k 50 100 50 150 200 50 300 250 𝑚2 100 150 200 150 250 200 Solution Model2 Linear Regression Area Price (k) 100 200 150 400 200 450 250 550 300 450 x y ො𝑦 ො𝑦 e2 e1 e3 e4 e5 𝐞 = ෝ𝒚 - y 𝑒1+𝑒2+𝑒3+𝑒4+𝑒5 5 y = m x + b y = w0 + w1 x ---> (1) Error Parametric solution ො𝑦 y
  • 3. Hassan Badawy Linear RegressionSolution Model2 Error Functions Standard Error 𝒆𝒊 = ො𝑦𝒊 − 𝒚𝒊 𝐸 = 𝑒1 + 𝑒2 + 𝑒3 𝑬 = σ𝒊 𝒆𝒊 = σ𝒊=𝟏 𝒏 (ො𝑦𝒊 − 𝒚𝒊) Y 300 𝑚2 250 X 100 200 300 400 500 k 50 100 150 200 +50 -100 +75 𝐸 = +50 − 100 + 75 = 25
  • 4. Hassan Badawy Linear RegressionSolution Model2 Error Functions Mean Absolut Error MAE MA𝐸 = 𝑒1 + 𝑒2 + 𝑒3 3 𝑴𝑨𝑬 = 𝟏 𝒏 σ𝒊=𝟏 𝒏 𝒆𝒊 = 𝟏 𝒏 σ𝒊=𝟏 𝒏 ෝ𝒚 − 𝒚 MA𝐸 = +50 + −100 + +75 3 MA𝐸 = 50+100+75 3 = 75 Y 300 𝑚2 250 X 100 200 300 400 500 k 50 100 150 200 +50 -100 +75
  • 5. Hassan Badawy 𝑀𝑆𝐸 = (𝑒1)2+(𝑒2)2+(𝑒3)2 3 𝑴𝑺𝑬 = 𝟏 𝟐𝒏 σ𝒊=𝟏 𝒏 𝒆𝒊 𝟐 = 𝟏 𝒏 σ𝒊=𝟏 𝒏 (ො𝑦𝒊 − 𝒚𝒊) 𝟐 Linear RegressionSolution Model2 Error Functions Mean Square Error MSE Y 300 𝑚2 250 X 100 200 300 400 500 k 50 100 150 200 +50 -100 +75 𝑀𝑆𝐸 = (+50)2+(−100)2+(+75)2 3 𝑀𝑆𝐸 = 2500+10000+5625 3 = 6041.67 W𝑀𝑆𝐸 = 𝑀𝑆𝐸 𝑤 = 𝑀𝑆𝐸 2 = 320.83
  • 6. Hassan Badawy Linear RegressionSolution Model2 Error Functions Root Mean Square Error RMSE 𝑅𝑀𝑆𝐸 = (𝑒1)2+(𝑒2)2+(𝑒3)2 3 R𝑴𝑺𝑬 = 𝟏 𝒏 σ𝒊=𝟏 𝒏 𝒆𝒊 𝟐 = 𝟏 𝒏 σ𝒊=𝟏 𝒏 (ො𝑦𝒊 − 𝒚𝒊) 𝟐 Y 300 𝑚2 250 X 100 200 300 400 500 k 50 100 150 200 +50 -100 +75 𝑅𝑀𝑆𝐸 = 𝑀𝑆𝐸 = 6041.67 = 77.73
  • 7. Hassan Badawy SE MAE MSE WMSE RMSE 25 75 6041 3020 78 ෍ 𝒊 𝒆𝒊 𝟏 𝒏 ෍ 𝒊=𝟏 𝒏 𝒆𝒊 𝟏 𝟐𝒏 ෍ 𝒊=𝟏 𝒏 𝒆𝒊 𝟐 𝟏 𝒏 ෍ 𝒊=𝟏 𝒏 𝒆𝒊 𝟐 𝟏 𝒏 ෍ 𝒊=𝟏 𝒏 𝒆𝒊 𝟐 Linear RegressionSolution Model2 Error Functions