Kaynağa Gözat

move samples to subdir

Lucas Gautheron 2 yıl önce
ebeveyn
işleme
20185d8944

+ 2 - 2
code/models/main.py

@@ -274,12 +274,12 @@ if __name__ == "__main__":
     print("vtc vocs: {}".format(np.sum(data['vtc'])))
     print("duration: {}".format(duration))
 
-    with open(f'data_{args.output}.pickle', 'wb') as fp:
+    with open(f'output/samples/data_{args.output}.pickle', 'wb') as fp:
         pickle.dump(data, fp, pickle.HIGHEST_PROTOCOL)
 
     posterior = stan.build(stan_code, data = data)
     fit = posterior.sample(num_chains = args.chains, num_samples = args.samples)
     df = fit.to_frame()
-    df.to_parquet(f'fit_{args.output}.parquet')
+    df.to_parquet(f'output/samples/fit_{args.output}.parquet')
 
 

+ 0 - 1
fit_vanuatu_distrib_25k.parquet

@@ -1 +0,0 @@
-.git/annex/objects/F3/2q/MD5E-s1379624297--9766a0b9a445798c5aed5f560e4239c5/MD5E-s1379624297--9766a0b9a445798c5aed5f560e4239c5

+ 0 - 1
fit_vanuatu_distrib_25k10.parquet

@@ -1 +0,0 @@
-.git/annex/objects/xx/vZ/MD5E-s1379454583--ca3816e5d5d18f6aca5bf5c12697c924/MD5E-s1379454583--ca3816e5d5d18f6aca5bf5c12697c924

+ 0 - 1
fit_vanuatu_distrib_25k11.parquet

@@ -1 +0,0 @@
-.git/annex/objects/4g/5Z/MD5E-s1379718954--948cf3665e65edc63727bb18de61c9a1/MD5E-s1379718954--948cf3665e65edc63727bb18de61c9a1

+ 0 - 1
fit_vanuatu_distrib_25k12.parquet

@@ -1 +0,0 @@
-.git/annex/objects/xP/36/MD5E-s1379614900--fcd89e8e57bb887fb32d99c9547e3193/MD5E-s1379614900--fcd89e8e57bb887fb32d99c9547e3193

+ 0 - 1
fit_vanuatu_distrib_25k2.parquet

@@ -1 +0,0 @@
-.git/annex/objects/GM/Vm/MD5E-s1379795224--890a73945e3cf39e60b5bbd347ed2cb4/MD5E-s1379795224--890a73945e3cf39e60b5bbd347ed2cb4

+ 0 - 1
fit_vanuatu_distrib_25k3.parquet

@@ -1 +0,0 @@
-.git/annex/objects/fG/MG/MD5E-s1379716309--c20081a0bd82cef38e8a4ff7624e24fc/MD5E-s1379716309--c20081a0bd82cef38e8a4ff7624e24fc

+ 0 - 1
fit_vanuatu_distrib_25k4.parquet

@@ -1 +0,0 @@
-.git/annex/objects/pJ/mm/MD5E-s1379601888--e855cb5caa297d4560267be5047ef164/MD5E-s1379601888--e855cb5caa297d4560267be5047ef164

+ 0 - 1
fit_vanuatu_distrib_25k5.parquet

@@ -1 +0,0 @@
-.git/annex/objects/6G/mQ/MD5E-s1379540902--2cb8eae120ad11608909a49e55a27fc7/MD5E-s1379540902--2cb8eae120ad11608909a49e55a27fc7

+ 0 - 1
fit_vanuatu_distrib_25k6.parquet

@@ -1 +0,0 @@
-.git/annex/objects/GJ/PM/MD5E-s1379737420--92f16ef5640e44004593fd7391a541f1/MD5E-s1379737420--92f16ef5640e44004593fd7391a541f1

+ 0 - 1
fit_vanuatu_distrib_25k7.parquet

@@ -1 +0,0 @@
-.git/annex/objects/5J/GF/MD5E-s1379748582--9ea18929f87a6a9b2bbaa106928cd361/MD5E-s1379748582--9ea18929f87a6a9b2bbaa106928cd361

+ 0 - 1
fit_vanuatu_distrib_25k8.parquet

@@ -1 +0,0 @@
-.git/annex/objects/5p/pF/MD5E-s1379693714--994e192b3109bb7c4dd08b40bb6ea1a5/MD5E-s1379693714--994e192b3109bb7c4dd08b40bb6ea1a5

