{ "cells": [ { "cell_type": "markdown", "id": "6528c710a249ee9f", "metadata": {}, "source": [ "# Adding a Custom Estimator\n", "\n", "``cinnabar`` uses estimator objects to turn relative free energy measurements into per-ligand absolute free energy estimates. The built-in default is the maximum likelihood estimator (MLE), but you can provide your own estimator by subclassing ``Estimator`` and passing it to ``FEMap.generate_absolute_values``. This tutorial provides a step-by-step example of how to do this.\n", "\n", "
| \n", " | label | \n", "DG (kcal/mol) | \n", "uncertainty (kcal/mol) | \n", "source | \n", "computational | \n", "
|---|---|---|---|---|---|
| 0 | \n", "ligand-a | \n", "0.0 | \n", "0.000000 | \n", "SP | \n", "True | \n", "
| 1 | \n", "ligand-b | \n", "1.2 | \n", "0.200000 | \n", "SP | \n", "True | \n", "
| 2 | \n", "ligand-c | \n", "0.8 | \n", "0.360555 | \n", "SP | \n", "True | \n", "
| 3 | \n", "ligand-d | \n", "0.7 | \n", "0.200000 | \n", "SP | \n", "True | \n", "