Skip to content

Commit 5d9bbb5

Browse files
clean tests and docs
1 parent 3160987 commit 5d9bbb5

File tree

12 files changed

+7
-54
lines changed

12 files changed

+7
-54
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ The package makes use of
3939
- SparseArrays.jl to speed up symbolic computations.
4040
- Optim.jl and NLopt.jl to provide a range of different Optimizers/Linesearches.
4141
- ProximalAlgorithms.jl for regularization.
42-
- FiniteDiff.jl and ForwardDiff.jl to provide gradients for user-defined loss functions.
42+
- FiniteDiff.jl and to provide gradient approximations for user-defined loss functions.
4343

4444
# At the moment, we are still working on:
4545
- optimizing performance for big models (with hundreds of parameters)

docs/src/developer/loss.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ julia>?
204204

205205
help?> RAM
206206

207-
help?> SemObservedCommon
207+
help?> SemObservedData
208208
```
209209

210210
We see that the model implied covariance matrix can be assessed as `Σ(implied)` and the observed covariance matrix as `obs_cov(observed)`.

docs/src/developer/observed.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ nsamples(observed::MyObserved) = ...
2828
nobserved_vars(observed::MyObserved) = ...
2929
```
3030

31-
As always, you can add additional methods for properties that implied types and loss function want to access, for example (from the `SemObservedCommon` implementation):
31+
As always, you can add additional methods for properties that implied types and loss function want to access, for example (from the `SemObservedData` implementation):
3232

3333
```julia
34-
obs_cov(observed::SemObservedCommon) = observed.obs_cov
34+
obs_cov(observed::SemObservedData) = observed.obs_cov
3535
```

docs/src/internals/files.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Source code is in the `"src"` folder:
1010
- `"StructuralEquationModels.jl"` defines the module and the exported objects
1111
- `"types.jl"` defines all abstract types and the basic type hierarchy
1212
- `"objective_gradient_hessian.jl"` contains methods for computing objective, gradient and hessian values for different model types as well as generic fallback methods
13-
- The four folders `"observed"`, `"implied"`, `"loss"` and `"diff"` contain implementations of specific subtypes (for example, the `"loss"` folder contains a file `"ML.jl"` that implements the `SemML` loss function).
13+
- The folders `"observed"`, `"implied"`, and `"loss"` contain implementations of specific subtypes (for example, the `"loss"` folder contains a file `"ML.jl"` that implements the `SemML` loss function).
1414
- `"optimizer"` contains connections to different optimization backends (aka methods for `fit`)
1515
- `"optim.jl"`: connection to the `Optim.jl` package
1616
- `"frontend"` contains user-facing functions

docs/src/performance/simulation.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# Simulation studies
22

3-
!!! note "Simulation study interface"
4-
We are currently working on an interface for simulation studies.
5-
Until we are finished with this, this page is just a collection of tips.
6-
73
## Replace observed data
84
In simulation studies, a common task is fitting the same model to many different datasets.
95
It would be a waste of resources to reconstruct the complete model for each dataset.

docs/src/tutorials/construction/outer_constructor.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ Structural Equation Model
1414
- Loss Functions
1515
SemML
1616
- Fields
17-
observed: SemObservedCommon
18-
implied: RAM
19-
optimizer: SemOptimizerOptim
17+
observed: SemObservedData
18+
implied: RAM
2019
```
2120

2221
The output of this call tells you exactly what model you just constructed (i.e. what the loss functions, observed, implied and optimizer parts are).

test/unit_tests/bootstrap.jl

Lines changed: 0 additions & 5 deletions
This file was deleted.

test/unit_tests/partable_dataframe.jl

Lines changed: 0 additions & 3 deletions
This file was deleted.

test/unit_tests/ridge_id.jl

Lines changed: 0 additions & 8 deletions
This file was deleted.

test/unit_tests/sorting.jl

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)