TabQueryBench commited on
Commit
53655a4
·
verified ·
1 Parent(s): 81588d0

Add files using upload-large-folder tool

Browse files
Files changed (22) hide show
  1. syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/_fd_X_host.npy +3 -0
  2. syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/_fd_gen.py +8 -0
  3. syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/_fd_meta_host.json +3 -0
  4. syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/_fd_train.py +36 -0
  5. syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/forest-c6-7636-20260510_205311.csv +3 -0
  6. syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/forestdiffusion_model.joblib +3 -0
  7. syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/gen_20260510_205311.log +3 -0
  8. syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/input_snapshot.json +3 -0
  9. syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/models_fd/model.joblib +3 -0
  10. syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/public_gate/normalized_schema_snapshot.json +3 -0
  11. syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/public_gate/public_gate_report.json +3 -0
  12. syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/public_gate/staged_input_manifest.json +3 -0
  13. syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/run_config.json +3 -0
  14. syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/runtime_result.json +3 -0
  15. syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/staged/forestdiffusion/adapter_report.json +3 -0
  16. syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/staged/forestdiffusion/adapter_transforms_applied.json +3 -0
  17. syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/staged/forestdiffusion/model_input_manifest.json +3 -0
  18. syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/staged/public/staged_features.json +3 -0
  19. syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/staged/public/test.csv +3 -0
  20. syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/staged/public/train.csv +3 -0
  21. syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/staged/public/val.csv +3 -0
  22. syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/train_20260510_205308.log +3 -0
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/_fd_X_host.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42ce9dd53b247a3c19042aaa57617a99b3f630e320a65896ef869cb6f571a075
3
+ size 32896
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/_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/c6/forestdiffusion/forest-c6-20260510_205308/forestdiffusion_model.joblib')
4
+ # generate:batch_size 为样本数
5
+ arr = m.generate(batch_size=int(7636))
6
+ df = pd.DataFrame(arr, columns=meta["column_names"])
7
+ df.to_csv(r'/work/output-Benchmark-trainonly-v1/c6/forestdiffusion/forest-c6-20260510_205308/forest-c6-7636-20260510_205311.csv', index=False)
8
+ print("saved", len(df))
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/_fd_meta_host.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3146442992cf09791afa81e4f3fc08f4c0d4fc2d757ccb7e9a8a270e0ba1cc81
3
+ size 167
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/_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/c6/forestdiffusion/forest-c6-20260510_205308/_fd_X_host.npy', '/tmp/fd_X.npy')
12
+ with open(r'/work/output-Benchmark-trainonly-v1/c6/forestdiffusion/forest-c6-20260510_205308/_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/c6/forestdiffusion/forest-c6-20260510_205308/forestdiffusion_model.joblib')
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/forest-c6-7636-20260510_205311.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b42db72eeab588be5421b3f675bc205bfe6cde7cecfac204c67d75c39f37ca2
3
+ size 494363
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/forestdiffusion_model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29d5a53aea95d511d2551b43cc12e58690076523bfaa958227f17a1b807a2164
3
+ size 2679412
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/gen_20260510_205311.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c17a2cbce5a06a7fac876062f165895d811978da5ffa7d605a31cef8f82cf225
3
+ size 294
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/input_snapshot.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3ebcc2cf76517af90b37d9e7529b105b73f208dbec6ae99abd9b6e6a8d168c7
3
+ size 1356
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/models_fd/model.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29d5a53aea95d511d2551b43cc12e58690076523bfaa958227f17a1b807a2164
3
+ size 2679412
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/public_gate/normalized_schema_snapshot.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:065bdbcaaeac76f0cbdb0c5fff8891508d44a53a8e05c41f90aa9bc5e7681d87
3
+ size 4158
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/public_gate/public_gate_report.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3a9cf6c6d49a066e92888a8ccbb76604413c126e8faedf02d707602158d4079
3
+ size 921
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/public_gate/staged_input_manifest.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b159ecc0f967e387a57de730b59b5b99efd909db3e847ee0f9da106831e48d11
3
+ size 4999
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/run_config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:47edd6b9fcb078a36eee2d39eea50403e3917fadbd16a3ae5f88d4ee53a1806e
3
+ size 2343
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/runtime_result.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe764f0bf62ba7c4fb2528cd3d78567f4148ab328ac314e3a0c3611bb1c4b4d1
3
+ size 922
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/staged/forestdiffusion/adapter_report.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25916f6566d8d446bc2e12751e0835943dba68adbc6c2df1f84667ace0c70ec3
3
+ size 336
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/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/c6/forestdiffusion/forest-c6-20260510_205308/staged/forestdiffusion/model_input_manifest.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b861d18593a141fcbfd18af47601d6ce356122da4558e40a8174321e4f652d83
3
+ size 5211
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/staged/public/staged_features.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bfdf5dc24983833c54d8dd0e6c39aaea73c21fb9552c8b7d60db4a3b4e2dc022
3
+ size 783
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/staged/public/test.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d28b60b361526450f0c203ddf50498854cb66ad5c1978516a99c265f529f8e4f
3
+ size 107696
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/staged/public/train.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d8f85a52de0e63e292778c26cb06223383b366c589d4226c3de68b111ba5272
3
+ size 849500
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/staged/public/val.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ede9f1e2036e743d822e8ed8d7b5e1050159e8fc7b402b758a294f7a14528fe
3
+ size 108137
syntheticSuccess/c6/forestdiffusion/forest-c6-20260510_205308/train_20260510_205308.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:341e7176426b9d6d1e2533059014e6993f52d32e2fde48329adc5ffa6af40a22
3
+ size 443