ojus1/Time2Vec-PyTorch
소개
논문 "Time2Vec: Learning a Vector Representation of Time" 재현 - https://arxiv.org/pdf/1907.05321.pdf
학습 및 교육측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalTime2Vec: Learning a Vector representation of Time
This is an attempt of reproducing the paper "Time2Vec: Learning a Vector Representation of Time" in PyTorch. For Pretrained model and package to encode ISO Date-Time to vectors, please check Date2Vec which uses this package to implement the above functionality.
Summary
Popular activation functions are unable to capture periodicity of the input, hence they cannot capture the periodic nature of Time and Dates.
Gradients of Activations like ReLU, Softmax, Sigmoid etc. either explode or plateu due to the input continuosly growing.
Currently, a synthesized dataset of integers is used to test the functionality of the proposed method.
I plan to add more experiments to this repository.
Prerequisites
PyTorch (Tested on PyTorch 1.1 on Python 3.6)
Steps for running experiments:
1. Clone this repository, and change the directory to the folder.
2. To start training, In a command line, enter: "python3 experiment.py"
3. To use the Periodic Activation layers in your projects, copy the file "periodic_activations.py" and import:
"from periodic_activations import SineActivation"
To-Do
1. Adding experiments on popular datasets
2. Adding couple of Periodic activations like Triangle function and Modulo
3. Adding comparisons to Aperiodic activations.
Authors
*Surya Kant Sahu - ojus1
License
This project is licensed under the MIT License - LICENSE.md
Acknowledgments
- Packages used for Machine learning model: Python: Pandas, PyTorch
- Paper Title: "Time2Vec: Learning a Vector Representation of Time" - https://arxiv.org/pdf/1907.05321.pdf
관련 프로젝트 살펴보기
불러오는 중…