This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
year | hare | lynx | |
---|---|---|---|
1847 | 21000 | 49000 | |
1848 | 12000 | 21000 | |
1849 | 24000 | 9000 | |
1850 | 50000 | 7000 | |
1851 | 80000 | 5000 | |
1852 | 80000 | 5000 | |
1853 | 90000 | 11000 | |
1854 | 69000 | 22000 | |
1855 | 80000 | 33000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
year | hare | lynx | |
---|---|---|---|
1847 | 21000 | 49000 | |
1848 | 12000 | 21000 | |
1849 | 24000 | 9000 | |
1850 | 50000 | 7000 | |
1851 | 80000 | 5000 | |
1852 | 80000 | 5000 | |
1853 | 90000 | 11000 | |
1854 | 69000 | 22000 | |
1855 | 80000 | 33000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using DifferentialEquations, Lux, DiffEqFlux, Plots | |
using Optimization, ComponentArrays, Random | |
using OptimizationOptimisers: Adam | |
function lotka_volterra(du, u, p, t) | |
x, y = u | |
α, β, δ, γ = p | |
du[1] = dx = α*x - β*x*y | |
du[2] = dy = -γ*y + δ*x*y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERROR: Cannot install -r requirements.txt (line 2) and -r requirements.txt (line 3) because these package versions have conflicting dependencies. | |
The conflict is caused by: | |
fastapi 0.85.0 depends on starlette==0.20.4 | |
fastapi-sqlalchemy 0.1.3 depends on starlette<=0.12.9 and >=0.12.9 | |
fastapi 0.85.0 depends on starlette==0.20.4 | |
fastapi-sqlalchemy 0.1.2 depends on starlette<=0.12.9 and >=0.12.9 | |
fastapi 0.85.0 depends on starlette==0.20.4 | |
fastapi-sqlalchemy 0.1.1 depends on starlette<=0.12.9 and >=0.12.9 | |
fastapi 0.85.0 depends on starlette==0.20.4 |