Skip to content

Commit

Permalink
Merge branch 'SciML:master' into Bpinn_pde
Browse files Browse the repository at this point in the history
  • Loading branch information
AstitvaAggarwal authored Oct 5, 2023
2 parents 6960497 + 00cc7f5 commit 8c6a46f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
1 change: 0 additions & 1 deletion .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ steps:
matrix:
setup:
version:
- "1.6"
- "1"
group:
- "NNODE"
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:
- Forward
version:
- "1"
- "1.6"
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Flux = "0.13, 0.14"
ForwardDiff = "0.10"
Functors = "0.4"
Integrals = "3.1"
IntegralsCubature = "0.2"
IntegralsCubature = "=0.2.2"
LogDensityProblems = "2"
Lux = "0.4, 0.5"
MCMCChains = "6"
Expand Down
2 changes: 1 addition & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Documenter = "0.27"
DomainSets = "0.6"
Flux = "0.13, 0.14"
Integrals = "3.3"
IntegralsCubature = "0.2"
IntegralsCubature = "=0.2.2"
Lux = "0.4, 0.5"
ModelingToolkit = "8.33"
NeuralPDE = "5.3"
Expand Down
7 changes: 3 additions & 4 deletions docs/src/examples/Lotka_Volterra_BPINNs.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ To make the example more realistic we add random normally distributed noise to t


```julia
# Dataset creation for parameter estimation(30 percent noise)
# Dataset creation for parameter estimation (30% noise)
time = solution.t
u = hcat(solution.u...)
x = u[1, :] + (0.3 .*u[1, :]).*randn(length(u[1, :]))
Expand Down Expand Up @@ -88,8 +88,7 @@ alg1 = NeuralPDE.BNNODE(chainflux,
Normal(2, 2),
Normal(2, 2),
Normal(0, 2),
],
n_leapfrog = 30, progress = true)
], progress = true)

sol_flux_pestim = solve(prob, alg1)

Expand All @@ -98,7 +97,7 @@ alg2 = NeuralPDE.BNNODE(chainlux,
draw_samples = 1000,
phystd = [0.05, 0.05],
priorsNNw = (0.0, 10.0),
n_leapfrog = 30, progress = true)
progress = true)

sol_lux = solve(prob, alg2)

Expand Down

0 comments on commit 8c6a46f

Please sign in to comment.