Code for the REcurrent NeurAL (RENAL) Goodness-of-Fit test proposed in the paper Recurrent Neural Goodness-of-Fit Test for Time Series by Aoran Zhang, Wenbin Zhou, Liyan Xie, and Shixiang Zhu.
See below for information about the framework and implementations.
Real-world observations are compared to model-generated sequences, with darker blue indicating better fits. We first use a recurrent neural network example_usage.ipynb.
-
nn_model.pyincludes neural network models used in the framework, such as RNNs and LSTMs. -
tpp.pyandts_data.pycontain codes for generating and visualizing temporal point processes and time series data. -
embedding_binning.pyimplements the embedding binning process to transform continuous state spaces into discrete state spaces and estimate transition probability matrices. -
example_usage.ipynbdemonstrates how to use the framework with example data. -
ksd.py/mmd.py/linear_time.py/kernelgof.py/util.pycontain baseline implementations for kernel-based goodness-of-fit tests.
Zhang A, Zhou W, Xie L, Zhu S. Recurrent Neural Goodness-of-Fit Test for Time Series.