semvec/pypi-packages huggingface dataset:
pytcn 0.0.2
Temporal Convolution Network (TCN) based on Keras
Requires Python: >=3.6

# 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
```python
    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)
```

![](./assets/model.png)

## References
> [An Empirical Evaluation of Generic Convolutional and Recurrent Networks for Sequence Modeling](https://arxiv.org/pdf/1803.01271.pdf)
hi-2020 1.0.0
一个hi问候包
Requires Python: >=3

#### 开源pypi包制作

##### 1.注册账号
```
https://pypi.org

```

##### 2.添加许可证
```
https://choosealicense.com/licenses/

```

##### 3.定义项目包结构
```
hi
|-- LICENSE 	
|-- README.md	
|-- examples			
|-- hi	     
|     |-- __init__.py        	   
|__ setup.py	 

```

##### 4.安装打包工具
```
# 需要依赖
setuptools wheel

# 跟新依赖
python3 -m pip install --upgrade setuptools wheel

```

##### 5.打包代码
```
python3 setup.py sdist bdist_wheel

```

##### 6.安装上传工具
```
python3 -m pip install --upgrade twine
或
pip3 install --upgrade twine
 
```

##### 7.发布模块
```
python3 -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
或
twine upload --repository-url https://upload.pypi.org/legacy/ dist/*

```