Skip to content

Commit 59c37f2

Browse files
committed
make release-tag: Merge branch 'master' into stable
2 parents 8882e22 + 91af32b commit 59c37f2

38 files changed

+346
-3797
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,4 @@ ENV/
112112

113113
notebooks/
114114
dask-worker-space/
115+
tutorials/sunglasses

HISTORY.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# History
22

3-
## 0.1.3 (2020-10-16)
3+
## 0.1.4 - 2020-10-16
4+
5+
Minor maintenance version to update dependencies and documentation, and
6+
also make the demo data loading function parse dates properly.
7+
8+
## 0.1.3 - 2020-10-16
49

510
This version includes several minor improvements to the PAR model and the
611
way the sequences are generated:
@@ -11,11 +16,11 @@ way the sequences are generated:
1116
* NaN values are generated for numerical columns only if there were NaNs in the input data.
1217
* Constant columns can now be modeled.
1318

14-
## 0.1.2 (2020-09-15)
19+
## 0.1.2 - 2020-09-15
1520

1621
Add BasicGAN Model and additional benchmarking results.
1722

18-
## 0.1.1 (2020-08-15)
23+
## 0.1.1 - 2020-08-15
1924

2025
This release includes a few new features to make DeepEcho work on more types of datasets
2126
as well as to making it easier to add new datasets to the benchmarking framework.
@@ -27,7 +32,7 @@ as well as to making it easier to add new datasets to the benchmarking framework
2732
* Add function `make_dataset` to create a dataset from a dataframe and just a few column names.
2833
* Add notebook tutorial to show how to create a datasets and use them.
2934

30-
## 0.1.0 (2020-08-11)
35+
## 0.1.0 - 2020-08-11
3136

3237
First release.
3338

