From d2728e020b0482b83e1d0f5b3d6e49ac1ef3f002 Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Thu, 6 Mar 2025 13:32:06 -0500 Subject: [PATCH 1/4] Test master --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index ecd8658343..473a58665a 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ compared with classical methods. ## Installation + Assuming that you already have Julia correctly installed, it suffices to install NeuralPDE.jl in the standard way, that is, by typing `] add NeuralPDE`. Note: to exit the Pkg REPL-mode, just press Backspace or Ctrl + C. From 4771c695196d552bee2732c3f243648a425d5da8 Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Thu, 6 Mar 2025 15:08:41 -0500 Subject: [PATCH 2/4] Update BPINN_tests.jl --- test/BPINN_tests.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/BPINN_tests.jl b/test/BPINN_tests.jl index 37dc4e54d2..5a0f15ff42 100644 --- a/test/BPINN_tests.jl +++ b/test/BPINN_tests.jl @@ -44,8 +44,8 @@ meanscurve = prob.u0 .+ (t .- prob.tspan[1]) .* luxmean # --------------------- ahmc_bayesian_pinn_ode() call - @test mean(abs.(x̂ .- meanscurve)) < 0.05 - @test mean(abs.(physsol1 .- meanscurve)) < 0.005 + @test mean(abs.(x̂ .- meanscurve)) < 0.06 + @test mean(abs.(physsol1 .- meanscurve)) < 0.006 #--------------------- solve() call @test mean(abs.(x̂1 .- pmean(sol1lux.ensemblesol[1]))) < 0.025 From 4c18b29c819d80a76065699ce1b493f2305935c9 Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Thu, 6 Mar 2025 15:09:34 -0500 Subject: [PATCH 3/4] Update BPINN_PDE_tests.jl --- test/BPINN_PDE_tests.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/BPINN_PDE_tests.jl b/test/BPINN_PDE_tests.jl index 4f7caea7ef..450227703c 100644 --- a/test/BPINN_PDE_tests.jl +++ b/test/BPINN_PDE_tests.jl @@ -30,7 +30,7 @@ u_predict = pmean(sol1.ensemblesol[1]) # absol tests - @test mean(abs, u_predict .- u_real) < 5e-2 + @test mean(abs, u_predict .- u_real) < 7e-2 end @testitem "BPINN PDE II: 1D ODE" tags=[:pdebpinn] begin From 59f261e5fc95d794cd9f418bf16d1dff31df08d3 Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Sat, 8 Mar 2025 07:39:20 -0500 Subject: [PATCH 4/4] Update pino_ode.md --- docs/src/tutorials/pino_ode.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/tutorials/pino_ode.md b/docs/src/tutorials/pino_ode.md index fb4d2790d9..e4978b921d 100644 --- a/docs/src/tutorials/pino_ode.md +++ b/docs/src/tutorials/pino_ode.md @@ -21,11 +21,11 @@ u0 = 1.0 prob = ODEProblem(equation, u0, tspan) # Set the number of parameters for the ODE -number_of_parameter = 3 +number_of_parameters = 3 # Define the DeepONet architecture for the PINO deeponet = NeuralOperators.DeepONet( Chain( - Dense(number_of_parameter => 10, Lux.tanh_fast), Dense(10 => 10, Lux.tanh_fast), Dense(10 => 10)), + Dense(number_of_parameters => 10, Lux.tanh_fast), Dense(10 => 10, Lux.tanh_fast), Dense(10 => 10)), Chain(Dense(1 => 10, Lux.tanh_fast), Dense(10 => 10, Lux.tanh_fast), Dense(10 => 10, Lux.tanh_fast)))