By Leon Gradisar (531/2010) Golden Section Search.

Slides:



Advertisements
Similar presentations
Local Maximum/Minimum of Continuous Functions
Advertisements

Line Search.
Relationship between First Derivative, Second Derivative and the Shape of a Graph 3.3.
Yunfei duan Hui Pan.  A parabola through three points f(a) f(b) f(c)  for the derivation of this formula is from  denominator should not be zero.
Optimization : The min and max of a function
Linear Separators.
Extremum. Finding and Confirming the Points of Extremum.
APPLICATIONS OF DIFFERENTIATION Maximum and Minimum Values In this section, we will learn: How to find the maximum and minimum values of a function.
MATH 140 January 18, The Graph of a Function When a function is defined by an equation in x and y, the graph of a function is the set of all points.
Finite Mathematics & Its Applications, 10/e by Goldstein/Schneider/SiegelCopyright © 2010 Pearson Education, Inc. 1 of 99 Chapter 4 The Simplex Method.
CS 412/413 Spring 2007Introduction to Compilers1 Lecture 29: Control Flow Analysis 9 Apr 07 CS412/413 Introduction to Compilers Tim Teitelbaum.
Chapter 4 The Simplex Method
1.Definition of a function 2.Finding function values 3.Using the vertical line test.
Final Exam Review Instructor : Yuan Long CSC2010 Introduction to Computer Science Apr. 23, 2013.
Copyright © Cengage Learning. All rights reserved.
Time Complexity Dr. Jicheng Fu Department of Computer Science University of Central Oklahoma.
Introduction to complexity Prof. Sin-Min Lee Department of Computer Science San Jose State University.
Compiler Construction Lecture 16 Data-Flow Analysis.
The mean value theorem and curve sketching
Chapter 5 .3 Riemann Sums and Definite Integrals
4.3 How Derivatives Affect the Shape of a Graph. Facts If f ’( x ) > 0 on an interval ( a,b ), then f (x) is increasing on ( a,b ). If f ’( x ) < 0 on.
Extreme Values. NotationSet NotationPicture (a,b) [a,b] [a,b) (a,b] (a,∞) [a, ∞) a < x < b x > a Intervals Inequalities 1.If a < b then a + c < b + c.
Introduction to Problem Solving. Steps in Programming A Very Simplified Picture –Problem Definition & Analysis – High Level Strategy for a solution –Arriving.
Functions Is Fibonacci Repeated or Recursive? Created by: Rachel Oakley.
The Fundamental Theorem of Calculus Objective: The use the Fundamental Theorem of Calculus to evaluate Definite Integrals.
MAT 213 Brief Calculus Section 4.2 Relative and Absolute Extreme Points.
Chapter 1 Functions and Graphs Copyright © 2014, 2010, 2007 Pearson Education, Inc More on Functions and Their Graphs.
Directional Derivatives and Gradients
L22 Numerical Methods part 2 Homework Review Alternate Equal Interval Golden Section Summary Test 4 1.
Polynomials have the property that the sum, difference and product of polynomials always produce another polynomial. In this chapter we will be studying.
Chapter 2 Functions and Graphs Copyright © 2014, 2010, 2007 Pearson Education, Inc More on Functions and Their Graphs.
Recursive Methods for Finding Roots of Functions Bisection & Newton’s Method.
Copyright © Cengage Learning. All rights reserved. 3 Applications of Differentiation.
Cholesky decomposition Teodora Aleksi ć, 391/2012.
TWO IMAGE PROCESSING ALGORITHMS BRIGHTNESS GAMA CORRECTION MAJA VUKASOVIĆ 2012/0003.
APPLICATIONS OF DIFFERENTIATION 4. EXTREME VALUE THEOREM If f is continuous on a closed interval [a, b], then f attains an absolute maximum value f(c)
Contingency table analyses Miloš Radić 12/0010 1/14.
Miloš Kotlar 2012/115 Single Layer Perceptron Linear Classifier.
THRESHOLDING (IMAGE PROCESSING) Filip Vuković 2012/0205.
Gaussian Elimination and Back Substitution Aleksandra Cerović 0328/2010 Elektrotehnički fakultet u Beogradu Mikroprocesorski sistemi 1/12Gaussian Elimination.
Indexing and Ranking MICROPROCESSOR SYSTEMS – MAXELER PROJECT AUTHOR: NIKOLA MAKSIMOVIC 545/12.
1/16 CALCULATING PREFIX SUMS Vladimir Jocovi ć 2012/0011.
Luka Petrović 69/2012 1/12. The Standard Deviation is a measure of how spread out numbers are. Its symbol is σ (the greek letter sigma) The formula is.
By Leon Gradisar (531/2010) Golden Section Search.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 2 - Chapter 7 Optimization.
Gaussian Elimination and Back Substitution Aleksandra Cerović 0328/2010 1/15Gaussian Elimination And Back Substitution.
Chapter 1 Functions and Their Graphs. Copyright © Houghton Mifflin Company. All rights reserved.1 | 2 Section 1.1, Slope of a Line.
Section 4.2: Maximum and Minimum Values Practice HW from Stewart Textbook (not to hand in) p. 276 # 1-5 odd, odd, 35, 37, 39, 43.
Chapter 6 Analytic Geometry. Chapter 6 Analytic Geometry.
Introduction to complexity
Chapter 3 Applications of Differentiation Maximum Extreme Values
Precalculus Sections Review.
Graphs Chapter 11 Objectives Upon completion you will be able to:
Application of Derivative in Analyzing the Properties of Functions
Section 1.2 Graphs of Functions.
Prof. Ramin Zabih Beyond binary search Prof. Ramin Zabih
Applications of Differentiation
Applications of Differentiation
Section 2.3 – Analyzing Graphs of Functions
Section 4.4 – Analyzing Graphs of Functions
Chapter 5: Graphs & Functions
MATH 1910 Chapter 3 Section 1 Extrema on an Interval.
Maximum and Minimum Values
Part 4 - Chapter 13.
Analyzing Graphs of Functions
Chapter 12 Graphing and Optimization
f(x) g(x) x x (-8,5) (8,4) (8,3) (3,0) (-4,-1) (-7,-1) (3,-2) (0,-3)
Chapter 3 Applications of Differentiation Maximum Extreme Values
Chapter 4 Graphing and Optimization
Bracketing.
Presentation transcript:

