Skip to content
Merged

Dev #39

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
608c6cc
let PBM return a tuple of observations and additional quantities.
bgctw Mar 25, 2026
6e0ee39
replace penalty_loss_function by callable AbstractPenaltyComputer
bgctw Mar 26, 2026
ffaac17
let PenaltyComputer return several components
bgctw Mar 27, 2026
ca49e27
fix type inference with penalties
bgctw Mar 30, 2026
d42e8ea
remove n_covar from HybridProblem
bgctw Mar 30, 2026
c00f3cc
make RangeScalingModelApplicator apply only to range of parameters
bgctw Mar 31, 2026
81ae48f
working on AbstractMeanScalingHVIApproximation
bgctw Apr 1, 2026
8130d1c
Implement OneBasedVectorWithZero
bgctw Apr 2, 2026
36d1452
Implement OneBasedVectorWithZero
bgctw Apr 2, 2026
28ed023
Merge branch 'dev' of github.com:EarthyScience/HybridVariationalInfer…
bgctw Apr 2, 2026
91798bd
move indices up into Approximation class
bgctw Apr 7, 2026
80e82e1
test M3 scenario with 2 scaling blocks
bgctw Apr 7, 2026
9fde895
update the tutorial to use the ScalingHVIApproximation
bgctw Apr 8, 2026
8cc64ee
generating synthetic data with clustered sites
bgctw Apr 9, 2026
d98abe3
fix PointSolver to ignore ML uncertainty components
bgctw Apr 10, 2026
1469681
inspect HVI inversion of clustered sites
bgctw Apr 10, 2026
09a5a81
batch_fac
bgctw Apr 10, 2026
f069c53
fit and plot mode rather than median
bgctw Apr 11, 2026
9527e25
move clustered_sites.qmd to its own project
bgctw Apr 11, 2026
16f92ee
implement scaling loss and elbo components by cluster_frac
bgctw Apr 13, 2026
5dbd55c
invert clustered_sites with cluster scaling
bgctw Apr 14, 2026
10fe6c2
factor out get_cholesky_correlation_Ms and get_marginal_std
bgctw Apr 16, 2026
cf5fce6
determine overdispersion in cluster
bgctw Apr 21, 2026
a31ad10
continue working on overdispersion
bgctw Apr 24, 2026
2942783
plotting inferred clusters results
bgctw Apr 28, 2026
c128199
do not downsclale penalties in cluster
bgctw Apr 30, 2026
9a3c945
remove y_o from penalty computer
bgctw May 11, 2026
96bb5dd
typos
bgctw May 11, 2026
807dec8
rerun tutorials
bgctw May 11, 2026
d2dbc5e
typos: ignore bse
bgctw May 11, 2026
51cbcbb
fix typo in docs/make.jl
bgctw May 11, 2026
caa6216
fix doctests
bgctw May 11, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,8 @@ docs/src_stash/test1_files/figure-commonmark/fig-limits-output-1.svg
docs/src_stash/*_files
docs/src_stash/*.md
docs/src_stash/*.html
docs/src/tutorials/intermediate/clustered_sites_probo_allsites.jld2

projects/clustered_sites/intermediate/*

build/*
16 changes: 14 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,18 @@ version = "0.2.0"
Bijectors = "76274a88-744f-5084-9051-94815aaf08c4"
BlockDiagonals = "0a1fb500-61f7-11e9-3c65-f5ef3456f9f0"
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
Clustering = "aaaa29a8-35af-508c-8bc3-b662a17a0fe5"
Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa"
CommonSolve = "38540f10-b2f7-11e9-35d8-d573e4eb0ff2"
ComponentArrays = "b0b7db55-cfe3-40fc-9ded-d10e2dbeff66"
DifferentiationInterface = "a0c0ee7d-e4b9-4e03-894e-1c5f64a51d63"
Distances = "b4f34e82-e78d-54a5-968a-f98e89d6e8f7"
DistributionFits = "45214091-1ed4-4409-9bcf-fdb48a05e921"
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b"
Functors = "d9f16b24-f501-4c13-a1f2-28368ffc5196"
GPUArraysCore = "46192b85-c4d5-4398-a991-12ede77f4527"
IterTools = "c8e1da08-722c-5040-9ed9-7db0dc04731e"
KernelAbstractions = "63c18a36-062a-441e-b654-da1e3ab1ce7c"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
LogExpFunctions = "2ab3a3ac-af41-5b50-aa03-7779005ae688"
Expand All @@ -25,6 +28,7 @@ Missings = "e1d29d7a-bbdc-5cf2-9ac0-f12de2c33e28"
NaNMath = "77ba4419-2d1f-58cd-9bb1-8ffee604a2e3"
Optimisers = "3bd65402-5787-11e9-1adc-39752487f4e2"
Optimization = "7f7a1694-90dd-40f0-9382-eb1efda571ba"
PDMats = "90014a1f-27ba-587c-ab20-58faa44d9150"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
Expand All @@ -39,9 +43,12 @@ CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c"
Lux = "b2108857-7c20-44ae-9111-449ecde12c47"
SimpleChains = "de6bee2f-e2f4-4ec7-b6ed-219cc6f6e9e5"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"


[extensions]
HybridVariationalInferenceCUDAExt = "CUDA"
HybridVariationalInferenceDataFramesExt = "DataFrames"
HybridVariationalInferenceFluxExt = "Flux"
HybridVariationalInferenceLuxExt = "Lux"
HybridVariationalInferenceSimpleChainsExt = "SimpleChains"
Expand All @@ -51,16 +58,20 @@ Bijectors = "0.14, 0.15"
BlockDiagonals = "0.1.42, 0.2"
CUDA = "5.7"
ChainRulesCore = "1.25"
Clustering = "0.15.8"
Combinatorics = "1.0.2"
CommonSolve = "0.2.4"
ComponentArrays = "0.15.19"
DataFrames = "1.8.2"
DifferentiationInterface = "0.6.54, 0.7"
Distances = "0.10.12"
DistributionFits = "0.3.9"
Distributions = "0.25.117"
FillArrays = "1.13.0"
Flux = "0.14, 0.15, 0.16"
Functors = "0.4, 0.5"
GPUArraysCore = "0.1, 0.2"
IterTools = "1.10.0"
KernelAbstractions = "0.9.34"
LinearAlgebra = "1.10"
LogExpFunctions = "0.3.29"
Expand All @@ -70,9 +81,10 @@ MLUtils = "0.4.5"
Missings = "1.2.0"
NaNMath = "1.1.3"
Optimisers = "0.4.6"
Optimization = "3.11, 4"
Optimization = "5.3"
PDMats = "0.11.37"
Random = "1.10.0"
SimpleChains = "0.4.8"
SimpleChains = "0.4.7"
StableRNGs = "1.0.2"
StaticArrays = "1.9.13"
StatsBase = "0.34.4"
Expand Down
3 changes: 3 additions & 0 deletions _typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ extend-exclude = ["docs/src_stash/"]
SOM = "SOM"
negLogLik = "negLogLik"
Missings = "Missings"

[default.extend-identifiers]
bse = "bse"
1 change: 1 addition & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ makedocs(;
"How to" => [
".. use GPU" => "tutorials/lux_gpu.md",
".. specify log-Likelihood" => "tutorials/logden_user.md",
".. specify penalties" => "tutorials/penalty.md",
".. model independent parameters" => "tutorials/blocks_corr.md",
".. model site-global corr" => "tutorials/corr_site_global.md",
],
Expand Down
Loading
Loading