Skip to content

Commit

Permalink
improve docstring
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Moreau <[email protected]>
  • Loading branch information
vloison and tomMoral authored Jul 1, 2024
1 parent 04e96b6 commit a0628fd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fadin/init.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@ def init_hawkes_params(solver, init_mode, events, n_ground_events, end_time):

def momentmatching_kernel_nomark(solver, events, n_ground_events,
plot_delta=False, mode='max'):
"""Moment matching initialization of kernel parameters. Implemented for
'truncated_gaussian' and 'raised_cosine' kernels.
"""Moment matching initialization of kernel parameters.
Implemented for 'truncated_gaussian' and 'raised_cosine' kernels.
For the truncated gaussian kernel, the means $m_{i,j}$ and std
$\\sigma_{i,j}$ are:
$m_{i, j} =
Expand Down

0 comments on commit a0628fd

Please sign in to comment.