@@ -5,24 +5,22 @@ using Markdown
55using InteractiveUtils
66
77# ╔═╡ 8183b318-5ebb-11eb-1cd8-a96e8704a378
8- using Pkg, DrWatson, ParetoSmoothedImportanceSampling
8+ using Pkg, DrWatson
99
10- # ╔═╡ d4f7a39c -5ebb-11eb-0a37-4b8499832108
10+ # ╔═╡ 686dac30 -5ebb-11eb-00f1-434980dba906
1111begin
12+ @quickactivate " ParetoSmoothedImportanceSamplng"
13+ using ParetoSmoothedImportanceSampling
1214 using StanSample, StatsFuns, StatsPlots
13- using JSON
15+ using DataFrames, CSV, JSON
16+ end
1417
18+ # ╔═╡ 923212a8-630d-11eb-390f-75d21be80011
19+ begin
1520 ProjDir = joinpath (psis_path, " .." , " examples" , " arsenic" )
1621 include (joinpath (ProjDir, " cvit.jl" ))
1722end ;
1823
19- # ╔═╡ 686dac30-5ebb-11eb-00f1-434980dba906
20- begin
21- cd (psis_path)
22- @quickactivate " ParetoSmoothedImportanceSampling"
23- pkg " instantiate"
24- end
25-
2624# ╔═╡ ca0d916e-5ebe-11eb-3af1-0993bf5b82c8
2725md " ### Psis_loo."
2826
@@ -125,6 +123,9 @@ begin
125123 sm3 = SampleModel (" arsenic_logistic_t" , model_str_2)
126124end ;
127125
126+ # ╔═╡ d83916ba-6309-11eb-309b-474efacd9f85
127+ md " ##### Be patient... 10 cross Validations."
128+
128129# ╔═╡ e70f73aa-5eb8-11eb-1960-bf6731681898
129130begin
130131 cvitr, cvitst = cvit (n, 10 , true )
160161# ╔═╡ Cell order:
161162# ╠═8183b318-5ebb-11eb-1cd8-a96e8704a378
162163# ╠═686dac30-5ebb-11eb-00f1-434980dba906
163- # ╠═d4f7a39c-5ebb -11eb-0a37-4b8499832108
164+ # ╠═923212a8-630d -11eb-390f-75d21be80011
164165# ╟─ca0d916e-5ebe-11eb-3af1-0993bf5b82c8
165166# ╟─2ee71b16-5ebd-11eb-3a7d-4553f2f22274
166167# ╠═37f06bc2-5ebd-11eb-31f6-65bfa74ea9cf
177178# ╟─98d7208e-5ebd-11eb-3a64-e568c1ceebc0
178179# ╟─e86ee35c-5ebd-11eb-1932-ffbde638f11e
179180# ╠═e86f0ab2-5ebd-11eb-1a0b-6958db3a7435
181+ # ╟─d83916ba-6309-11eb-309b-474efacd9f85
180182# ╠═e70f73aa-5eb8-11eb-1960-bf6731681898
181183# ╠═1bf8d5a2-5ebe-11eb-12b3-2501e2f9d288
0 commit comments