Skip to content

Commit

Permalink
Reorder lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioannis-vm committed Oct 23, 2024
1 parent 07dc45f commit 69a867a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pelicun/uq.py
Original file line number Diff line number Diff line change
Expand Up @@ -688,11 +688,11 @@ def _neg_log_likelihood( # noqa: C901
+ censored_count * np.log(cen_likelihood)
) # censoring influence

# print(theta[0], params, NLL)

# normalize the NLL with the sample count
return negative_log_likelihood / samples.size

# print(theta[0], params, NLL)


def fit_distribution_to_sample( # noqa: C901
raw_samples: np.ndarray,
Expand Down

0 comments on commit 69a867a

Please sign in to comment.