SlideShare une entreprise Scribd logo
1  sur  15
Gradient method application
   on Griewank Function




                                Talk by
                        Imane HAFNAOUI




      University of M’Hamed Bouguara - IGEE
OUTLINES


•   Introduction
•   Griewank Function
•   Gradient (steepest descent) Method
•   Simulation and Results
•   Improvements
•   Conclusion
INTRODUCTION
     Optimization includes finding "best available"
values of some objective function given a
defined domain.

    Optimization problems can be found everywhere:
•   Increase market profit
•   Operation search (decision science)
•   Minimize loss in power grids

    Optimization methods and algorithms have been
developed to solve these problems.
•   Particle Swarm Optimization Algorithm (PSO)
    presentented by Fran Van Den Bergh in his work.
•   Self Adaptive Differential Evaluation (SeDA)
    introduced by Qin et al. In their publication.
•   Etc etc
GRIEWANK FUNCTION
    Test Functions: they are special functions
known in literature to be used as testbenches.
They come in different classes and set for specific
purposes.
    One of the well-known functions is the
Griewank function.
GRIEWANK FUNCTION
Griewank function depending on two variables.
GRADIENT METHOD
Steepest descent iteratively performs line searches
in the local downhill gradient direction.

Steps:
   1. Evaluate the gradient vector
   2. Compute the search direction
   3. Construct the next point
   4. Perform the termination test for minimization


   5. Repeat the process
SIMULATION AND RESULTS
         Results with starting point x0 = (1, 1)
K              xk                      Xk+1                                Norm (sk)
0       1              1      0.1677          0.6767   -0.6402   -0.2487    0.6868
1    0.1677         0.6767   -0.0250          0.2589   0.1483     0.3214    0.3539
2    -0.0250        0.2589    0.0070          0.0915   -0.0246    0.1288    0.1312
3    0.0070         0.0915   -0.0021          0.0320   0.0070     0.0457    0.0463
4    -0.0021        0.0320    0.0006          0.0112   -0.0021    0.0160    0.0161
5    0.0006         0.0112   -0.0002          0.0039   0.0006     0.0056    0.0056
6    -0.0002        0.0039    0.0001          0.0014   -0.0002    0.0020    0.0020
7    0.0001         0.0014   -0.0000          0.0005   0.0001     0.0007    0.0007




The changes in the function
after each iteration.
 Only 4 iterations to
   reach a solution.
SIMULATION AND RESULTS
       Results with differing starting points

             X(0)                      X(k)            k
         3           -15      3.1400       -13.3159   7
        45            23     47.1003        22.1928   8
      -120           245   -122.4599       244.1132   9
      -300          -400   -301.4350      -399.4496   7
       567           234    568.3355       235.2251   12
IMPROVEMENTS
   We need to ensure that the algorithm always
converges to the global optimum regardless of
the starting point.
The idea is to keep the algorithm running and
searching for the smallest of the local minima
(global minimum) even if it reaches a local
minimum.
To achieve this, the gradient method is once
again applied, but this time to the “governing”
function in the Griewank function.
IMPROVEMENTS
RESULTS
 Results with differing starting points and
differing step size
RESULTS
        Table representing the results and the jumps
       over the local minima to reach the global
       optimum.


      X0                          X1                      X2                    X3                  X4
 7         25    0.25    6.280         26.630   3.1400     13.3153    3.1400         4.4385   0.00e-4   0.41e-4
-80    -120      0.35   -78.500    -155.345 -25.120        -44.384     -6.280    -17.753      0.00e-4   0.41e-4
-100       120   0.45   -97.340    119.837      -12.560        8.8769 -3.1400        4.4384   0.19e-6 0.57e-4
534    -120      0.50   530.659 -119.833        6.2800     -0.0001    -0.0e-4 0.48e-4
RESULTS
     Contour to the Griewank function demonstrating the jumps
