Commit 59108bf
Update of data_encoder and tabular_encoder (#159)
* first commit for the addition of the TabDDPM plugin
* Add DDPM test script and update DDPM plugin
* add TabDDPM class and refactor
* handle discrete cols and label generation
* add hparam space and update tests of DDPM
* debug and test DDPM
* update TensorDataLoader and training loop
* clear bugs
* debug for regression tasks
* debug for regression tasks; ALL TESTS PASSED
* remove the official repo of TabDDPM
* passed all pre-commit checks
* convert assert to conditional AssertionErrors
* added an auto annotation tool
* update auto-anno and generate annotations
* remove auto-anno and flake8 noqa
* add python<3.9 compatible annotations
* remove star import
* replace builtin type annos to typing annos
* resolve py38 compatibility issue
* tests/plugins/generic/test_ddpm.py
* change TabDDPM method signatures
* remove Iterator subscription
* update AssertionErrors, add EarlyStop callback, removed additional MLP, update logging
* remove TensorDataLoader, update test_ddpm
* update EarlyStopping
* add TabDDPM tutorial, update TabDDPM plugin and encoders
* add TabDDPM tutorial
* major update of FeatureEncoder and TabularEncoder
* add LogDistribution and LogIntDistribution
* update DDPM to use TabularEncoder
* update test_tabular_encoder and debug
* debug and DDPM tutorial OK
* debug LogDistribution and LogIntDistribution
* change discrete encoding of BinEncoder to passthrough; passed all tests in test_tabular_encoder
* add tabnet to plugins/core/models
* add factory.py, let DDPM use TabNet, refactor
* update docstrings and refactor
* fix type annotation compatibility
* make SkipConnection serializable
* fix TabularEncoder.activation_layout
* remove unnecessary code
* fix minor bug and add more nn models in factory
* update pandas and torch version requirement
* update ddpm tutorial
* restore setup.cfg
* update setup.cfg
* debug datetimeDistribution
* clean
* update setup.cfg and goggle test
* move DDPM tutorial to tutorials/plugins
* update tab_ddpm
* update
* try fixing goggle
* add more activations
* minor fix
* update
* update
* update
* Update tabular_encoder.py
* Update test_goggle.py
* Update tabular_encoder.py
* update
* update
* default cat nonlin of goggle <- gumbel_softmax
* get_nonlin('softmax') <- GumbelSoftmax()
* remove debug logging
* update
---------
Co-authored-by: Bogdan Cebere <[email protected]>1 parent da12d59 commit 59108bf
File tree
24 files changed
+3441
-715
lines changed- src/synthcity/plugins
- core
- models
- tabular_ddpm
- generic
- tests/plugins
- core/models
- generic
- tutorials/plugins/generic
24 files changed
+3441
-715
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | 62 | | |
64 | 63 | | |
65 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
213 | | - | |
| 212 | + | |
| 213 | + | |
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
| 263 | + | |
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
276 | 291 | | |
277 | 292 | | |
278 | 293 | | |
| |||
307 | 322 | | |
308 | 323 | | |
309 | 324 | | |
310 | | - | |
311 | | - | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
312 | 328 | | |
313 | 329 | | |
314 | 330 | | |
| |||
345 | 361 | | |
346 | 362 | | |
347 | 363 | | |
348 | | - | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
349 | 378 | | |
350 | 379 | | |
351 | 380 | | |
| |||
354 | 383 | | |
355 | 384 | | |
356 | 385 | | |
| 386 | + | |
357 | 387 | | |
358 | 388 | | |
359 | 389 | | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
360 | 396 | | |
361 | 397 | | |
362 | 398 | | |
363 | 399 | | |
364 | 400 | | |
365 | | - | |
366 | | - | |
| 401 | + | |
367 | 402 | | |
368 | 403 | | |
369 | 404 | | |
370 | 405 | | |
371 | 406 | | |
372 | 407 | | |
373 | | - | |
374 | | - | |
| 408 | + | |
375 | 409 | | |
376 | 410 | | |
377 | 411 | | |
| |||
382 | 416 | | |
383 | 417 | | |
384 | 418 | | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
| 419 | + | |
| 420 | + | |
394 | 421 | | |
395 | 422 | | |
396 | 423 | | |
397 | 424 | | |
398 | 425 | | |
399 | 426 | | |
400 | | - | |
401 | | - | |
| 427 | + | |
| 428 | + | |
402 | 429 | | |
403 | 430 | | |
404 | 431 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
| 72 | + | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
This file was deleted.
0 commit comments