Skip to main content

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

Metadata

Release files for pytcn 0.0.2

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

Built distribution (wheel)

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

Release files / pytcn-0.0.2-py3-none-any.whl

Download URL pytcn-0.0.2-py3-none-any.whl
Size 2.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
06b5b4bb8e3a040fd76299cf3541e252da8cdb431b75ae41939e209e998c74ea
BLAKE2b-256 checksum
How to use checksums
975fedbc2a4305400bb33cc4e89517c7bb389715861f87c572e64f7a5dedfc3d
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for pytcn 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file No provenance

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