that the algorithm performs each time it reaches a local
minimum. Starting point x0 = (120, -120), step size
CONCLUSION
•   The Gradient method is good to detect the
local minimum closest to the starting point.

•   Additions to the steepest method have
proven successful in locating the global
minimum of the Griewank function regardless
of how far the starting point is selected.

•   These extensions cannot be assured to
have the same results if applied to other test
functions, nor if the number of variables is
increased.
THANK YOU

Contenu connexe

Tendances

Metodos numerico en hidraulica
Metodos numerico en hidraulicaMetodos numerico en hidraulica
Metodos numerico en hidraulica
maximo pari liazna
 
Levantamiento de un lote por medio de poligonales
Levantamiento de un lote por medio de poligonalesLevantamiento de un lote por medio de poligonales
Levantamiento de un lote por medio de poligonales
Urpy Quiroz
 
Chap.6 traverse surveys
Chap.6 traverse surveysChap.6 traverse surveys
Chap.6 traverse surveys
student
 

Tendances (20)

Curso completo de topografia sencico
Curso completo de topografia   sencicoCurso completo de topografia   sencico
Curso completo de topografia sencico
 
Topografia
TopografiaTopografia
Topografia
 
2.8 normal forms gnf & problems
2.8 normal forms   gnf & problems2.8 normal forms   gnf & problems
2.8 normal forms gnf & problems
 
Capitulo 5
Capitulo 5Capitulo 5
Capitulo 5
 
Metodos numerico en hidraulica
Metodos numerico en hidraulicaMetodos numerico en hidraulica
Metodos numerico en hidraulica
 
Lecture 03 theory of errors in observations
Lecture 03 theory of errors in observationsLecture 03 theory of errors in observations
Lecture 03 theory of errors in observations
 
Cap 5topo
Cap 5topoCap 5topo
Cap 5topo
 
Levantamiento de un lote por medio de poligonales
Levantamiento de un lote por medio de poligonalesLevantamiento de un lote por medio de poligonales
Levantamiento de un lote por medio de poligonales
 
Topological Sort
Topological SortTopological Sort
Topological Sort
 
Volume and Area Calculation
Volume and Area Calculation Volume and Area Calculation
Volume and Area Calculation
 
Nivelación
NivelaciónNivelación
Nivelación
 
Dibujo-de-Perfil-Longitudinal-y-Secciones-Transversales.pdf
Dibujo-de-Perfil-Longitudinal-y-Secciones-Transversales.pdfDibujo-de-Perfil-Longitudinal-y-Secciones-Transversales.pdf
Dibujo-de-Perfil-Longitudinal-y-Secciones-Transversales.pdf
 
Informe
InformeInforme
Informe
 
Poligonales
PoligonalesPoligonales
Poligonales
 
Altimetria1
Altimetria1Altimetria1
Altimetria1
 
Manual de topografia
Manual de topografiaManual de topografia
Manual de topografia
 
Ejemplo de integración numérica
Ejemplo de integración numéricaEjemplo de integración numérica
Ejemplo de integración numérica
 
Chap.6 traverse surveys
Chap.6 traverse surveysChap.6 traverse surveys
Chap.6 traverse surveys
 
Exploring Spatial data in GIS Environment
Exploring Spatial data in GIS Environment Exploring Spatial data in GIS Environment
Exploring Spatial data in GIS Environment
 
Cartaboneo unp
Cartaboneo unpCartaboneo unp
Cartaboneo unp
 

En vedette

Super Resolution для сжатого видео
Super Resolution для сжатого видеоSuper Resolution для сжатого видео
Super Resolution для сжатого видео
MSU GML VideoGroup
 

En vedette (7)

Super Resolution для сжатого видео
Super Resolution для сжатого видеоSuper Resolution для сжатого видео
Super Resolution для сжатого видео
 
