curvature()#
- Lcurve.curvature(beta: float) floatSource#
Calculate L-curve curvature.
This method calculates the curvature of L-curve at the point \((\sqrt{\rho}, \sqrt{\eta})\) as function of regularization parameter \(\lambda\).
If the curvature is positive, the L-curve is concave at the point. If the curvature is negative, the L-curve is convex at the point.
- Parameters:
- beta
float Regularization parameter \(\lambda\).
- beta
- Returns:
floatValue of calculated curvature.
Examples
>>> lcurve = Lcurve(s, U, basis, data=data) >>> curvature = lcurve.curvature(1.0e-5)