Temporal Convolution Network (TCN) based on Keras
Project description
Temporal Convolution Network (TCN)
Description
This is a implement of temporal Convolution Network (TCN) by using keras, and the version uses a dense layer as the output layer instead of fully convolution network (FCN) structure depicted in paper "An Empirical Evaluation of Generic Convolutional and Recurrent Networks for Sequence Modeling".
Usage
import keras
from tcn import *
# Build TCN model
# model is a keras model
model = tcn(input_shape=(24, 7), n_blocks=3, filters=[16, 32, 64],
kernel_size=[24, 24, 24], dropout_rate=[0.1, 0.1, 0.1],
n_outputs=6)
# Plot the structure of model
keras.utils.plot_model(model, to_file='model.png', show_shapes=True)
References
An Empirical Evaluation of Generic Convolutional and Recurrent Networks for Sequence Modeling
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
pytcn-0.0.2-py3-none-any.whl
(2.4 kB
view details)
File details
Details for the file pytcn-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: pytcn-0.0.2-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06b5b4bb8e3a040fd76299cf3541e252da8cdb431b75ae41939e209e998c74ea |
|
MD5 | 0c5a69cd3524c141953ad6c6274cdf8b |
|
BLAKE2b-256 | 975fedbc2a4305400bb33cc4e89517c7bb389715861f87c572e64f7a5dedfc3d |