WenjieDu / PyPOTS

A Python toolkit/library for reality-centric machine/deep learning and data mining on partially-observed time series, including SOTA neural network models for scientific analysis tasks of imputation/classification/clustering/forecasting/anomaly detection/cleaning on incomplete industrial (irregularly-sampled) multivariate TS with NaN missing values
https://pypots.com
BSD 3-Clause "New" or "Revised" License
1.01k stars 95 forks source link

Implement ModernTCN as an imputation model #502

Closed WenjieDu closed 3 weeks ago

WenjieDu commented 3 weeks ago

What does this PR do?

  1. fixing #399;

Before submitting

coveralls commented 3 weeks ago

Pull Request Test Coverage Report for Build 10695049434

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
pypots/imputation/moderntcn/core.py 26 28 92.86%
pypots/imputation/moderntcn/model.py 60 63 95.24%
pypots/nn/modules/patchtst/layers.py 16 32 50.0%
pypots/nn/modules/moderntcn/backbone.py 61 79 77.22%
pypots/nn/modules/moderntcn/layers.py 89 132 67.42%
<!-- Total: 266 348 76.44% -->
Files with Coverage Reduction New Missed Lines %
pypots/forecasting/csdi/model.py 1 85.29%
pypots/cli/doc.py 2 83.54%
<!-- Total: 3 -->
Totals Coverage Status
Change from base Build 10679869169: -0.2%
Covered Lines: 11134
Relevant Lines: 13391

💛 - Coveralls