KJB
|
Computes the GP-based likelihood of an association. More...
#include <mcmcda_likelihood.h>
Public Member Functions | |
Likelihood (double scale, double signal_sigma, double noise_sigma, const typename Data< Element >::Convert &to_vector) | |
Constructor. More... | |
double | operator() (const Association< Track > &w) const |
Applies this functor to the given association. More... | |
double | at_noise_point (const Element &pt) const |
Returns the likelihood of the noise track. More... | |
double | at_noise (const Available_data &false_alarms) const |
Returns the likelihood of the noise track. More... | |
double | at_track (const Track &track) const |
Computes the GP log-likelihood of a track. More... | |
double | get_noise_sigma () const |
Return the noise sigma of this model. More... | |
const Gp & | get_gp () const |
Return the smoothness scale of this model. More... | |
const Data< Element >::Convert & | get_convert () const |
Return the convert function. More... | |
void | fix_inputs (const Gp_inputs &ins, size_t dim) const |
Fixes the inputs for faster likelihood computation. More... | |
void | unfix_inputs () const |
Fixes the inputs for faster likelihood computation. More... | |
void | set_limits (int low, int up) const |
Set limits on evaluation. More... | |
void | reset_limits () const |
Unser limits on evaluation. More... | |
Computes the GP-based likelihood of an association.
This functor computes the log-likelihood of an association, based on a Gaussian process model of motion. Essentially, it computes the marginal log-likelihood of the data of every track and adds them together. It also computes the likelihood of the noise (the unused data).
|
inline |
Constructor.
noise_sigma | The variance of the noise process |
scale | The scale parameter of the GP. |
double kjb::mcmcda::Likelihood< Track >::at_noise | ( | const Available_data & | false_alarms | ) | const |
Returns the likelihood of the noise track.
|
inline |
Returns the likelihood of the noise track.
double kjb::mcmcda::Likelihood< Track >::at_track | ( | const Track & | track | ) | const |
Computes the GP log-likelihood of a track.
|
inline |
Fixes the inputs for faster likelihood computation.
|
inline |
Return the convert function.
|
inline |
Return the smoothness scale of this model.
|
inline |
Return the noise sigma of this model.
double kjb::mcmcda::Likelihood< Track >::operator() | ( | const Association< Track > & | w | ) | const |
Applies this functor to the given association.
|
inline |
Unser limits on evaluation.
|
inline |
Set limits on evaluation.
|
inline |
Fixes the inputs for faster likelihood computation.