pub struct HawkesLikelihood<'a> { /* private fields */ }Expand description
Log-likelihood of the given event data under the Hawkes model. $$ \ell = \sum_{i=1}^N \log\left( \lambda_0 + \sum_{j < i} \alpha e^{-\beta(t_i-t_j)} \right) - \lambda_0 T - \sum_{i=1}^N \frac\alpha\beta \left(1 - e^{-\beta(T - t_i)}\right) $$
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for HawkesLikelihood<'a>
impl<'a> RefUnwindSafe for HawkesLikelihood<'a>
impl<'a> Send for HawkesLikelihood<'a>
impl<'a> Sync for HawkesLikelihood<'a>
impl<'a> Unpin for HawkesLikelihood<'a>
impl<'a> UnwindSafe for HawkesLikelihood<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more