Skip to content

Commit 3f6cb04

Browse files
committed
make release-tag: Merge branch 'master' into stable
2 parents 2d79e8e + 7e1f7e6 commit 3f6cb04

27 files changed

Lines changed: 1673 additions & 925 deletions

.github/workflows/tests.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: Run Tests
2+
3+
on:
4+
push:
5+
branches: [ '*' ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
lint:
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
matrix:
14+
python-version: [3.6, 3.7, 3.8]
15+
os: [ubuntu-latest, macos-latest, windows-latest]
16+
steps:
17+
- uses: actions/checkout@v1
18+
- name: Set up Python ${{ matrix.python-version }}
19+
uses: actions/setup-python@v1
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
- if: matrix.os == 'windows-latest'
23+
name: Install dependencies - Windows
24+
run: pip install torch==1.7.0+cpu torchvision==0.8.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
25+
- name: Install package
26+
run: pip install invoke .[dev]
27+
- name: invoke lint
28+
run: invoke lint
29+
30+
readme:
31+
runs-on: ${{ matrix.os }}
32+
strategy:
33+
matrix:
34+
python-version: [3.6, 3.7, 3.8]
35+
os: [ubuntu-latest, macos-latest]
36+
steps:
37+
- uses: actions/checkout@v1
38+
- name: Set up Python ${{ matrix.python-version }}
39+
uses: actions/setup-python@v1
40+
with:
41+
python-version: ${{ matrix.python-version }}
42+
- name: Install package and dependencies
43+
run: pip install invoke rundoc .
44+
- name: invoke readme
45+
run: invoke readme
46+
47+
unit:
48+
runs-on: ${{ matrix.os }}
49+
strategy:
50+
matrix:
51+
python-version: [3.6, 3.7, 3.8]
52+
os: [ubuntu-latest, macos-latest, windows-latest]
53+
steps:
54+
- uses: actions/checkout@v1
55+
- name: Set up Python ${{ matrix.python-version }}
56+
uses: actions/setup-python@v1
57+
with:
58+
python-version: ${{ matrix.python-version }}
59+
- if: matrix.os == 'windows-latest'
60+
name: Install dependencies - Windows
61+
run: pip install torch==1.7.0+cpu torchvision==0.8.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
62+
- name: Install package and dependencies
63+
run: pip install invoke .[test]
64+
- name: invoke pytest
65+
run: invoke pytest

.travis.yml

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
# Config file for automatic testing at travis-ci.org
2-
dist: trusty
2+
dist: bionic
33
language: python
44
python:
5+
- 3.8
6+
- 3.7
57
- 3.6
6-
- 3.5
7-
8-
matrix:
9-
include:
10-
- python: 3.7
11-
dist: xenial
12-
sudo: required
138

149
# Command to install dependencies
1510
install: pip install -U tox-travis codecov
@@ -18,15 +13,3 @@ after_success: codecov
1813

1914
# Command to run tests
2015
script: tox
21-
22-
deploy:
23-
24-
- provider: pages
25-
skip-cleanup: true
26-
github-token: "$GITHUB_TOKEN"
27-
keep-history: true
28-
local-dir: docs/_build/html
29-
target-branch: gh-pages
30-
on:
31-
branch: master
32-
python: 3.6

HISTORY.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,55 @@
11
# History
22

3+
## v0.3.0 - 2020-12-18
4+
5+
In this release we add a new TVAE model which was presented in the original CTGAN paper.
6+
It also exposes more hyperparameters and moves epochs and log_frequency from fit to the constructor.
7+
8+
A new verbose argument has been added to optionally disable unnecessary printing, and a new hyperparameter
9+
called `discriminator_steps` has been added to CTGAN to control the number of optimization steps performed
10+
in the discriminator for each generator epoch.
11+
12+
The code has also been reorganized and cleaned up for better readability and interpretability.
13+
14+
Special thanks to @Baukebrenninkmeijer @fealho @leix28 @csala for the contributions!
15+
16+
### Improvements
17+
18+
* Add TVAE - [Issue #111](https://github.com/sdv-dev/CTGAN/issues/111) by @fealho
19+
* Move `log_frequency` to `__init__` - [Issue #102](https://github.com/sdv-dev/CTGAN/issues/102) by @fealho
20+
* Add discriminator steps hyperparameter - [Issue #101](https://github.com/sdv-dev/CTGAN/issues/101) by @Baukebrenninkmeijer
21+
* Code cleanup / Expose hyperparameters - [Issue #59](https://github.com/sdv-dev/CTGAN/issues/59) by @fealho and @leix28
22+
* Publish to conda repo - [Issue #54](https://github.com/sdv-dev/CTGAN/issues/54) by @fealho
23+
24+
### Bugs fixed
25+
26+
* Fixed NaN != NaN counting bug. - [Issue #100](https://github.com/sdv-dev/CTGAN/issues/100) by @fealho
27+
* Update dependencies and testing - [Issue #90](https://github.com/sdv-dev/CTGAN/issues/90) by @csala
28+
29+
## v0.2.2 - 2020-11-13
30+
31+
In this release we introduce several minor improvements to make CTGAN more versatile and
32+
propertly support new types of data, such as categorical NaN values, as well as conditional
33+
sampling and features to save and load models.
34+
35+
Additionally, the dependency ranges and python versions have been updated to support up
36+
to date runtimes.
37+
38+
Many thanks @fealho @leix28 @csala @oregonpillow and @lurosenb for working on making this release possible!
39+
40+
### Improvements
41+
42+
* Drop Python 3.5 support - [Issue #79](https://github.com/sdv-dev/CTGAN/issues/79) by @fealho
43+
* Support NaN values in categorical variables - [Issue #78](https://github.com/sdv-dev/CTGAN/issues/78) by @fealho
44+
* Sample synthetic data conditioning on a discrete column - [Issue #69](https://github.com/sdv-dev/CTGAN/issues/69) by @leix28
45+
* Support recent versions of pandas - [Issue #57](https://github.com/sdv-dev/CTGAN/issues/57) by @csala
46+
* Easy solution for restoring original dtypes - [Issue #26](https://github.com/sdv-dev/CTGAN/issues/26) by @oregonpillow
47+
48+
### Bugs fixed
49+
50+
* Loss to nan - [Issue #73](https://github.com/sdv-dev/CTGAN/issues/73) by @fealho
51+
* Swapped the sklearn utils testing import statement - [Issue #53](https://github.com/sdv-dev/CTGAN/issues/53) by @lurosenb
52+
353
## v0.2.1 - 2020-01-27
454

555
Minor version including changes to ensure the logs are properly printed and

0 commit comments

Comments
 (0)