Skip to content

Commit f218ae4

Browse files
committed
typos
1 parent f199b31 commit f218ae4

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

_typos.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[default.extend-words]
2-
SOM = "SOM"
2+
SOM = "SOM"
3+
negLogLik = "negLogLik"

dev/doubleMM.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ end
381381
save("ys_density.pdf", fig)
382382
save("tmp.svg", fig)
383383

384-
#slighly worse (higher) negLogLik
384+
#slightly worse (higher) negLogLikelihood
385385
df = DataFrame(nL = vcat(nLs, nLsc),
386386
scenario = vcat(fill.(["unconstrained", "meanθ"], n_sample_pred)...))
387387
plt = data(df) * mapping(:nL => "-logDensity", color = :scenario => "Scenario") *

src/AbstractHybridProblem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ gdev is applied to xM.
176176
If :f_on_gpu is in scenario tuple, gdev is also applied to `xP`, `y_o`, and `y_unc`,
177177
to put the entire data to gpu.
178178
Alternatively, gdev could be applied to the dataloader, then for each
179-
iteration the subset of data is separatly transferred to gpu.
179+
iteration the subset of data is separately transferred to gpu.
180180
"""
181181
function construct_dataloader_from_synthetic(rng::AbstractRNG, prob::AbstractHybridProblem;
182182
scenario = (), n_batch,

src/HybridSolver.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Create a loss function for parameter vector ϕ, given
131131
- `interpreters`: assigning structure to pure vectors, see `neg_elbo_gtf`
132132
- `n_MC`: number of Monte-Carlo sample to approximate the expected value across distribution
133133
- `pbm_covars`: tuple of symbols of process-based parameters provided to the ML model
134-
- `θP`: CompoenntVector as a template to select indices of pbm_covars
134+
- `θP`: ComponentVector as a template to select indices of pbm_covars
135135
136136
The loss function takes in addition to ϕ, data that changes with minibatch
137137
- `rng`: random generator

test/test_elbo.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ test_scenario = (scenario) -> begin
173173
# # currently only works with identity transformations but not elementwise(exp)
174174
# transPM_ident = get_hybridproblem_transforms(prob; scenario = (scenario..., :transIdent))
175175
# get_transPMs_ident = (() -> begin
176-
# # wrap in function to not overide get_transPMs
176+
# # wrap in function to not override get_transPMs
177177
# (; get_transPMs) = init_hybrid_params(
178178
# θP_true, θMs_true[:, 1], cor_ends, ϕg0, n_batch;
179179
# transP = transPM_ident.transP, transM = transPM_ident.transM);

0 commit comments

Comments
 (0)