Path: blob/master/material/Minimization.ipynb
934 views
Minimization
Find the minumum of a function
Bibliography
Example
Consider the following dataset
Laggrange interpolation
df.X
is a Pandas Series
To obtain some specific value by using slices, we must use .iloc
Note that df.X[3]=df.X.loc[3]=df.X.iloc[3]
works!
Hermite interpolation
The recommend degree for the Hermite polynomial is where is the number of data of the dataset
Finding the local minimum of a function
Finding the first minimum close to 3 (which corresponds to the global minimum), and the second close to 5 (a local minimum)
Activity Find the maximum values of the Hermite interpolation function of degree 5 to the set of points: https://github.com/restrepo/ComputationalMethods/blob/master/data/hermite.csv
fmin_powell
try to search the global minimum
Find a local minumum
close minimum
minimum in a range
Find a global minumum (alternative)
The Higgs potential
To write greek letter inside a cell use the macro and the tab, e.g: \mu<TAB>
, to produce μ
Minimization in higher dimensions
For a complex scalar field with potential with and , and , find some of the infinite number of minimum values of , as illustrated in the figure, with the plane, , moved to the minimum to easy the visualization. Expanding in terms of the real and imaginary part of
Check a point of the function
Check the minimim obtained when an inizialization point at
Check the proyection of the minimum in the plane
For random initialization points, we can get several minima
Projection of the minima in the plane,