Skip to content

Commit aca28b0

Browse files
authored
Merge pull request #29 from EarthyScience/dev
Tutorial on custom likelihood
2 parents 900b5f3 + 5fc8fcd commit aca28b0

25 files changed

+494
-23
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ docs/src/**/*_files/libs
1414
docs/src/**/*.html
1515
docs/src/**/*.ipynb
1616
docs/src/**/*Manifest.toml
17+
docs/src_stash/*.ipynb

dev/doubleMM.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ end
137137
() -> begin # optimized loss is indeed lower than with true parameters
138138
int_ϕθP = ComponentArrayInterpreter(CA.ComponentVector(
139139
ϕg = 1:length(prob0.ϕg), θP = prob0.θP))
140-
loss_gf = get_loss_gf(prob0.g, prob0.transM, prob0.transP, prob0.f, Float32[], int_ϕθP)
140+
loss_gf = get_loss_gf(prob0.g, prob0.transM, prob0.transP, prob0.f, Float32[], py, int_ϕθP)
141141
loss_gf(vcat(prob3.ϕg, prob3.θP), xM, xP, y_o, y_unc, i_sites)[1]
142142
loss_gf(vcat(prob3o.ϕg, prob3o.θP), xM, xP, y_o, y_unc, i_sites)[1]
143143
#

docs/make.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ makedocs(;
2424
],
2525
"How to" => [
2626
".. use GPU" => "tutorials/lux_gpu.md",
27+
".. specify log-Likelihood" => "tutorials/logden_user.md",
2728
".. model independent parameters" => "tutorials/blocks_corr.md",
2829
".. model site-global corr" => "tutorials/corr_site_global.md",
2930
],
11.2 KB
Loading
-452 Bytes
Loading
2.7 KB
Loading
-14.1 KB
Loading
-6.12 KB
Loading
7.42 KB
Loading
-2.34 KB
Loading

0 commit comments

Comments
 (0)