Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriciogtec authored Jul 7, 2023
1 parent 84d255b commit e9530b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ plot!(x, [target envelop], width = 2, label = ["target density" "envelop"])

Here are some tips:

- Make sure the logdensity is numerically stable in the domain and values above > 25;
- Make sure the logdensity is numerically stable in the domain and avoid logdensity values > 25 (since
the evaluation of the envelop requires exponentials);
- Use log densities instead of densities using the keyword `logdensity=true`;
- Specify a `min_slope` and `max_slope` to find better initial points. The default is 1e-6 and 1e6, respectively.
The `min_slope` is the minimum slope of the logdensity in the initial points of the envelop in absolute value. In general,
Expand Down

0 comments on commit e9530b1

Please sign in to comment.