![]() |
Chemical Data Processing Library C++ API - Version 1.4.0
|
Predicts the binding affinity of a ligand pose from its GRAIL descriptor vector. More...
#include <BindingAffinityCalculator.hpp>
Public Types | |
| enum | AffinityMeasure { PKD , PKI , PKD_PKI } |
| Specifies the affinity measure the prediction targets. More... | |
Public Member Functions | |
| BindingAffinityCalculator () | |
Constructs the BindingAffinityCalculator instance. More... | |
| double | operator() (const Math::DVector &grail_descr, AffinityMeasure measure) const |
| Predicts the binding affinity from the given GRAIL descriptor. More... | |
Predicts the binding affinity of a ligand pose from its GRAIL descriptor vector.
The prediction is performed using a pre-trained regression model that takes a GRAIL descriptor as input and returns a binding affinity estimate. The targeted affinity measure ( \( pK_d \), \( pK_i \), or a combined \( pK_d/pK_i \) model) is selected at call time via the AffinityMeasure argument.
|
inline |
Constructs the BindingAffinityCalculator instance.
| double CDPL::GRAIL::BindingAffinityCalculator::operator() | ( | const Math::DVector & | grail_descr, |
| AffinityMeasure | measure | ||
| ) | const |