TabQueryBench commited on
Commit
0997e5d
·
verified ·
1 Parent(s): 4183734

Add files using upload-large-folder tool

Browse files
Files changed (22) hide show
  1. syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/_fd_X_host.npy +3 -0
  2. syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/_fd_gen.py +8 -0
  3. syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/_fd_meta_host.json +3 -0
  4. syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/_fd_train.py +36 -0
  5. syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/forest-n15-7857-20260511_130547.csv +3 -0
  6. syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/forestdiffusion_model.joblib +3 -0
  7. syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/gen_20260511_130547.log +3 -0
  8. syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/input_snapshot.json +3 -0
  9. syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/models_fd/model.joblib +3 -0
  10. syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/public_gate/normalized_schema_snapshot.json +3 -0
  11. syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/public_gate/public_gate_report.json +3 -0
  12. syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/public_gate/staged_input_manifest.json +3 -0
  13. syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/run_config.json +3 -0
  14. syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/runtime_result.json +3 -0
  15. syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/staged/forestdiffusion/adapter_report.json +3 -0
  16. syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/staged/forestdiffusion/adapter_transforms_applied.json +3 -0
  17. syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/staged/forestdiffusion/model_input_manifest.json +3 -0
  18. syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/staged/public/staged_features.json +3 -0
  19. syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/staged/public/test.csv +3 -0
  20. syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/staged/public/train.csv +3 -0
  21. syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/staged/public/val.csv +3 -0
  22. syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/train_20260511_130544.log +3 -0
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/_fd_X_host.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d82a25a430bba126d2bf19a80da413f3842e5523a76e456b8b384be17421b6b
3
+ size 352384
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/_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/n15/forestdiffusion/forest-n15-20260511_130544/forestdiffusion_model.joblib')
4
+ # generate:batch_size 为样本数
5
+ arr = m.generate(batch_size=int(7857))
6
+ df = pd.DataFrame(arr, columns=meta["column_names"])
7
+ df.to_csv(r'/work/output-Benchmark-trainonly-v1/n15/forestdiffusion/forest-n15-20260511_130544/forest-n15-7857-20260511_130547.csv', index=False)
8
+ print("saved", len(df))
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/_fd_meta_host.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0494d519e8c6ceae59eccb9babb8ec95ed8e8272464217bb87914a0c5c4e81f
3
+ size 1080
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/_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/n15/forestdiffusion/forest-n15-20260511_130544/_fd_X_host.npy', '/tmp/fd_X.npy')
12
+ with open(r'/work/output-Benchmark-trainonly-v1/n15/forestdiffusion/forest-n15-20260511_130544/_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=2 "
24
+ f"n_estimators=1 duplicate_K=1 n_jobs=1 "
25
+ f"max_depth=2 xgb_verbosity=0 xgb_nthread=1",
26
+ flush=True,
27
+ )
28
+ m = ForestDiffusionModel(
29
+ X, n_t=2, n_estimators=1, duplicate_K=1, n_jobs=1,
30
+ model="xgboost", max_depth=2, tree_method="hist", cat_indexes=cat_indexes,
31
+ verbosity=0, nthread=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/n15/forestdiffusion/forest-n15-20260511_130544/forestdiffusion_model.joblib')
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/forest-n15-7857-20260511_130547.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:127939ab01b9f7c2a7f8ebe5ae1d6a5b3c203e1bf4d9e8d193848abd7eedf907
3
+ size 6517385
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/forestdiffusion_model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d975dc07604e505a26bcd7d6c11ecc4b540642aa3b930bebfe76d3c049c4d3eb
3
+ size 1211204
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/gen_20260511_130547.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f4763a78abea3b103c3fd086de90dc5c08c47f396489cb29ba8660ff3e8e437
3
+ size 294
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/input_snapshot.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1997dc84614177f3470ece839d7158d4ee236602fcbcd7f503d9f5be6f1b6809
3
+ size 1370
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/models_fd/model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d975dc07604e505a26bcd7d6c11ecc4b540642aa3b930bebfe76d3c049c4d3eb
3
+ size 1211204
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/public_gate/normalized_schema_snapshot.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ddca2940077222faf35a4bf29d5b5b6aeb2afa8995164d0b5adda3df2df48ad
3
+ size 38000
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/public_gate/public_gate_report.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ee51584649883c35f66f557fc11a987bfff50fe6bcfc03b44e5189ca8fa3d6d
3
+ size 922
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/public_gate/staged_input_manifest.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16bb7da4757bb1d265b7fddb4929533d3adaf55efbe404c645027b734083de86
3
+ size 38851
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/run_config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:365e561264983d1d3906c5e252103fcef3f96a10f73c9b450ac2187c7336ab8e
3
+ size 2356
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/runtime_result.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:502078f03ec9b55ecab2c54b4d62dff84977866fe4a3a717a5fc14e14e808b7e
3
+ size 929
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/staged/forestdiffusion/adapter_report.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9671e76a2f602405961978e3d5f5f15fab12234989a3c7fa35428da9376e9196
3
+ size 338
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/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/n15/forestdiffusion/forest-n15-20260511_130544/staged/forestdiffusion/model_input_manifest.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:272ed253ab001e974e2bcd8bf6b7146be904f523656995f1aef4cd5f4b592ba5
3
+ size 39065
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/staged/public/staged_features.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:184b0925280e9e71a23f7ca7a743afdc06d3e99d3e2aca21368dcb79f77dc9a4
3
+ size 7948
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/staged/public/test.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dcb79b0fa6748300b4f887d1f53cad4854f40f51cc1b0588c306eff8149735e6
3
+ size 170605
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/staged/public/train.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32e1119fb76fba5a78aadbceef58f29788e4bb3524824932de207c1160b92965
3
+ size 1358492
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/staged/public/val.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f21567e6e1ef28313538289b418fad70f3673877f9a01f2d165dabf98095045
3
+ size 170395
syntheticSuccess/n15/forestdiffusion/forest-n15-20260511_130544/train_20260511_130544.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da584bc761988adb39345e34d41841469d656b822da2df2fe55f1431a0481793
3
+ size 444