What a property kernel is and how its short equation works
A property kernel is a one- or two-term equation, ŷ = β₀ + Σ βⱼ·z(fⱼ^pⱼ), fitted by ridge on standardised power-law descriptor terms chosen by search.
Updated November 28, 2026
A property kernel, in the sense MolBasis uses the word, is a short equation that estimates one physical property from one or two descriptors of a molecule. Its form is ŷ = β₀ + Σ βⱼ·z(fⱼ^pⱼ). Each descriptor fⱼ is raised to an exponent pⱼ, standardised to zero mean and unit variance, and multiplied by a coefficient βⱼ found by ridge regression. The word has nothing to do with the kernel trick of support vector machines. It names a compact linear model whose only non-linearity lives in the exponents.
The equation, symbol by symbol
Start from the right. fⱼ is one of the nine mfsig descriptors, for example the cavity surface area or the variance of the surface charge density. The guide on the nine mfsig descriptors lists all of them with their units and their known defects.
pⱼ is an exponent taken from a grid with a step of 0.25. A value of 1 leaves the descriptor as it is. A value of 0.5 takes its square root, and 2 squares it. The exponent lets a straight-line fit follow a curved relation between descriptor and property.
z is standardisation. The transformed descriptor fⱼ^pⱼ has its training mean subtracted and is divided by its training standard deviation. After this step every term has the same scale, so the coefficients can be compared and the ridge penalty treats them alike. The guide on z-scoring before a fit explains why the training statistics must travel with the equation.
βⱼ and β₀ are the coefficients. They come from one ridge solve with a small penalty, λ = 1e-3. Because every column is standardised and centred, β₀ equals the training mean of the property, and each βⱼ is the change in predicted property per standard deviation of its term.
A kernel has one or two such terms. Nothing else. No interaction products, no splines, no hidden layers.
A worked fit on five toy molecules
The arithmetic fits on a napkin. Take five imaginary molecules with descriptor values f = 4, 9, 16, 25 and 36 and property values y = 1.0, 1.5, 2.1, 2.4 and 3.0. Suppose the search has settled on the exponent p = 0.5. These numbers are invented for the example and come from no MolBasis kernel.
- Transform. f^0.5 = 2, 3, 4, 5, 6.
- Standardise. The mean is 4 and the population standard deviation is √2 ≈ 1.414. So z = −1.414, −0.707, 0, 0.707, 1.414.
- Centre the target. The mean of y is 2.0, so β₀ = 2.0. The deviations are −1.0, −0.5, 0.1, 0.4 and 1.0.
- Solve. For one standardised column the ridge coefficient equals the sum of z times the centred y, divided by the sum of z² plus λ. The numerator is 1.414 + 0.354 + 0 + 0.283 + 1.414 = 3.465. The denominator is 5 + 0.001. So β = 0.693.
The kernel reads ŷ = 2.0 + 0.693·z(f^0.5). To predict a sixth molecule with f = 49, compute f^0.5 = 7, then z = (7 − 4)/1.414 = 2.121, then ŷ = 2.0 + 0.693 × 2.121 = 3.47. The new molecule is standardised with the training mean 4 and the training spread 1.414, not with statistics of its own.
In numpy the same fit takes four lines.
import numpy as np
f = np.array([4., 9., 16., 25., 36.])
y = np.array([1.0, 1.5, 2.1, 2.4, 3.0])
t = f ** 0.5
z = (t - t.mean()) / t.std()
beta = (z @ (y - y.mean())) / (z @ z + 1e-3)The search chooses the descriptor and the exponent
The coefficients are the easy part. The hard part, and the part that decides whether the equation means anything, is the choice of fⱼ and pⱼ. MolBasis makes it by exhaustive search. Every descriptor, every exponent on the grid, and for two-term kernels every pair, is fitted and scored. The equation with the best score wins.
That search is cheap to run and expensive to trust. With nine descriptors and a grid of twenty exponents there are 180 one-term candidates, and the best of 180 noisy scores is biased upward even when no real relation exists. The guide on feature selection by search works through this optimism with numbers. The short version is that two or three fitted coefficients understate the number of choices the data made.
For this reason the MolBasis record wraps the search in a gate. It includes grouped leave-one-out, bootstrap intervals, a permutation floor, nested cross-validation, a plateau count, a calibration slope, a feature-addition test and a 25 % scaffold-blind split. The methodology page lists them. The gate is what separates a kernel from a curve someone drew through points.
What a kernel page states and what it withholds
Each page under /kernels shows the result on a 25 % scaffold-blind split as the headline, states the number of held-out molecules that result rests on, and gives the in-sample figure as a secondary value. It also states its known limits. The guide on reading a kernel page explains why the order matters.
Some things a kernel page does not give. The coefficients are not published, so you cannot evaluate the equation yourself. There is no external validation set and no comparison with another method on the same molecules. The figures are reported from the research record, not recomputed, because the fitting scripts are not in a repository available for review. The findings page records what has been corrected, including a melting-point result that a descriptor defect had inflated and three two-term equations that turned out to be full-data fits.
A kernel is a linear model with two honest coefficients and a search that did most of the work.
Key points
- A property kernel is ŷ = β₀ + Σ βⱼ·z(fⱼ^pⱼ) with one or two terms, exponents on a 0.25 grid, standardised columns and ridge coefficients with λ = 1e-3.
- The coefficients come from one solve. The descriptor and the exponent come from a search, and the search is where the risk of optimism lives.
- New molecules must be standardised with the training mean and spread, never their own.
- Kernel pages lead with the scaffold-blind held-out result and state what is missing, including external validation, comparisons and published coefficients.
Questions people ask
- What is a property kernel in QSPR?
- It is a short equation that estimates one physical property from one or two molecular descriptors. Each descriptor is raised to an exponent, standardised, and multiplied by a ridge coefficient. The term has no link with kernel methods in machine learning.
- How many parameters does a MolBasis kernel have?
- One intercept plus one or two coefficients, so two or three fitted numbers. The descriptor and its exponent are chosen by search over a grid, and that search makes the real number of choices far larger than the count of coefficients.
- Can I evaluate a MolBasis kernel on my own molecule?
- Not from the site alone, because the coefficients and the training means and spreads are not published. The kernel pages report the held-out result and its limits so that you can judge the equation, not reuse it.
Further reading
In practice: A kernel on this site is one or two descriptor terms with coefficients from a single ridge solve. The methodology page gives the exact form, the grid and the gate the search had to pass.
See the kernels themselves
Every kernel is shown with its held-out result, the number of molecules it rests on and what it cannot be trusted for.