Skip to main content

Deep Neural Networks (DNN) for time-series data

Turnkey and modular deep learning predictive modeling package for time-series data. It allows for univariate and multivariate time-series as well as single and multi-step forecasts. DNN models include RNNs, LSTMs, GRUs, CNNs, hybrids, and more.

Quick start

Step 1) Create and activate new env using pipenv or conda with Python 3.6 or higher. Here, the env is named dts.

conda create -n dts python=3.6
conda activate dts

Step 2) Pip install dnntime package. It will automatically install or update the dependent packages.

pip install dnntime

Step 3) In your working directory, download the example directory from this repo and cd into it.

svn export https://github.com/Kevin-Chen0/dnn-time-series.git/trunk/example
cd example

Step 4) To run it locally, open local_run.ipynb and proceed to run all. It will use local_config.yaml as parameters to customize the procedures at runtime. It double-checks whether you installed the latest dnntime (v0.3.9.3) and will install for you if not. Make sure that you have set the dataset file path in local_config.yaml and the local_config.yaml path in local_run.ipynb.

NOTE: It is highly recommended to run this package using a GPU. Although CPU may work on small-scale datasets of < 10,000 samples, it may encounter performance issues on any dataset larger than that, including the example datasets found here. If you do not have a GPU, you can skip Step 4) and move to Step 5) Google Colab.

Step 5) To run it on Google Colab, first make sure that you have a Google account and is logged in. Then go to the Colab page and upload colab_run.ipynb colab_config.yaml, and an time-series example dataset. Those files will actually be stored onto your Google Drive upon uploading into Colab. Next, copy the sharable links and the colab_config.yaml and given dataset files and add them onto colab_run.ipynb. Finally, in the colab_run.ipynb notebook, set the runtime type as GPU and run all.

NOTE: You can copy this notebook to run on any cloud notebook as long as you can customize how to store and extract the files from that cloud instance.

Metadata

Release files for dnntime 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dnntime 0.4.1
File Size Uploaded
dnntime-0.4.1.tar.gz 12.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for dnntime 0.4.1
File Interpreter ABI Platform
dnntime-0.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 12.0 MB

Release files / dnntime-0.4.1.tar.gz

Download URL dnntime-0.4.1.tar.gz
Size 12.0 MB
Tags Source
SHA-256 checksum
How to use checksums
61886b1bde0d1361d48cc15ff58870edf82c4b1e3934561671972201ce5faa7f
BLAKE2b-256 checksum
How to use checksums
48b5173941e52e40d7d4b67c3628e4c125590ef06df13784c3546eaabc017cd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4

Release files / dnntime-0.4.1-py3-none-any.whl

Download URL dnntime-0.4.1-py3-none-any.whl
Size 47.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7a7d495bb6afe581b0074aaae98baed0d795f717e926384568240de8d6dfc72b
BLAKE2b-256 checksum
How to use checksums
aab67596262f18c8ba2d4f2ceda15d3dcab16feaf8e051ef6697188a61032dde
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.4

Release history Release notifications | RSS feed

This release

0.4.1 This release

2 release files

0.4.0

2 release files

0.3.9

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page