Skip to content

Commit 847e86e

Browse files
authored
Merge pull request #93 from pat-alt/92-extra-things
additional plots for poster and slides
2 parents 6ef94a9 + 4a3ae1f commit 847e86e

File tree

8 files changed

+174
-34
lines changed

8 files changed

+174
-34
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
version:
2121
- '1.8'
2222
- '1.9'
23-
- 'nightly'
23+
- '1.10'
2424
os:
2525
- ubuntu-latest
2626
arch:

README.md

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,14 @@ All results have been carefully reported either in the paper itself or in the su
1414

1515
## Reproducing the Results
1616

17-
To reproduce the results, you need to install the package, which will automatically install all dependencies. Since the package is not publicly registered you will need to install it from source. To do so, start `Julia` from within this folder by executing `julia --project` from the command line and then enter `Pkg` mode by typing `]`. Then execute the following commands:
17+
This repo contains a small Julia package that will eventually be merged into [CounterfactualExplanations.jl](https://github.com/JuliaTrustworthyAI/CounterfactualExplanations.jl) and is therefore not registered on the general registry. You can install the package directly from here as follows:
1818

1919
```julia
20-
(ECCCo) pkg> resolve
21-
(ECCCo) pkg> instantiate
20+
using Pkg
21+
Pkg.add(url="https://github.com/pat-alt/ECCCo.jl")
2222
```
2323

24-
Next, you may need to activate, resolve and instantiate the environment in `experiments`:
25-
26-
```julia
27-
(ECCCo) pkg> activate experiments/
28-
Activating project at `~/code/ECCCo.jl/experiments`
29-
(experiments) pkg> resolve
30-
(experiments) pkg> instantiate
31-
```
32-
33-
After that is done, you can exit Julia and proceed below.
24+
This will automatically set up the environment and install all the necessary dependencies.
3425

3526
### Sequential
3627

experiments/Manifest.toml

Lines changed: 55 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# This file is machine-generated - editing it directly is not advised
22

3-
julia_version = "1.9.4"
3+
julia_version = "1.10.0"
44
manifest_format = "2.0"
5-
project_hash = "5d48f7cf5cadfbdd7c3a406f246e38c216e6bb1e"
5+
project_hash = "5c523a6dd596c2f1fd88fd25ded07ec0da238d2f"
66

77
[[deps.ARFFFiles]]
88
deps = ["CategoricalArrays", "Dates", "Parsers", "Tables"]
@@ -377,7 +377,7 @@ weakdeps = ["Dates", "LinearAlgebra"]
377377
[[deps.CompilerSupportLibraries_jll]]
378378
deps = ["Artifacts", "Libdl"]
379379
uuid = "e66e0078-7015-5450-92f7-15fbd957f2ae"
380-
version = "1.0.5+0"
380+
version = "1.0.5+1"
381381

382382
[[deps.CompositionsBase]]
383383
git-tree-sha1 = "802bb88cd69dfd1509f6670416bd4434015693ad"
@@ -1193,6 +1193,12 @@ version = "0.9.14"
11931193
[deps.KernelAbstractions.weakdeps]
11941194
EnzymeCore = "f151be2c-9106-41f4-ab19-57ee4f262869"
11951195

1196+
[[deps.KernelDensity]]
1197+
deps = ["Distributions", "DocStringExtensions", "FFTW", "Interpolations", "StatsBase"]
1198+
git-tree-sha1 = "fee018a29b60733876eb557804b5b109dd3dd8a7"
1199+
uuid = "5ab0869b-81aa-558d-bb23-cbf5423bbe9b"
1200+
version = "0.6.8"
1201+
11961202
[[deps.LAME_jll]]
11971203
deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"]
11981204
git-tree-sha1 = "f6250b16881adf048549549fba48b1161acdac8c"
@@ -1295,9 +1301,14 @@ uuid = "deac9b47-8bc7-5906-a0fe-35ac56dc84c0"
12951301
version = "8.4.0+0"
12961302

12971303
[[deps.LibGit2]]
1298-
deps = ["Base64", "NetworkOptions", "Printf", "SHA"]
1304+
deps = ["Base64", "LibGit2_jll", "NetworkOptions", "Printf", "SHA"]
12991305
uuid = "76f85450-5226-5b5a-8eaa-529ad045b433"
13001306

1307+
[[deps.LibGit2_jll]]
1308+
deps = ["Artifacts", "LibSSH2_jll", "Libdl", "MbedTLS_jll"]
1309+
uuid = "e37daf67-58a4-590a-8e99-b0245dd2ffc5"
1310+
version = "1.6.4+0"
1311+
13011312
[[deps.LibSSH2_jll]]
13021313
deps = ["Artifacts", "Libdl", "MbedTLS_jll"]
13031314
uuid = "29816b5a-b9ab-546f-933c-edad1886dfa8"
@@ -1566,7 +1577,7 @@ version = "1.1.9"
15661577
[[deps.MbedTLS_jll]]
15671578
deps = ["Artifacts", "Libdl"]
15681579
uuid = "c8ffd9c3-330d-5841-b78e-0817d7145fa1"
1569-
version = "2.28.2+0"
1580+
version = "2.28.2+1"
15701581

15711582
[[deps.Measures]]
15721583
git-tree-sha1 = "c13304c81eec1ed3af7fc20e75fb6b26092a1102"
@@ -1620,7 +1631,7 @@ version = "0.3.4"
16201631

16211632
[[deps.MozillaCACerts_jll]]
16221633
uuid = "14a3606d-f60d-562e-9121-12d972cd8159"
1623-
version = "2022.10.11"
1634+
version = "2023.1.10"
16241635

16251636
[[deps.MultivariateStats]]
16261637
deps = ["Arpack", "LinearAlgebra", "SparseArrays", "Statistics", "StatsBase"]
@@ -1724,6 +1735,11 @@ weakdeps = ["Graphs"]
17241735
uuid = "ca575930-c2e3-43a9-ace4-1e988b2c1908"
17251736
version = "1.2.0"
17261737

1738+
[[deps.Observables]]
1739+
git-tree-sha1 = "7438a59546cf62428fc9d1bc94729146d37a7225"
1740+
uuid = "510215fc-4207-5dde-b226-833fc4488ee2"
1741+
version = "0.5.5"
1742+
17271743
[[deps.OffsetArrays]]
17281744
deps = ["Adapt"]
17291745
git-tree-sha1 = "2ac17d29c523ce1cd38e27785a7d23024853a4bb"
@@ -1745,7 +1761,7 @@ version = "0.2.4"
17451761
[[deps.OpenBLAS_jll]]
17461762
deps = ["Artifacts", "CompilerSupportLibraries_jll", "Libdl"]
17471763
uuid = "4536629a-c528-5b80-bd46-f80d51c5b363"
1748-
version = "0.3.21+4"
1764+
version = "0.3.23+2"
17491765

17501766
[[deps.OpenEXR]]
17511767
deps = ["Colors", "FileIO", "OpenEXR_jll"]
@@ -1762,7 +1778,7 @@ version = "3.1.4+0"
17621778
[[deps.OpenLibm_jll]]
17631779
deps = ["Artifacts", "Libdl"]
17641780
uuid = "05823500-19ac-5b8b-9628-191a04bc5112"
1765-
version = "0.8.1+0"
1781+
version = "0.8.1+2"
17661782

17671783
[[deps.OpenML]]
17681784
deps = ["ARFFFiles", "HTTP", "JSON", "Markdown", "Pkg", "Scratch"]
@@ -1814,7 +1830,7 @@ version = "1.6.3"
18141830
[[deps.PCRE2_jll]]
18151831
deps = ["Artifacts", "Libdl"]
18161832
uuid = "efcefdf7-47ab-520b-bdef-62a2eaa19f15"
1817-
version = "10.42.0+0"
1833+
version = "10.42.0+1"
18181834

18191835
[[deps.PDMats]]
18201836
deps = ["LinearAlgebra", "SparseArrays", "SuiteSparse"]
@@ -1884,7 +1900,7 @@ version = "0.42.2+0"
18841900
[[deps.Pkg]]
18851901
deps = ["Artifacts", "Dates", "Downloads", "FileWatching", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "REPL", "Random", "SHA", "Serialization", "TOML", "Tar", "UUIDs", "p7zip_jll"]
18861902
uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
1887-
version = "1.9.2"
1903+
version = "1.10.0"
18881904

18891905
[[deps.PkgTemplates]]
18901906
deps = ["Dates", "InteractiveUtils", "LibGit2", "Mocking", "Mustache", "Parameters", "Pkg", "REPL", "UUIDs"]
@@ -2031,7 +2047,7 @@ deps = ["InteractiveUtils", "Markdown", "Sockets", "Unicode"]
20312047
uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
20322048

20332049
[[deps.Random]]
2034-
deps = ["SHA", "Serialization"]
2050+
deps = ["SHA"]
20352051
uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
20362052

20372053
[[deps.Random123]]
@@ -2223,6 +2239,7 @@ version = "1.2.0"
22232239
[[deps.SparseArrays]]
22242240
deps = ["Libdl", "LinearAlgebra", "Random", "Serialization", "SuiteSparse_jll"]
22252241
uuid = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
2242+
version = "1.10.0"
22262243

22272244
[[deps.SparseInverseSubset]]
22282245
deps = ["LinearAlgebra", "SparseArrays", "SuiteSparse"]
@@ -2299,7 +2316,7 @@ version = "3.2.0"
22992316
[[deps.Statistics]]
23002317
deps = ["LinearAlgebra", "SparseArrays"]
23012318
uuid = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
2302-
version = "1.9.0"
2319+
version = "1.10.0"
23032320

23042321
[[deps.StatsAPI]]
23052322
deps = ["LinearAlgebra"]
@@ -2327,6 +2344,12 @@ version = "1.3.0"
23272344
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
23282345
InverseFunctions = "3587e190-3f89-42d0-90ee-14403ec27112"
23292346

2347+
[[deps.StatsPlots]]
2348+
deps = ["AbstractFFTs", "Clustering", "DataStructures", "Distributions", "Interpolations", "KernelDensity", "LinearAlgebra", "MultivariateStats", "NaNMath", "Observables", "Plots", "RecipesBase", "RecipesPipeline", "Reexport", "StatsBase", "TableOperations", "Tables", "Widgets"]
2349+
git-tree-sha1 = "9115a29e6c2cf66cf213ccc17ffd61e27e743b24"
2350+
uuid = "f3b207a7-027a-5e70-b257-86293d7955fd"
2351+
version = "0.15.6"
2352+
23302353
[[deps.Strided]]
23312354
deps = ["LinearAlgebra", "TupleTools"]
23322355
git-tree-sha1 = "a7a664c91104329c88222aa20264e1a05b6ad138"
@@ -2362,15 +2385,21 @@ deps = ["Libdl", "LinearAlgebra", "Serialization", "SparseArrays"]
23622385
uuid = "4607b0f0-06f3-5cda-b6b1-a6196a1729e9"
23632386

23642387
[[deps.SuiteSparse_jll]]
2365-
deps = ["Artifacts", "Libdl", "Pkg", "libblastrampoline_jll"]
2388+
deps = ["Artifacts", "Libdl", "libblastrampoline_jll"]
23662389
uuid = "bea87d4a-7f5b-5778-9afe-8cc45184846c"
2367-
version = "5.10.1+6"
2390+
version = "7.2.1+1"
23682391

23692392
[[deps.TOML]]
23702393
deps = ["Dates"]
23712394
uuid = "fa267f1f-6049-4f14-aa54-33bafae1ed76"
23722395
version = "1.0.3"
23732396

2397+
[[deps.TableOperations]]
2398+
deps = ["SentinelArrays", "Tables", "Test"]
2399+
git-tree-sha1 = "e383c87cf2a1dc41fa30c093b2a19877c83e1bc1"
2400+
uuid = "ab02a1b2-a7df-11e8-156e-fb1833f50b87"
2401+
version = "1.2.0"
2402+
23742403
[[deps.TableTraits]]
23752404
deps = ["IteratorInterfaceExtensions"]
23762405
git-tree-sha1 = "c06b2f539df1c6efa794486abfb6ed2022561a39"
@@ -2384,10 +2413,10 @@ uuid = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
23842413
version = "1.11.1"
23852414

23862415
[[deps.TaijaPlotting]]
2387-
deps = ["CategoricalArrays", "ConformalPrediction", "CounterfactualExplanations", "DataAPI", "Distributions", "Flux", "LaplaceRedux", "LinearAlgebra", "MLJBase", "ManifoldLearning", "MultivariateStats", "NaturalSort", "NearestNeighborModels", "Plots"]
2388-
git-tree-sha1 = "d54b5bee7ae6e0bee3b3a13dfd662fa090e0b445"
2416+
deps = ["CategoricalArrays", "ConformalPrediction", "CounterfactualExplanations", "DataAPI", "Distributions", "Flux", "LaplaceRedux", "LinearAlgebra", "MLJBase", "MLUtils", "ManifoldLearning", "MultivariateStats", "NaturalSort", "NearestNeighborModels", "Plots"]
2417+
git-tree-sha1 = "a4ef915d36801127141afb726acd8b78be6abec7"
23892418
uuid = "bd7198b4-c7d6-400c-9bab-9a24614b0240"
2390-
version = "1.0.5"
2419+
version = "1.0.6"
23912420

23922421
[[deps.Tar]]
23932422
deps = ["ArgTools", "SHA"]
@@ -2575,6 +2604,12 @@ git-tree-sha1 = "b1be2855ed9ed8eac54e5caff2afcdb442d52c23"
25752604
uuid = "ea10d353-3f73-51f8-a26c-33c1cb351aa5"
25762605
version = "1.4.2"
25772606

2607+
[[deps.Widgets]]
2608+
deps = ["Colors", "Dates", "Observables", "OrderedCollections"]
2609+
git-tree-sha1 = "fcdae142c1cfc7d89de2d11e08721d0f2f86c98a"
2610+
uuid = "cc8bc4a8-27d6-5769-a93b-9d913e69aa62"
2611+
version = "0.6.6"
2612+
25782613
[[deps.WoodburyMatrices]]
25792614
deps = ["LinearAlgebra", "SparseArrays"]
25802615
git-tree-sha1 = "5f24e158cf4cee437052371455fe361f526da062"
@@ -2733,7 +2768,7 @@ version = "0.10.1"
27332768
[[deps.Zlib_jll]]
27342769
deps = ["Libdl"]
27352770
uuid = "83775a58-1f1d-513f-b197-d71354ab007a"
2736-
version = "1.2.13+0"
2771+
version = "1.2.13+1"
27372772

27382773
[[deps.Zstd_jll]]
27392774
deps = ["Artifacts", "JLLWrappers", "Libdl"]
@@ -2796,7 +2831,7 @@ version = "0.15.1+0"
27962831
[[deps.libblastrampoline_jll]]
27972832
deps = ["Artifacts", "Libdl"]
27982833
uuid = "8e850b90-86db-534c-a0d3-1478176c7d93"
2799-
version = "5.8.0+0"
2834+
version = "5.8.0+1"
28002835

28012836
[[deps.libfdk_aac_jll]]
28022837
deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"]
@@ -2830,7 +2865,7 @@ version = "1.52.0+1"
28302865
[[deps.p7zip_jll]]
28312866
deps = ["Artifacts", "Libdl"]
28322867
uuid = "3f19e933-33d8-53b3-aaab-bd5110c3b7a0"
2833-
version = "17.4.0+0"
2868+
version = "17.4.0+2"
28342869

28352870
[[deps.x264_jll]]
28362871
deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"]

experiments/Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
1010
ECCCo = "0232c203-4013-4b0d-ad96-43e3e11ac3bf"
1111
Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c"
1212
JointEnergyModels = "48c56d24-211d-4463-bbc0-7a701b291131"
13+
KernelDensity = "5ab0869b-81aa-558d-bb23-cbf5423bbe9b"
1314
LazyArtifacts = "4af54fe1-eca0-43a8-85a7-787d91b784e3"
1415
LibGit2 = "76f85450-5226-5b5a-8eaa-529ad045b433"
1516
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
@@ -26,6 +27,7 @@ MultivariateStats = "6f286f6a-111f-5878-ab1e-185364afe411"
2627
OrderedCollections = "bac558e1-5e72-5ebc-8fee-abe8a469f55d"
2728
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
2829
Serialization = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
30+
StatsPlots = "f3b207a7-027a-5e70-b257-86293d7955fd"
2931
TaijaPlotting = "bd7198b4-c7d6-400c-9bab-9a24614b0240"
3032
cuDNN = "02a925ec-e4fe-4b08-9a7e-0d78e3d38ccd"
3133
ghr_jll = "07c12ed4-43bc-5495-8a2a-d5838ef8d533"

0 commit comments

Comments
 (0)