UbiTeach: Methods for Augumented Teaching
UbiTeach: Methods for Augumented TeachingUbiTeach: Methods for Augumented Teaching
UbiTeach: Methods for Augumented Teaching
 
Companies gone open: adoption and application of Open-Source Business Models
Companies gone open: adoption and application of Open-Source Business ModelsCompanies gone open: adoption and application of Open-Source Business Models
Companies gone open: adoption and application of Open-Source Business Models
 
Optimization/Gradient Descent
Optimization/Gradient DescentOptimization/Gradient Descent
Optimization/Gradient Descent
 
Super resolution from a single image
Super resolution from a single imageSuper resolution from a single image
Super resolution from a single image
 
Super Resolution in Digital Image processing
Super Resolution in Digital Image processingSuper Resolution in Digital Image processing
Super Resolution in Digital Image processing
 
Single Image Super-Resolution from Transformed Self-Exemplars (CVPR 2015)
Single Image Super-Resolution from Transformed Self-Exemplars (CVPR 2015)Single Image Super-Resolution from Transformed Self-Exemplars (CVPR 2015)
Single Image Super-Resolution from Transformed Self-Exemplars (CVPR 2015)
 

Similaire à Gradient Steepest method application on Griewank Function

Statistics project2
Statistics project2Statistics project2
Statistics project2
shri1984
 
Case Quality Management—ToyotaQuality Control Analytics at Toyo.docx
Case Quality Management—ToyotaQuality Control Analytics at Toyo.docxCase Quality Management—ToyotaQuality Control Analytics at Toyo.docx
Case Quality Management—ToyotaQuality Control Analytics at Toyo.docx
cowinhelen
 
Simulation Testing for Cosserat Rods
Simulation Testing for Cosserat RodsSimulation Testing for Cosserat Rods
Simulation Testing for Cosserat Rods
Zhan Wang
 

Similaire à Gradient Steepest method application on Griewank Function (20)

Enhancing the performance of kmeans algorithm
Enhancing the performance of kmeans algorithmEnhancing the performance of kmeans algorithm
Enhancing the performance of kmeans algorithm
 
Statistics project2
Statistics project2Statistics project2
Statistics project2
 
Case Quality Management—ToyotaQuality Control Analytics at Toyo.docx
Case Quality Management—ToyotaQuality Control Analytics at Toyo.docxCase Quality Management—ToyotaQuality Control Analytics at Toyo.docx
Case Quality Management—ToyotaQuality Control Analytics at Toyo.docx
 
Scaling out logistic regression with Spark
Scaling out logistic regression with SparkScaling out logistic regression with Spark
Scaling out logistic regression with Spark
 
Deep Learning
Deep LearningDeep Learning
Deep Learning
 
Using Bayesian Optimization to Tune Machine Learning Models
Using Bayesian Optimization to Tune Machine Learning ModelsUsing Bayesian Optimization to Tune Machine Learning Models
Using Bayesian Optimization to Tune Machine Learning Models
 
Using Bayesian Optimization to Tune Machine Learning Models
Using Bayesian Optimization to Tune Machine Learning ModelsUsing Bayesian Optimization to Tune Machine Learning Models
Using Bayesian Optimization to Tune Machine Learning Models
 
MAtrix Multiplication Parallel.ppsx
MAtrix Multiplication Parallel.ppsxMAtrix Multiplication Parallel.ppsx
MAtrix Multiplication Parallel.ppsx
 
matrixmultiplicationparallel.ppsx
matrixmultiplicationparallel.ppsxmatrixmultiplicationparallel.ppsx
matrixmultiplicationparallel.ppsx
 
An adaptive moving total least squares method for curve fitting
An adaptive moving total least squares method for curve fittingAn adaptive moving total least squares method for curve fitting
An adaptive moving total least squares method for curve fitting
 
Realtime pothole detection system using improved CNN Models
Realtime pothole detection system using improved CNN ModelsRealtime pothole detection system using improved CNN Models
Realtime pothole detection system using improved CNN Models
 