+ 0 - 1
fit_vanuatu_distrib_25k9.parquet

@@ -1 +0,0 @@
-.git/annex/objects/Vx/fG/MD5E-s1379671706--c3cf173bd0e38c6903faca3ea14ac24e/MD5E-s1379671706--c3cf173bd0e38c6903faca3ea14ac24e

+ 1 - 0
output/samples/fit_vanuatu_distrib_25k.parquet

@@ -0,0 +1 @@
+../../.git/annex/objects/F3/2q/MD5E-s1379624297--9766a0b9a445798c5aed5f560e4239c5/MD5E-s1379624297--9766a0b9a445798c5aed5f560e4239c5

+ 1 - 0
output/samples/fit_vanuatu_distrib_25k10.parquet

@@ -0,0 +1 @@
+../../.git/annex/objects/xx/vZ/MD5E-s1379454583--ca3816e5d5d18f6aca5bf5c12697c924/MD5E-s1379454583--ca3816e5d5d18f6aca5bf5c12697c924

+ 1 - 0
output/samples/fit_vanuatu_distrib_25k11.parquet

@@ -0,0 +1 @@
+../../.git/annex/objects/4g/5Z/MD5E-s1379718954--948cf3665e65edc63727bb18de61c9a1/MD5E-s1379718954--948cf3665e65edc63727bb18de61c9a1

+ 1 - 0
output/samples/fit_vanuatu_distrib_25k12.parquet

@@ -0,0 +1 @@
+../../.git/annex/objects/xP/36/MD5E-s1379614900--fcd89e8e57bb887fb32d99c9547e3193/MD5E-s1379614900--fcd89e8e57bb887fb32d99c9547e3193

+ 1 - 0
output/samples/fit_vanuatu_distrib_25k2.parquet

@@ -0,0 +1 @@
+../../.git/annex/objects/GM/Vm/MD5E-s1379795224--890a73945e3cf39e60b5bbd347ed2cb4/MD5E-s1379795224--890a73945e3cf39e60b5bbd347ed2cb4

+ 1 - 0
output/samples/fit_vanuatu_distrib_25k3.parquet

@@ -0,0 +1 @@
+../../.git/annex/objects/fG/MG/MD5E-s1379716309--c20081a0bd82cef38e8a4ff7624e24fc/MD5E-s1379716309--c20081a0bd82cef38e8a4ff7624e24fc

+ 1 - 0
output/samples/fit_vanuatu_distrib_25k4.parquet

@@ -0,0 +1 @@
+../../.git/annex/objects/pJ/mm/MD5E-s1379601888--e855cb5caa297d4560267be5047ef164/MD5E-s1379601888--e855cb5caa297d4560267be5047ef164

+ 1 - 0
output/samples/fit_vanuatu_distrib_25k5.parquet

@@ -0,0 +1 @@
+../../.git/annex/objects/6G/mQ/MD5E-s1379540902--2cb8eae120ad11608909a49e55a27fc7/MD5E-s1379540902--2cb8eae120ad11608909a49e55a27fc7

+ 1 - 0
output/samples/fit_vanuatu_distrib_25k6.parquet

@@ -0,0 +1 @@
+../../.git/annex/objects/GJ/PM/MD5E-s1379737420--92f16ef5640e44004593fd7391a541f1/MD5E-s1379737420--92f16ef5640e44004593fd7391a541f1

+ 1 - 0
output/samples/fit_vanuatu_distrib_25k7.parquet

@@ -0,0 +1 @@
+../../.git/annex/objects/5J/GF/MD5E-s1379748582--9ea18929f87a6a9b2bbaa106928cd361/MD5E-s1379748582--9ea18929f87a6a9b2bbaa106928cd361

+ 1 - 0
output/samples/fit_vanuatu_distrib_25k8.parquet

@@ -0,0 +1 @@
+../../.git/annex/objects/5p/pF/MD5E-s1379693714--994e192b3109bb7c4dd08b40bb6ea1a5/MD5E-s1379693714--994e192b3109bb7c4dd08b40bb6ea1a5

+ 1 - 0
output/samples/fit_vanuatu_distrib_25k9.parquet

@@ -0,0 +1 @@
+../../.git/annex/objects/Vx/fG/MD5E-s1379671706--c3cf173bd0e38c6903faca3ea14ac24e/MD5E-s1379671706--c3cf173bd0e38c6903faca3ea14ac24e