By Leon Gradisar (531/2010) Golden Section Search

Golden Section Method Introduction -Golden Section Method uses constant Interval of reduciton -Which can be seen in different aspects of proportion from geometry to architecture. 2/11

Golden Section Search Introduction The Golden section search is a technique for finding the extrem um (minimum or maximum) of a strictly unimodal function by succe ssively narrowing the range of values inside which the extremum is known to exist. -The technique derives its name from the fact that the algorithm ma intains the function values for triples of points whose distances for m a golden ratio. -Fibonacci search and Golden section search were discovered by K iefer (1953) 3/11

Golden Section Idea -The diagram above illustrates a single step in the technique for finding a minimum. -The value of has already been evaluated at the three points: x1,x2 and x3. Since f2 is smaller than either f1 or f3, it is clear that a minimum lies inside the interval from x1 to x3 (since f is unimodal). -The next step is evaluating it at a new value x4. -if the function yields f4a: then a minimum lies between x1 and x4 and the new triplet of points will be x1,x2 and x4 If the function yields f4b: then a minimum lies between x2 and x3, and the new triplet of points will be x2 and x3. -By this logic we can construct a new narrower search interval that is guaranteed to contain the function's minimum. 4/11

Golden Section Workflow -From the diagram, it is seen that the new search interval will be either between and with a length of a+c, or between and with a length of b. -To ensure that the spacing after evaluatingf(x4) -In case f (x4) = f 4a our new triplet of points is x1,x2,x4 then we want: -In case f (x4)= our new triplet of points is x2,x4,x4, then we want: -Eliminating c from these two equations yields: or -Where φ is the golden ratio: 5/11

Golden Section Algorithm 6/11

Maxeler MAXELER IN A NUTSHELL  Dataflow paradigm  The write to the memory is postponed until the data processing is finished  Decreases cost of reading and writing temporary result  Tokens on the entry points of vertices in a graph are a condition for operation completition  Loop oriented, big data  As less data dependences as possible 7/11

Golden Section Algorithm Code in Makseler 8/11

Golden Search Compile Results 9/11

Golden Section References  Milutinovic, V., editor, “Advances in Computers: DataFlow”,Elsevier,  Milutinovic, V., Salom, J., Trifunovic, N., Giorgi, R. “Guide to DataFlow SuperComputing”, Springer, 2015  Milutinovic, V., editor, “High-Level Language Computer Architectu re,“ (Chapter 9, DataFlow Machines, Gaudiot, J.-L.,), Computer Science Press,  “Golden Section”, https://en.wikipedia.org/wiki/Jack_Kiefer_(statistician)  “Golden Section”, /11

Questions? Than you for your attention! 11/11