441-Final-Presenation
441-Final-Presenation441-Final-Presenation
441-Final-Presenation
 
Scott Clark, Co-Founder and CEO, SigOpt at MLconf SF 2016
Scott Clark, Co-Founder and CEO, SigOpt at MLconf SF 2016Scott Clark, Co-Founder and CEO, SigOpt at MLconf SF 2016
Scott Clark, Co-Founder and CEO, SigOpt at MLconf SF 2016
 
MLConf 2016 SigOpt Talk by Scott Clark
MLConf 2016 SigOpt Talk by Scott ClarkMLConf 2016 SigOpt Talk by Scott Clark
MLConf 2016 SigOpt Talk by Scott Clark
 
Load Test Like a Pro
Load Test Like a ProLoad Test Like a Pro
Load Test Like a Pro
 
Simulation Testing for Cosserat Rods
Simulation Testing for Cosserat RodsSimulation Testing for Cosserat Rods
Simulation Testing for Cosserat Rods
 
Machine Learning Essentials Demystified part2 | Big Data Demystified
Machine Learning Essentials Demystified part2 | Big Data DemystifiedMachine Learning Essentials Demystified part2 | Big Data Demystified
Machine Learning Essentials Demystified part2 | Big Data Demystified
 
Backtracking & branch and bound
Backtracking & branch and boundBacktracking & branch and bound
Backtracking & branch and bound
 
Lecture_3_Gradient_Descent.pptx
Lecture_3_Gradient_Descent.pptxLecture_3_Gradient_Descent.pptx
Lecture_3_Gradient_Descent.pptx
 
Machine learning algorithm for classification of activity of daily life’s
Machine learning algorithm for classification of activity of daily life’sMachine learning algorithm for classification of activity of daily life’s
Machine learning algorithm for classification of activity of daily life’s
 

Plus de Imane Haf

Wavelet Transform - Intro
Wavelet Transform - IntroWavelet Transform - Intro
Wavelet Transform - Intro
Imane Haf
 
Reflection And Transmition Of EM Waves
Reflection And Transmition Of EM WavesReflection And Transmition Of EM Waves
Reflection And Transmition Of EM Waves
Imane Haf
 
Signal Filtering
Signal FilteringSignal Filtering
Signal Filtering
Imane Haf
 
Smart Power Grid Monitoring System
Smart Power Grid Monitoring SystemSmart Power Grid Monitoring System
Smart Power Grid Monitoring System
Imane Haf
 
Microwave oscillator design
Microwave oscillator designMicrowave oscillator design
Microwave oscillator design
Imane Haf
 
Flow Network Talk
Flow Network TalkFlow Network Talk
Flow Network Talk
Imane Haf
 

Plus de Imane Haf (6)

Wavelet Transform - Intro
Wavelet Transform - IntroWavelet Transform - Intro
Wavelet Transform - Intro
 
Reflection And Transmition Of EM Waves
Reflection And Transmition Of EM WavesReflection And Transmition Of EM Waves
Reflection And Transmition Of EM Waves
 
Signal Filtering
Signal FilteringSignal Filtering
Signal Filtering
 
Smart Power Grid Monitoring System
Smart Power Grid Monitoring SystemSmart Power Grid Monitoring System
Smart Power Grid Monitoring System
 
Microwave oscillator design
Microwave oscillator designMicrowave oscillator design
Microwave oscillator design
 
Flow Network Talk
Flow Network TalkFlow Network Talk
Flow Network Talk
 

Dernier

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
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Dernier (20)

Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
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
 
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_...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
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)
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
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
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
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
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
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
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.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
 
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
 

