Skip to content

Commit 105e369

Browse files
committed
typos
1 parent e24ff54 commit 105e369

File tree

11 files changed

+15
-15
lines changed

11 files changed

+15
-15
lines changed

dev/doubleMM.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,8 @@ histogram(θsP)
325325
# resopt.objective
326326
# probo = prob3o = HybridProblem(prob2; ϕg = cpu_ca(ϕ).ϕg, θP = θP, ϕunc = cpu_ca(ϕ).unc)
327327

328-
solver_post2 = HybridPosteriorSovler(solver_post; n_MC = 30)
329-
#solver_post2 = HybridPosteriorSovler(solver_post; n_MC = 3)
328+
solver_post2 = HybridPosteriorSolver(solver_post; n_MC = 30)
329+
#solver_post2 = HybridPosteriorSolver(solver_post; n_MC = 3)
330330
n_rep = 30
331331
n_batchf = n_site
332332
n_batchf = n_site ÷ 10
@@ -632,7 +632,7 @@ lineplot!(plt, 0, 1)
632632
set_default_AoGTheme!(;makie_config)
633633

634634
using ColorBrewer: ColorBrewer
635-
# two same colors for hmc anc hvi , additional for further unspecified labels
635+
# two same colors for hmc and hvi , additional for further unspecified labels
636636
cDark2 = cgrad(ColorBrewer.palette("Dark2",3),3,categorical=true)
637637
#color_methods = vcat([k => col for (k, col) in zip([:hmc, :hvi], cDark2[1:2])], cDark2[3], Makie.wong_colors()[2:end]);
638638
cpal0 = Makie.wong_colors()

docs/src/explanation/theory_hvi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ the cholesky factors of the covariance and correlation matrices respectively. Th
8989
upper triangular matrices.
9090

9191
Since, the block-diagonal structure of the correlation matrix carries over to the cholesky
92-
factor, $U_C$ is a block-diagnonal matrix of smaller cholesky factors. If HVI modeled the
92+
factor, $U_C$ is a block-diagonal matrix of smaller cholesky factors. If HVI modeled the
9393
depence between $\zeta_{Ms}$ and $\zeta_P$, the correlation matrhix would have an
9494
additional block repeated in the first row and its transpose repeated in the first column
9595
in $\Sigma$, leading to a cholesky factor $U_C$ having entries in all the rows.

docs/src/problem.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ For example we have soil organic matter process-model that predicts carbon stock
1313
different sites. We need to parameterize the unknown carbon use efficiency (CUE) of the soil
1414
microbial community that differs by site, but is hypothesized to correlate with climate variables
1515
and pedogenic factors, such as clay content.
16-
We apply a machine learnign model to estimate CUE and fit it end-to-end with other
16+
We apply a machine learning model to estimate CUE and fit it end-to-end with other
1717
parameters of the process-model to observed carbon stocks.
1818
In addition to the predicted CUE, we are interested in the uncertainty of CUE and its correlation with other parameters, such a the capacity of the soil minerals to bind carbon.
1919
I.e. we are interetes in the entire posterior probability distribution of the model parameters.

docs/src/tutorials/basic_cpu.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ priors_dict = Dict{Symbol, Distribution}(
116116

117117
## Observations, model drivers and covariates
118118

119-
The model paraemters are inverted using information on the
119+
The model parameters are inverted using information on the
120120
- observed data, `y_o`
121121
- its uncertainty, `y_unc`
122122
- known covariates across sites, `xM`
@@ -151,7 +151,7 @@ components S1 and S2 corresponding to the concentrations, for which outputs
151151
were observed.
152152
This allows notation `x.S1` in the PBM above.
153153

154-
The `y_unc` becomes its meaning by the Liklihood-function to be specified with
154+
The `y_unc` becomes its meaning by the Likelihood-function to be specified with
155155
the problem below.
156156

157157
### Providing data in batches

docs/src/tutorials/basic_cpu.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ priors_dict = Dict{Symbol, Distribution}(
121121

122122
## Observations, model drivers and covariates
123123

124-
The model paraemters are inverted using information on the
124+
The model parameters are inverted using information on the
125125
- observed data, `y_o`
126126
- its uncertainty, `y_unc`
127127
- known covariates across sites, `xM`
@@ -160,7 +160,7 @@ components S1 and S2 corresponding to the concentrations, for which outputs
160160
were observed.
161161
This allows notation `x.S1` in the PBM above.
162162

163-
The `y_unc` becomes its meaning by the Liklihood-function to be specified with
163+
The `y_unc` becomes its meaning by the Likelihood-function to be specified with
164164
the problem below.
165165

166166
### Providing data in batches

docs/src/tutorials/how_to_guides/blocks_corr.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ In each column of the model drivers there is a ComponentVector with
203203
components S1 and S2 corresponding to the concentrations, for which outputs
204204
were observed.
205205

206-
The `y_unc` becomes its meaning by the Liklihood-function to be specified with
206+
The `y_unc` becomes its meaning by the Likelihood-function to be specified with
207207
the problem below.
208208

209209
### Providing data in Batches

docs/src/tutorials/how_to_guides/corr_site_global.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ In each column of the model drivers there is a ComponentVector with
194194
components S1 and S2 corresponding to the concentrations, for which outputs
195195
were observed.
196196

197-
The `y_unc` becomes its meaning by the Liklihood-function to be specified with
197+
The `y_unc` becomes its meaning by the Likelihood-function to be specified with
198198
the problem below.
199199

200200
### Providing data in Batches

docs/src/tutorials/inspect_results.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ fig
118118
![](inspect_results_files/figure-commonmark/cell-11-output-1.png)
119119

120120
We see that *K*₁ across sites ranges from about 0.18 to 0.25, and that
121-
its estimated uncertainty is aobut 0.034, slightly decreasing with the
121+
its estimated uncertainty is about 0.034, slightly decreasing with the
122122
values of the parameter.
123123

124124
## Predictive Posterior

docs/src/tutorials/inspect_results.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ fig
124124
```
125125

126126
We see that $K_1$ across sites ranges from about 0.18 to 0.25, and that
127-
its estimated uncertainty is aobut 0.034, slightly decreasing with the
127+
its estimated uncertainty is about 0.034, slightly decreasing with the
128128
values of the parameter.
129129

130130
## Predictive Posterior

src/AbstractHybridProblem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ Return a DataLoader that provides a tuple of
164164
- `xP`: Iterator of process-model drivers, with one element per site
165165
- `y_o`: matrix of observations with added noise, with one column per site
166166
- `y_unc`: matrix `sizeof(y_o)` of uncertainty information
167-
- `i_sites`: Vector of indices of sites in toal sitevector for the minibatch
167+
- `i_sites`: Vector of indices of sites in the minibatch
168168
"""
169169
function get_hybridproblem_train_dataloader end
170170

0 commit comments

Comments
 (0)