TabQueryBench commited on
Commit
78d69ad
·
verified ·
1 Parent(s): 3c2235e

Add files using upload-large-folder tool

Browse files
Files changed (21) hide show
  1. syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/_fd_X_host.npy +3 -0
  2. syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/_fd_gen.py +8 -0
  3. syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/_fd_meta_host.json +3 -0
  4. syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/_fd_train.py +36 -0
  5. syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/forest-n20-7654-20260504_072733.csv +3 -0
  6. syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/forestdiffusion_model.joblib +3 -0
  7. syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/gen_20260504_072733.log +3 -0
  8. syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/input_snapshot.json +3 -0
  9. syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/models_fd/model.joblib +3 -0
  10. syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/public_gate/normalized_schema_snapshot.json +3 -0
  11. syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/public_gate/public_gate_report.json +3 -0
  12. syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/public_gate/staged_input_manifest.json +3 -0
  13. syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/runtime_result.json +3 -0
  14. syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/staged/forestdiffusion/adapter_report.json +3 -0
  15. syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/staged/forestdiffusion/adapter_transforms_applied.json +3 -0
  16. syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/staged/forestdiffusion/model_input_manifest.json +3 -0
  17. syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/staged/public/staged_features.json +3 -0
  18. syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/staged/public/test.csv +3 -0
  19. syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/staged/public/train.csv +3 -0
  20. syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/staged/public/val.csv +3 -0
  21. syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/train_20260504_072428.log +3 -0
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/_fd_X_host.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:939bf6bdae94a815aeae4a74d8b41430f97e4fcbabeed53e253e00952bf0812a
3
+ size 153208
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/_fd_gen.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+
2
+ import joblib, pandas as pd
3
+ m, meta = joblib.load(r'/work/output-Benchmark-trainonly-v1/n20/forestdiffusion/forest-n20-20260504_072427/forestdiffusion_model.joblib')
4
+ # generate:batch_size 为样本数
5
+ arr = m.generate(batch_size=int(7654))
6
+ df = pd.DataFrame(arr, columns=meta["column_names"])
7
+ df.to_csv(r'/work/output-Benchmark-trainonly-v1/n20/forestdiffusion/forest-n20-20260504_072427/forest-n20-7654-20260504_072733.csv', index=False)
8
+ print("saved", len(df))
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/_fd_meta_host.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1831d92274d713d5d39f7ff46e00cf6158852f50287ea517fc6028b9a1756ce
3
+ size 66
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/_fd_train.py ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ import os, shutil, json
3
+ with open('/tmp/pgrep', 'w') as _f:
4
+ _f.write("#!/usr/bin/env python3\n")
5
+ _f.write("import subprocess, sys\n")
6
+ _f.write("ppid = sys.argv[-1]\n")
7
+ _f.write("out = subprocess.check_output(['ps', '-o', 'pid=', '--ppid', str(ppid)], text=True)\n")
8
+ _f.write("print(out, end='')\n")
9
+ os.chmod('/tmp/pgrep', 0o755)
10
+ os.environ['PATH'] = '/tmp:' + os.environ.get('PATH', '')
11
+ shutil.copy(r'/work/output-Benchmark-trainonly-v1/n20/forestdiffusion/forest-n20-20260504_072427/_fd_X_host.npy', '/tmp/fd_X.npy')
12
+ with open(r'/work/output-Benchmark-trainonly-v1/n20/forestdiffusion/forest-n20-20260504_072427/_fd_meta_host.json') as f:
13
+ open('/tmp/fd_meta.json','w').write(f.read())
14
+
15
+ import numpy as np, joblib, json, os
16
+ from ForestDiffusion import ForestDiffusionModel
17
+ X = np.load("/tmp/fd_X.npy")
18
+ with open("/tmp/fd_meta.json") as f:
19
+ meta = json.load(f)
20
+ cat_indexes = meta["cat_indexes"]
21
+ print(
22
+ "[ForestDiffusion] train config: "
23
+ f"rows={X.shape[0]} cols={X.shape[1]} n_t=10 "
24
+ f"n_estimators=20 duplicate_K=5 n_jobs=1 "
25
+ f"max_depth=4 xgb_verbosity=1",
26
+ flush=True,
27
+ )
28
+ m = ForestDiffusionModel(
29
+ X, n_t=10, n_estimators=20, duplicate_K=5, n_jobs=1,
30
+ model="xgboost", max_depth=4, tree_method="hist", cat_indexes=cat_indexes,
31
+ verbosity=1,
32
+ )
33
+ joblib.dump((m, meta), "/tmp/fd_model.joblib")
34
+ print("ForestDiffusion train OK")
35
+
36
+ shutil.copy('/tmp/fd_model.joblib', r'/work/output-Benchmark-trainonly-v1/n20/forestdiffusion/forest-n20-20260504_072427/forestdiffusion_model.joblib')
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/forest-n20-7654-20260504_072733.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5036f339739a073a6d39fe52d48316dae08dada5439805a043dc858d6fa9483
3
+ size 703835
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/forestdiffusion_model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4f37ac5d1faaec471d75db0b764e9317e59d76e5b75ac91d3b7ceb2696a1596
3
+ size 1900383
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/gen_20260504_072733.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4da2097bfac0b147b20d243e1a4605020b7aeedb6ecf9003c5e16bcdc502573
3
+ size 294
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/input_snapshot.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1d8b3104e2b05bb047d7894504341ebbb313df31ab2d3e9c1063fc637398080
3
+ size 1365
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/models_fd/model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4f37ac5d1faaec471d75db0b764e9317e59d76e5b75ac91d3b7ceb2696a1596
3
+ size 1900383
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/public_gate/normalized_schema_snapshot.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81093ad7315dba850c2b92af3ef28cb2cb4b937f961dc1dbb466b60c355d7f24
3
+ size 2463
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/public_gate/public_gate_report.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82d65df7d0ea1f8418a15e27a3077f7a2e5e2a24ea8eb4c41e3e50b7906d7c2a
3
+ size 912
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/public_gate/staged_input_manifest.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:713eab2f6e9b76928c84767f5d721b24d595610763f9d378bf84c15fa4579b7a
3
+ size 3314
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/runtime_result.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a75e0ad313342503bc1dfc0149138eec89360b13b8816a28207a6f7a9051daf1
3
+ size 930
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/staged/forestdiffusion/adapter_report.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c758463dbf3f4876a0526b1166ae85c177e8bd2282c4af2538aa5d0a6e78523c
3
+ size 338
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/staged/forestdiffusion/adapter_transforms_applied.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945
3
+ size 2
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/staged/forestdiffusion/model_input_manifest.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97da2c2069753e3fd89740e176e604556bc5318ea443f18fbc646d1d3e41b190
3
+ size 3528
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/staged/public/staged_features.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a22ed10942cfed5c408e8c1e37d6169591f60d625b40c117dea9aa4a57a5b8a
3
+ size 445
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/staged/public/test.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5db4ad3456ef2c15e4c6e8e3e2405eb0d506997097ae5af3de903a5fe5608cce
3
+ size 31623
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/staged/public/train.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e1a8d2910fbc1f78f2a58a208938e8c565d222cccaa0f516fcfd93a0d46db489
3
+ size 252576
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/staged/public/val.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b80a697c0aa16609cc20a3c7365f6fc3de47345dbd60d4a31b2012b7388af44
3
+ size 31620
syntheticSuccess/n20/forestdiffusion/forest-n20-20260504_072427/train_20260504_072428.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a8a079ba47f0b3390c9e990d000f0a5ff750b2b79024d32284102bcf38ea81f
3
+ size 431