Gradient Steepest method application on Griewank Function

  • 1. Gradient method application on Griewank Function Talk by Imane HAFNAOUI University of M’Hamed Bouguara - IGEE
  • 2. OUTLINES • Introduction • Griewank Function • Gradient (steepest descent) Method • Simulation and Results • Improvements • Conclusion
  • 3. INTRODUCTION Optimization includes finding "best available" values of some objective function given a defined domain. Optimization problems can be found everywhere: • Increase market profit • Operation search (decision science) • Minimize loss in power grids Optimization methods and algorithms have been developed to solve these problems. • Particle Swarm Optimization Algorithm (PSO) presentented by Fran Van Den Bergh in his work. • Self Adaptive Differential Evaluation (SeDA) introduced by Qin et al. In their publication. • Etc etc
  • 4. GRIEWANK FUNCTION Test Functions: they are special functions known in literature to be used as testbenches. They come in different classes and set for specific purposes. One of the well-known functions is the Griewank function.
  • 5. GRIEWANK FUNCTION Griewank function depending on two variables.
  • 6. GRADIENT METHOD Steepest descent iteratively performs line searches in the local downhill gradient direction. Steps: 1. Evaluate the gradient vector 2. Compute the search direction 3. Construct the next point 4. Perform the termination test for minimization 5. Repeat the process
  • 7. SIMULATION AND RESULTS  Results with starting point x0 = (1, 1) K xk Xk+1 Norm (sk) 0 1 1 0.1677 0.6767 -0.6402 -0.2487 0.6868 1 0.1677 0.6767 -0.0250 0.2589 0.1483 0.3214 0.3539 2 -0.0250 0.2589 0.0070 0.0915 -0.0246 0.1288 0.1312 3 0.0070 0.0915 -0.0021 0.0320 0.0070 0.0457 0.0463 4 -0.0021 0.0320 0.0006 0.0112 -0.0021 0.0160 0.0161 5 0.0006 0.0112 -0.0002 0.0039 0.0006 0.0056 0.0056 6 -0.0002 0.0039 0.0001 0.0014 -0.0002 0.0020 0.0020 7 0.0001 0.0014 -0.0000 0.0005 0.0001 0.0007 0.0007 The changes in the function after each iteration.  Only 4 iterations to reach a solution.
  • 8. SIMULATION AND RESULTS  Results with differing starting points X(0) X(k) k 3 -15 3.1400 -13.3159 7 45 23 47.1003 22.1928 8 -120 245 -122.4599 244.1132 9 -300 -400 -301.4350 -399.4496 7 567 234 568.3355 235.2251 12
  • 9. IMPROVEMENTS We need to ensure that the algorithm always converges to the global optimum regardless of the starting point. The idea is to keep the algorithm running and searching for the smallest of the local minima (global minimum) even if it reaches a local minimum. To achieve this, the gradient method is once again applied, but this time to the “governing” function in the Griewank function.
  • 11. RESULTS  Results with differing starting points and differing step size
  • 12. RESULTS  Table representing the results and the jumps over the local minima to reach the global optimum. X0 X1 X2 X3 X4 7 25 0.25 6.280 26.630 3.1400 13.3153 3.1400 4.4385 0.00e-4 0.41e-4 -80 -120 0.35 -78.500 -155.345 -25.120 -44.384 -6.280 -17.753 0.00e-4 0.41e-4 -100 120 0.45 -97.340 119.837 -12.560 8.8769 -3.1400 4.4384 0.19e-6 0.57e-4 534 -120 0.50 530.659 -119.833 6.2800 -0.0001 -0.0e-4 0.48e-4
  • 13. RESULTS Contour to the Griewank function demonstrating the jumps that the algorithm performs each time it reaches a local minimum. Starting point x0 = (120, -120), step size
  • 14. CONCLUSION • The Gradient method is good to detect the local minimum closest to the starting point. • Additions to the steepest method have proven successful in locating the global minimum of the Griewank function regardless of how far the starting point is selected. • These extensions cannot be assured to have the same results if applied to other test functions, nor if the number of variables is increased.

Notes de l'éditeur

  1. This template can be used as a starter file for a photo album.