|
cMHN 1.0
C++ library for learning MHNs with pRC
|
Class storing a KL Score, specializes the Score class. More...
#include <score.hpp>
Public Member Functions | |
| ~KLScore ()=default | |
| KLScore (KLScore const &)=default | |
| KLScore (KLScore &&)=default | |
| KLScore & | operator= (KLScore const &) &=default |
| KLScore & | operator= (KLScore &&) &=default |
| KLScore () | |
Public Member Functions inherited from cMHN::Score< T > | |
| ~Score ()=default | |
| Score (Score const &)=default | |
| Score (Score &&)=default | |
| Score & | operator= (Score const &) &=default |
| Score & | operator= (Score &&) &=default |
| Score ()=delete | |
| Score (auto const &pointwiseScore, auto const &pointwiseDSDP, auto const &name) | |
| auto | pointwiseScore (T const &pDE, T const &pThetaE) const |
| auto | pointwiseDSDP (T const &pDE, T const &pThetaE) const |
| auto | name () const |
Class storing a KL Score, specializes the Score class.
This score calculates the pointwise KL Score, i.e. pointwiseScore(pDE, pThetaE) = pDE * log(pThetaE).
Note that none of the functions (pointwiseScore, pointwiseDSDP) can be changed.
| T | type used for calculations |
|
default |
|
default |
|
default |
|
inlineexplicit |