INSTALL.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Installing DeepEcho
2+
3+
## Requirements
4+
5+
**DeepEcho** has been developed and tested on [Python 3.6, 3.7 and 3.8](https://www.python.org/downloads/)
6+
7+
Also, although it is not strictly required, the usage of a [virtualenv](
8+
https://virtualenv.pypa.io/en/latest/) is highly recommended in order to avoid
9+
interfering with other software installed in the system where **DeepEcho** is run.
10+
11+
## Install with pip
12+
13+
The easiest and recommended way to install **DeepEcho** is using [pip](
14+
https://pip.pypa.io/en/stable/):
15+
16+
```bash
17+
pip install deepecho
18+
```
19+
20+
This will pull and install the latest stable release from [PyPi](https://pypi.org/).
21+
22+
## Install with conda
23+
24+
**DeepEcho** can also be installed using [conda](https://docs.conda.io/en/latest/):
25+
26+
```bash
27+
conda install -c sdv-dev -c pytorch -c conda-forge deepecho
28+
```
29+
30+
This will pull and install the latest stable release from [Anaconda](https://anaconda.org/).
31+
32+
## Install from source
33+
34+
If you want to install **DeepEcho** from source you need to first clone the repository
35+
and then execute the `make install` command inside the `stable` branch. Note that this
36+
command works only on Unix based systems like GNU/Linux and macOS:
37+
38+
```bash
39+
git clone https://github.com/sdv-dev/DeepEcho
40+
cd DeepEcho
41+
git checkout stable
42+
make install
43+
```
44+
45+
## Install for development
46+
47+
If you intend to modify the source code or contribute to the project you will need to
48+
install it from the source using the `make install-develop` command. In this case, we
49+
recommend you to branch from `master` first:
50+
51+
```bash
52+
git clone [email protected]:sdv-dev/DeepEcho
53+
cd DeepEcho
54+
git checkout master
55+
git checkout -b <your-branch-name>
56+
make install-develp
57+
```
58+
59+
For more details about how to contribute to the project please visit the [Contributing Guide](
60+
CONTRIBUTING.rst).

Makefile

Lines changed: 16 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ clean-build: ## remove build artifacts
3737
rm -fr build/
3838
rm -fr dist/
3939
rm -fr .eggs/
40-
rm -fr benchmark/build/
41-
rm -fr benchmark/dist/
42-
rm -fr benchmark/.eggs/
4340
find . -name '*.egg-info' -exec rm -fr {} +
4441
find . -name '*.egg' -exec rm -f {} +
4542

@@ -77,17 +74,13 @@ clean: clean-build clean-pyc clean-test clean-coverage clean-docs ## remove all
7774
install: clean-build clean-pyc ## install the package to the active Python's site-packages
7875
pip install .
7976

80-
.PHONY: install-benchmark
81-
install-benchmark: clean-build clean-pyc ## install the package and test dependencies
82-
pip install ./benchmark
83-
8477
.PHONY: install-test
8578
install-test: clean-build clean-pyc ## install the package and test dependencies
86-
pip install .[test] ./benchmark
79+
pip install .[test]
8780

8881
.PHONY: install-develop
8982
install-develop: clean-build clean-pyc ## install the package in editable mode and dependencies for development
90-
pip install -e .[dev] -e ./benchmark[dev]
83+
pip install -e .[dev]
9184

9285

9386
# LINT TARGETS
@@ -98,25 +91,19 @@ lint-deepecho: ## check style with flake8 and isort
9891
isort -c --recursive deepecho
9992
pylint deepecho --rcfile=setup.cfg
10093

101-
.PHONY: lint-benchmark
102-
lint-benchmark: ## check style with flake8 and isort
103-
flake8 benchmark/deepecho
104-
isort -c --recursive benchmark/deepecho
105-
pylint benchmark/deepecho --rcfile=setup.cfg
106-
10794
.PHONY: lint-tests
10895
lint-tests: ## check style with flake8 and isort
109-
flake8 --ignore=D tests benchmark/tests
110-
isort -c --recursive tests benchmark/tests
96+
flake8 --ignore=D tests
97+
isort -c --recursive tests
11198

11299
.PHONY: lint
113-
lint:lint-deepecho lint-benchmark lint-tests ## Run all code style checks
100+
lint:lint-deepecho lint-tests ## Run all code style checks
114101

115102
.PHONY: fix-lint
116103
fix-lint: ## fix lint issues using autoflake, autopep8, and isort
117-
find deepecho benchmark/deepecho tests -name '*.py' | xargs autoflake --in-place --remove-all-unused-imports --remove-unused-variables
118-
autopep8 --in-place --recursive --aggressive deepecho benchmark/deepecho tests
119-
isort --apply --atomic --recursive deepecho benchmark/deepecho tests
104+
find deepecho tests -name '*.py' | xargs autoflake --in-place --remove-all-unused-imports --remove-unused-variables
105+
autopep8 --in-place --recursive --aggressive deepecho tests
106+
isort --apply --atomic --recursive deepecho tests
120107

121108

122109
# TEST TARGETS
@@ -163,7 +150,6 @@ coverage: ## check code coverage quickly with the default Python
163150
docs: clean-docs ## generate Sphinx HTML documentation, including API docs
164151
cp -r tutorials docs/tutorials
165152
sphinx-apidoc --separate --no-toc -M -o docs/api/ deepecho
166-
sphinx-apidoc --separate --no-toc -M -o docs/api/ benchmark/deepecho
167153
$(MAKE) -C docs html
168154

169155
.PHONY: view-docs
@@ -181,9 +167,6 @@ serve-docs: view-docs ## compile the docs watching for changes
181167
dist: clean ## builds source and wheel package
182168
python setup.py sdist
183169
python setup.py bdist_wheel
184-
# cd benchmark && python setup.py sdist
185-
# cd benchmark && python setup.py bdist_wheel
186-
# mv benchmark/dist/* dist && rmdir benchmark/dist
187170
ls -l dist
188171

189172
.PHONY: publish-confirm
@@ -241,6 +224,7 @@ bumpversion-revert: ## Undo a previous bumpversion-release
241224

242225
CLEAN_DIR := $(shell git status --short | grep -v ??)
243226
CURRENT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD 2>/dev/null)
227+
CURRENT_VERSION := $(shell grep "^current_version" setup.cfg | grep -o "dev[0-9]*")
244228
CHANGELOG_LINES := $(shell git diff HEAD..origin/stable HISTORY.md 2>&1 | wc -l)
245229

246230
.PHONY: check-clean
@@ -255,14 +239,20 @@ ifneq ($(CURRENT_BRANCH),master)
255239
$(error Please make the release from master branch\n)
256240
endif
257241

242+
.PHONY: check-candidate
243+
check-candidate: ## Check if a release candidate has been made
244+
ifeq ($(CURRENT_VERSION),dev0)
245+
$(error Please make a release candidate and test it before atempting a release)
246+
endif
247+
258248
.PHONY: check-history
259249
check-history: ## Check if HISTORY.md has been modified
260250
ifeq ($(CHANGELOG_LINES),0)
261251
$(error Please insert the release notes in HISTORY.md before releasing)
262252
endif
263253

264254
.PHONY: check-release
265-
check-release: check-clean check-master check-history ## Check if the release can be made
255+
check-release: check-clean check-candidate check-master check-history ## Check if the release can be made
266256
@echo "A new release can be made"
267257

268258
.PHONY: release
@@ -276,29 +266,3 @@ release-candidate: check-master publish bumpversion-candidate
276266

277267
.PHONY: release-candidate-test
278268
release-candidate-test: check-clean check-master publish-test
279-
280-
.PHONY: release-minor
281-
release-minor: check-release bumpversion-minor release
282-
283-
.PHONY: release-major
284-
release-major: check-release bumpversion-major release
285-
286-
287-
# DOCKER TARGETS
288-
289-
.PHONY: docker-login
290-
docker-login:
291-
docker login docker.io
292-
293-
.PHONY: docker-build
294-
docker-build:
295-
docker build -t deepecho -f benchmark/Dockerfile .
296-
297-
.PHONY: docker-push
298-
docker-push: docker-login
299-
@$(eval VERSION := $(shell python -c 'import deepecho; print(deepecho.__version__)'))
300-
docker tag deepecho sdvproject/deepecho:$(VERSION)
301-
docker push sdvproject/deepecho:$(VERSION)
302-
303-
.PHONY: docker-publish
304-
docker-publish: docker-login docker-build docker-push

README.md

Lines changed: 46 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
<p align="left">
2-
<img width=20% src="https://dai.lids.mit.edu/wp-content/uploads/2018/06/Logo_DAI_highres.png" alt=“sdv-dev” />
3-
<i>An open source project from Data to AI Lab at MIT.</i>
4-
</p>
5-
6-
<p>
7-
<img width=65% src="docs/images/DeepEcho-Logo.png">
2+
<a href="https://dai.lids.mit.edu">
3+
<img width=15% src="https://dai.lids.mit.edu/wp-content/uploads/2018/06/Logo_DAI_highres.png" alt="DAI-Lab" />
4+
</a>
5+
<i>An Open Source Project from the <a href="https://dai.lids.mit.edu">Data to AI Lab, at MIT</a></i>
86
</p>
97

108
[![Development Status](https://img.shields.io/badge/Development%20Status-2%20--%20Pre--Alpha-yellow)](https://pypi.org/search/?c=Development+Status+%3A%3A+2+-+Pre-Alpha)
119
[![PyPi Shield](https://img.shields.io/pypi/v/deepecho.svg)](https://pypi.python.org/pypi/deepecho)
12-
[![Travis CI Shield](https://travis-ci.org/sdv-dev/DeepEcho.svg?branch=master)](https://travis-ci.org/sdv-dev/DeepEcho)
13-
[![Coverage Status](https://codecov.io/gh/sdv-dev/DeepEcho/branch/master/graph/badge.svg)](https://codecov.io/gh/sdv-dev/DeepEcho)
10+
[![Tests](https://github.com/sdv-dev/DeepEcho/workflows/Run%20Tests/badge.svg)](https://github.com/sdv-dev/DeepEcho/actions?query=workflow%3A%22Run+Tests%22+branch%3Amaster)
1411
[![Downloads](https://pepy.tech/badge/deepecho)](https://pepy.tech/project/deepecho)
15-
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/sdv-dev/DeepEcho/master?filepath=tutorials)
12+
[![Coverage Status](https://codecov.io/gh/sdv-dev/DeepEcho/branch/master/graph/badge.svg)](https://codecov.io/gh/sdv-dev/DeepEcho)
13+
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/sdv-dev/DeepEcho/master?filepath=tutorials/timeseries_data)
1614
[![Slack](https://img.shields.io/badge/Slack%20Workspace-Join%20now!-36C5F0?logo=slack)](https://join.slack.com/t/sdv-space/shared_invite/zt-gdsfcb5w-0QQpFMVoyB2Yd6SRiMplcw)
1715

18-
# DeepEcho
16+
<img align="center" width=60% src="docs/images/DeepEcho-Logo.png">
1917

18+
* Website: https://sdv.dev
19+
* Documentation: https://sdv.dev/SDV
20+
* Repository: https://github.com/sdv-dev/DeepEcho
2021
* License: [MIT](https://github.com/sdv-dev/DeepEcho/blob/master/LICENSE)
2122
* Development Status: [Pre-Alpha](https://pypi.org/search/?c=Development+Status+%3A%3A+2+-+Pre-Alpha)
22-
* Homepage: https://github.com/sdv-dev/DeepEcho
2323

2424
# Overview
2525

@@ -28,16 +28,17 @@ time series**. It provides:
2828

2929
1. Multiple models based both on **classical statistical modeling** of time series and the latest
3030
in **Deep Learning** techniques.
31-
2. A robust [benchmarking framework](benchmark) for evaluating these methods on multiple datasets
32-
and with multiple metrics.
31+
2. A robust [benchmarking framework](https://github.com/sdv-dev/SDGym) for evaluating these methods
32+
on multiple datasets and with multiple metrics.
3333
3. Ability for **Machine Learning researchers** to submit new methods following our `model` and
3434
`sample` API and get evaluated.
3535

3636
## Try it out now!
3737

3838
If you want to quickly discover **DeepEcho**, simply click the button below and follow the tutorials!
3939

40-
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/sdv-dev/DeepEcho/master?filepath=tutorials)
40+
[![Binder](https://mybinder.org/badge_logo.svg)](
41+
https://mybinder.org/v2/gh/sdv-dev/DeepEcho/master?filepath=tutorials/timeseries_data)
4142

4243
## Join our Slack Workspace
4344

@@ -49,30 +50,39 @@ our Slack Workspace!
4950

5051
# Install
5152

52-
## Requirements
53+
**DeepEcho** is part of the **SDV** project and is automatically installed alongside it. For
54+
details about this process please visit the [SDV Installation Guide](
55+
https://sdv.dev/SDV/getting_started/install.html)
5356

54-
**DeepEcho** has been developed and tested on [Python 3.6, 3.7 and 3.8](https://www.python.org/downloads/)
57+
Optionally, **DeepEcho** can also be installed as a standalone library using the following commands:
5558

56-
Also, although it is not strictly required, the usage of a [virtualenv](https://virtualenv.pypa.io/en/latest/)
57-
is highly recommended in order to avoid interfering with other software installed in the system where **DeepEcho**
58-
is run.
59-
60-
## Install with pip
61-
62-
The easiest and recommended way to install **DeepEcho** is using [pip](https://pip.pypa.io/en/stable/):
59+
**Using `pip`:**
6360

6461
```bash
6562
pip install deepecho
6663
```
6764

68-
This will pull and install the latest stable release from [PyPi](https://pypi.org/).
65+
**Using `conda`:**
6966

70-
If you want to install from source or contribute to the project please read the
71-
[Contributing Guide](CONTRIBUTING.rst).
67+
```bash
68+
conda install -c sdv-dev -c pytorch -c conda-forge deepecho
69+
```
7270

71+
For more installation options please visit the [DeepEcho installation Guide](INSTALL.md)
7372

7473
# Quickstart
7574

75+
**DeepEcho** is included as part of [SDV](https://sdv.dev/SDV) to model and sample synthetic
76+
time series. In most cases, usage through SDV is recommeded, since it provides additional
77+
functionalities which are not available here. For more details about how to use DeepEcho
78+
whithin SDV, please visit the corresponding User Guide:
79+
80+
* [SDV TimeSeries User Guide](https://sdv.dev/SDV/user_guides/timeseries/par.html)
81+
82+
## Standalone usage
83+
84+
**DeepEcho** can also be used as a standalone library.
85+
7686
In this short quickstart, we show how to learn a mixed-type multivariate time series
7787
dataset and then generate synthetic data that resembles it.
7888

@@ -133,24 +143,19 @@ For more details about **DeepEcho** and all its possibilities and features, plea
133143
run the [tutorials](tutorials).
134144

135145
If you want to see how we evaluate the performance and quality of our models, please have a
136-
look at the [DeepEcho Benchmarking framework](benchmark) or [Explore the obtained results](
137-
https://docs.google.com/spreadsheets/d/1Fbwj5ZjuYjvPmgUbXQR1HiXs5UZ1K3VulItbqrzH8rA/)
146+
look at the [SDGym Benchmarking framework](https://github.com/sdv-dev/SDGym).
138147

139148
Also, please feel welcome to visit [our contributing guide](CONTRIBUTING.rst) in order to help
140149
us developing new features or cool ideas!
141150

142-
# Related Projects
151+
# The Synthetic Data Vault
143152

144-
## SDV
145-
146-
[SDV](https://github.com/HDI-Project/SDV), for Synthetic Data Vault, is the end-user library for
147-
synthesizing data in development under the [HDI Project](https://hdi-dai.lids.mit.edu/).
148-
SDV allows you to easily model and sample relational datasets using DeepEcho thought a simple API.
149-
Other features include anonymization of Personal Identifiable Information (PII) and preserving
150-
relational integrity on sampled records.
151-
152-
## CTGAN
153+
<p>
154+
<a href="https://sdv.dev">
155+
<img width=30% src="https://github.com/sdv-dev/SDV/blob/master/docs/images/SDV-Logo-Color-Tagline.png?raw=true">
156+
</a>
157+
<p><i>This repository is part of <a href="https://sdv.dev">The Synthetic Data Vault Project</a></i></p>
158+
</p>
153159

154-
[CTGAN](https://github.com/sdv-dev/CTGAN) is a GAN based model for synthesizing tabular data.
155-
It's also developed by the [MIT's Data to AI Lab](https://sdv-dev.github.io/) and is under
156-
active development.
160+
* Website: https://sdv.dev
161+
* Documentation: https://sdv.dev/SDV

0 commit comments

Comments
 (0)