Jump to content

Requests for technical support from the VASP team should be posted in the VASP Forum.

ML EPS REG

From VASP Wiki
Revision as of 10:02, 11 January 2022 by Karsai (talk | contribs)

ML_EPS_REG = [real]
Default: ML_EPS_REG = 1E-14 

Description: Initial value for the threshold of the eigenvalues of the covariance matrix in the evidence approximation.


This threshold is used to determine which eigenvalues λk of the covariance matrix ΦTΦ/σv2 are used in the optimization of the regularization parameters σw2 and σv2 determined by the following equations

σw2=|w¯|2γ,

σv2=|𝐓ϕw¯|2Mγ,

γ=k=1NBλkλk+1/σw2.

All eigenvalues satisfying λi/λmax > ML_EPS_REG are contributing by the above equations.

The smaller the value of ML_EPS_REG the the smaller the error of the fit. But at the same time the effects of overfitting increase. We determined empirically that the default value of 1E-14 is a safe value in most cases.

If at any point in the iterations of the Evidence Approximation of the square of the quadratic norm of errors (eigth column of REGR/REGRF in ML_LOGFILE) gets too big (more than 1.2 times larger than before) then ML_EPS_REG is doubled.

The seventh entry of REGR/REGRF in the ML_LOGFILE shows the ratio of the regularization (σv2/σw2) and the largest eigenvalue. Usually this number is a number with many varying digits. If this number becomes a "well rounded" number (e.g. 1.00000000E-14), it is an indication that the cap for the current ML_EPS_REG is reached. That means that regularization becomes crucial.




Related Tags and Sections

ML_LMLFF, ML_IALGO_LINREG, ML_IREG, ML_SIGV0, ML_SIGW0

Examples that use this tag