liveBook · Manning

Second derivative

As explained in Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI

A second derivative measures how the rate of change of a function itself changes with respect to its input.

A second derivative measures how a function’s rate of change changes. In gradient boosting, it is the gradient’s derivative and describes the objective’s curvature. section 5.4.2

XGBoost-style optimization uses this curvature through Newton’s method. Larger curvature reduces the gradient step, while smaller curvature allows faster movement, creating an adaptive learning rate. With squared error, the Hessian is constant and may add little; other objectives can benefit more. section 5.4.2

How Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI covers it

How deep it goes
Explains curvature, Newton-style updates, and Hessian effects, but does not derive the approximation mathematically.
Examples
Uses squared-error boosting and a NewtonianGradientBoosting implementation with Hessian-scaled tree updates.
What it assumes
Assumes familiarity with gradients, minimization, and gradient descent.
What you can do after
Apply it via Newton-style gradient boosting to adjust update sizes using objective curvature.
How it connects
Connects second derivatives with gradients, Newton’s method, Hessians, gradient descent, and regularization.

Also explained in

Compare how 3 books explain second derivative →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI. The section links point to the parts of the book it draws on.