Separate data roles before fitting a predictive model
Training, validation, and test data serve different roles in a modeling procedure. Their separation helps the final evaluation […]
Original companion articles exploring the mathematics and engineering of large language models.
Training, validation, and test data serve different roles in a modeling procedure. Their separation helps the final evaluation […]
Softmax converts a vector of real scores into nonnegative values that sum to one. Directly exponentiating very large […]
A frequentist confidence interval comes from a procedure designed to cover a fixed population parameter at a stated […]
Bayes’ rule updates probabilities by combining a prior distribution with a likelihood for the evidence. The result depends […]
Covariance records whether two variables tend to lie above or below their own means together. Its value depends […]
The chain rule differentiates a composition by multiplying the derivatives along the dependence path. It is the mathematical […]
Matrix multiplication requires the inner dimensions to match. Naming the shapes of inputs, weights, and outputs can reveal […]
The dot product multiplies corresponding vector components and adds the products. It measures a combination of magnitude and […]
Training classifiers and language models usually means minimizing cross-entropy. The reason becomes clear once you connect it to […]
Modern training relies on a small family of optimizers. Each one fixes a specific weakness of the one […]
Both methods pick parameter values that explain data well. The difference is whether they also use prior beliefs […]
The central limit theorem explains why averages of many independent measurements look approximately bell-shaped, even when the individual […]
Symmetric matrices appear constantly in machine learning, in covariance matrices, Hessians, and kernel matrices. The spectral theorem explains […]
The singular value decomposition, or SVD, takes any matrix and expresses it as a rotation, a stretch, and […]
A compact refresher in the mathematical and statistical ideas used by machine-learning examples. […]