Skip to content

Instantly share code, notes, and snippets.

View AdriaCoding's full-sized avatar
🤖
Astoundingly awesome

Adrià Lisa Bou AdriaCoding

🤖
Astoundingly awesome
  • Barcelona
  • 00:28 (UTC -12:00)
View GitHub Profile
@AdriaCoding
AdriaCoding / Leigh1968_harelynx.csv
Last active May 27, 2024 20:48 — forked from michaelosthege/Leigh1968_harelynx.csv
Hudson Bay company Lynx-Hare dataset from Leigh 1968, parsed from paper copy http://katalog.ub.uni-heidelberg.de/titel/66489211 (This is the entire Table II)
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
@AdriaCoding
AdriaCoding / Leigh1968_harelynx.csv
Created May 27, 2024 20:45 — forked from michaelosthege/Leigh1968_harelynx.csv
Hudson Bay company Lynx-Hare dataset from Leigh 1968, parsed from paper copy http://katalog.ub.uni-heidelberg.de/titel/66489211 (This is the entire Table II)
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
@AdriaCoding
AdriaCoding / Lokta_Volterra_NeuralODE.jl
Last active May 22, 2024 20:06
Lokta-Volterra NeuralODE using Lux.jl
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
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