Skip to content

Commit 6d0bd67

Browse files
Merge pull request #22 from SciML/sb/index_readme
docs: update README and index.md
2 parents f97204a + 559cdcd commit 6d0bd67

File tree

4 files changed

+32
-8
lines changed

4 files changed

+32
-8
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,8 @@
77
[![ColPrac: Contributor's Guide on Collaborative Practices for Community Packages](https://img.shields.io/badge/ColPrac-Contributor%27s%20Guide-blueviolet)](https://github.com/SciML/ColPrac)
88
[![Aqua](https://raw.githubusercontent.com/JuliaTesting/Aqua.jl/master/badge.svg)](https://github.com/JuliaTesting/Aqua.jl)
99

10-
## Build UDEs with ModelingToolkit
10+
ModelingToolkitNeuralNets.jl is a package to create neural network blocks defined similar to MTKStandardLibrary components, to use them for solving Universal Differential Equations. It can be plugged to any part of the equations in an ODESystem using `RealInputArray` and `RealOutputArray` components which gives a lot of flexibility to add the missing physics only to a part of the model.
11+
12+
## Tutorials and Documentation
13+
14+
For information on using the package, [see the stable documentation](https://docs.sciml.ai/ModelingToolkitNeuralNets/stable/). Use the [in-development documentation](https://docs.sciml.ai/ModelingToolkitNeuralNets/dev/) for the version of the documentation, which contains the unreleased features.

docs/make.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,6 @@ makedocs(;
2929

3030
deploydocs(;
3131
repo = "github.com/SciML/ModelingToolkitNeuralNets.jl",
32-
devbranch = "main"
32+
devbranch = "main",
33+
push_preview = true
3334
)

docs/src/friction.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ res_prob = remake(prob, p = res_p)
152152
res_sol = solve(res_prob, Rodas4(), saveat = sol_ref.t)
153153
@test first.(sol_ref.u)≈first.(res_sol.u) rtol=1e-3 #hide
154154
@test friction.(first.(sol_ref.u))≈(Fu .- first.(res_sol(res_sol.t, Val{1}).u)) rtol=1e-1 #hide
155+
nothing #hide
155156
```
156157

157158
Also, it would be interesting to check the simulation before the training to get an idea of the starting point of the network.

docs/src/index.md

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,35 @@
22
CurrentModule = ModelingToolkitNeuralNets
33
```
44

5-
# ModelingToolkitNeuralNets
5+
# ModelingToolkitNeuralNets.jl
66

7-
Documentation for [ModelingToolkitNeuralNets](https://github.com/SciML/ModelingToolkitNeuralNets.jl).
7+
ModelingToolkitNeuralNets.jl is a package to create neural network components defined similar to MTKStandardLibrary components, to use them for solving Universal Differential Equations. It can be plugged to any part of the equations in an ODESystem using `RealInputArray` and `RealOutputArray` components which gives a lot of flexibility to add missing physics only to the relevant parts of the model.
88

9-
```@index
10-
```
9+
## Installation
10+
11+
To install ModelingToolkitNeuralNets.jl, use the Julia package manager:
1112

12-
```@autodocs
13-
Modules = [ModelingToolkitNeuralNets]
13+
```julia
14+
using Pkg
15+
Pkg.add("ModelingToolkitNeuralNets")
1416
```
1517

18+
## Contributing
19+
20+
- Please refer to the
21+
[SciML ColPrac: Contributor's Guide on Collaborative Practices for Community Packages](https://github.com/SciML/ColPrac/blob/master/README.md)
22+
for guidance on PRs, issues, and other matters relating to contributing to SciML.
23+
24+
- See the [SciML Style Guide](https://github.com/SciML/SciMLStyle) for common coding practices and other style decisions.
25+
- There are a few community forums:
26+
27+
+ The #diffeq-bridged and #sciml-bridged channels in the
28+
[Julia Slack](https://julialang.org/slack/)
29+
+ The #diffeq-bridged and #sciml-bridged channels in the
30+
[Julia Zulip](https://julialang.zulipchat.com/#narrow/stream/279055-sciml-bridged)
31+
+ On the [Julia Discourse forums](https://discourse.julialang.org)
32+
+ See also [SciML Community page](https://sciml.ai/community/)
33+
1634
## Reproducibility
1735

1836
```@raw html

0 commit comments

Comments
 (0)