xnn.common.data.hub.gmtkn55.wtmad2#

xnn.common.data.hub.gmtkn55.wtmad2(reactions, predicted, scale=56.84)[source]#

WTMAD-2 of predicted reaction energies (eq. 2 of the paper).

Parameters:
  • reactions (sequence of dict) – Reaction records.

  • predicted (sequence of float) – Predicted reaction energies (kcal/mol), aligned with reactions.

  • scale (float or "data", optional) – The constant that scales the sets’ mean absolute deviations: PAPER_SCALE (56.84 kcal/mol, default) or "data" for the average of the loaded sets’ mean absolute reference energies.

Returns:

dict of {str – total and one entry per category of CATEGORIES present (plus nci for both noncovalent categories together), each the weighted sum over its sets divided by its number of reactions.

Return type:

float}