MolBasis
coefficientsreproducibilityridgez-scoringkernels5 min read

Why coefficients matter for reproducing a published kernel

A published equation form without its coefficients, intercept and standardisation constants cannot produce a prediction. Here is what each missing number does.

Updated November 28, 2026

A kernel page tells you which descriptor the equation uses, which exponent, and how the equation did on a held-out scaffold split. It does not tell you the coefficient, the intercept, or the training mean and standard deviation that define the z-score. Without those four numbers the equation cannot produce a prediction for any molecule, and nobody outside the record can check the held-out figure independently. This guide takes each missing number in turn and shows, with invented values, what it does to a prediction.

Four numbers stand between the equation form and a prediction

The kernel form is ŷ = β₀ + Σ βⱼ·z(fⱼ^pⱼ). The page gives fⱼ and pⱼ. The four numbers it does not give are:

  • β₀, the intercept, which sets the level of every prediction
  • βⱼ, the coefficient of each term, which sets the sign and the spread
  • μ_train, the mean of fⱼ^pⱼ on the training set, which centres the z-score
  • s_train, the standard deviation of fⱼ^pⱼ on the training set, which scales it

Each of them changes the answer in a different way. The next section works through the arithmetic with a one-term example whose constants are made up for the purpose.

A toy equation and what each wrong constant does

Suppose β₀ = 3.0, β₁ = 0.8, p = 0.5, μ_train = 10 and s_train = 2. A molecule with descriptor value 144 gives 144^0.5 = 12, a z-score of 1.0, and a prediction of 3.8. Now change one constant at a time.

  1. Wrong mean, μ_train = 9 instead of 10. The z-score becomes 1.5 and the prediction 4.2. Every molecule shifts by the same 0.4, since the shift equals β₁ times the mean error divided by s_train. Pearson r is untouched, MAE is not.
  2. Wrong standard deviation, s_train = 4 instead of 2. The z-score becomes 0.5 and the prediction 3.4. Predictions are compressed towards β₀ by a factor of two. The calibration slope doubles, r is untouched.
  3. Wrong sign on β₁. The prediction becomes 2.2. The ranking of every molecule inverts and r changes sign.
  4. Wrong intercept, β₀ = 2.5. The prediction becomes 3.3. A constant offset for all molecules, invisible to r and to the calibration slope, visible only in MAE.

These are the four failure modes a reader faces when a form is published without its constants. None of them can be detected from the equation form alone. Only a stored prediction for a known molecule would reveal which, if any, has occurred. Recomputing statistics from stored predictions explains what that check looks like.

What the ridge solve adds and does not add

The coefficients come from one ridge solve with λ equal to 1e-3 on z-scored terms. Two facts follow. First, because the terms are centred on the training set, the intercept equals the training mean of the target. So β₀ is in principle a dataset statistic, not a fitted mystery. Second, for a one-term fit on a z-scored feature the least-squares slope equals r_in-sample times the standard deviation of the target, and a λ of 1e-3 against a sample of tens or hundreds of molecules changes that slope by a negligible amount. The ridge regression guide shows the algebra on two features.

This means the in-sample r shown on a page nearly fixes the slope in standardised units. But standardised units are exactly what you do not have. To turn a standardised slope into a prediction you need the target standard deviation and the training mean and sd of f^p, and the target standard deviation depends on which molecules survived deduplication and which were dropped as outliers. None of that is published. The algebra narrows the unknowns but does not remove them.

What a reader can still check without the constants

With the page alone a reader can check three things. Whether the descriptor chosen is physically plausible for the property. Whether the held-out result rests on enough molecules to mean anything, since the page states that number. And whether the in-sample figure sits far above the held-out figure, which is the mark of search optimism in a one-split protocol. Reading a kernel page walks through those checks.

A reader cannot check the held-out r itself, cannot test the kernel on an external set, cannot compute a prediction for any molecule, and cannot assess whether the equation extrapolates sensibly. The site says as much. There is no external validation set, no comparison with another method on the same molecules, and the figures are reported from the research record rather than recomputed. The guide on what "as reported" means explains why a site would choose that wording over silence.

Why a form might be published without its constants

Records withhold constants for several reasons. Some training sets are distributed under licence, MNSol among them, and a fitted constant can be read as a derivative of licensed data. Some records are still under audit, and a constant that may change is worse than none. Some are withheld for commercial reasons. MolBasis states on its kernel pages that the coefficients are not published and does not go further. This guide does not guess at the reason. It only states the consequence, which is that the kernels are claims about which descriptor carries signal, supported by a held-out figure the reader must take as reported.

An equation form is a claim about structure. The constants are what make it a prediction.

Key points

  • Four numbers are missing from every kernel page, the intercept, the coefficient of each term, and the training mean and sd of the transformed descriptor.
  • A wrong mean shifts all predictions, a wrong sd compresses or stretches them, a wrong sign inverts the ranking, a wrong intercept offsets them. Only MAE sees all four.
  • The intercept equals the training mean of the target, and the one-term slope is nearly r times the target sd, but both still require unpublished dataset statistics.
  • Without the constants a reader can judge plausibility and sample size but cannot predict, validate or extrapolate.
  • MolBasis states plainly that coefficients are not published and that figures are as reported. Treat each kernel accordingly.

Questions people ask

What does a MolBasis kernel page publish and what does it withhold?
It publishes the descriptor and exponent of each term, the held-out Pearson r on a 25 percent scaffold-blind split, the number of held-out molecules, the in-sample figure as a secondary value and the known limits. It withholds the coefficients, the intercept and the training mean and standard deviation of the transformed descriptor.
Why is the intercept of a kernel equal to the mean of the target?
Because the descriptor terms are z-scored on the training set, so they have mean zero there. A least-squares or ridge fit with an unpenalised intercept then places the intercept at the training mean of the target. Knowing this tells you the level of the predictions but not their spread.
Can I recover the coefficient from the in-sample r shown on a page?
Only partly. For a one-term fit on a z-scored feature the least-squares slope equals r times the standard deviation of the target, and ridge with a tiny λ changes this very little. You would still need the target standard deviation and the training mean and sd of the transformed descriptor, none of which is published.

Further reading

In practice: The coefficients of the kernels are not published, so no kernel can be evaluated from this site alone, and no figure here was recomputed except the separate blind benchmark. The guides say what can be done with what is available.

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.