-
Notifications
You must be signed in to change notification settings - Fork 645
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Merge branch 'main' into refactor-split-init"
- Loading branch information
Showing
6 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
"""DeepAR: Probabilistic forecasting with autoregressive recurrent networks.""" | ||
|
||
from pytorch_forecasting.models.deepar._deepar import DeepAR | ||
|
||
__all__ = ["DeepAR"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
"""Simple models based on fully connected networks.""" | ||
|
||
from pytorch_forecasting.models.mlp._decodermlp import DecoderMLP | ||
from pytorch_forecasting.models.mlp.submodules import FullyConnectedModule | ||
|
||
__all__ = ["DecoderMLP", "FullyConnectedModule"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
"""N-Beats model for timeseries forecasting without covariates.""" | ||
|
||
from pytorch_forecasting.models.nbeats._nbeats import NBeats | ||
from pytorch_forecasting.models.nbeats.sub_modules import NBEATSGenericBlock, NBEATSSeasonalBlock, NBEATSTrendBlock | ||
|
||
__all__ = ["NBeats", "NBEATSGenericBlock", "NBEATSSeasonalBlock", "NBEATSTrendBlock"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
"""N-HiTS model for timeseries forecasting with covariates.""" | ||
|
||
from pytorch_forecasting.models.nhits._nhits import NHiTS | ||
from pytorch_forecasting.models.nhits.sub_modules import NHiTS as NHiTSModule | ||
|
||
__all__ = ["NHits", "NHiTSModule"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
"""Simple recurrent model - either with LSTM or GRU cells.""" | ||
|
||
from pytorch_forecasting.models.rnn._rnn import RecurrentNetwork | ||
|
||
__all__ = ["RecurrentNetwork"] |
21 changes: 21 additions & 0 deletions
21
pytorch_forecasting/models/temporal_fusion_transformer/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
"""Temporal fusion transformer for forecasting timeseries.""" | ||
|
||
from pytorch_forecasting.models.temporal_fusion_transformer._tft import TemporalFusionTransformer | ||
from pytorch_forecasting.models.temporal_fusion_transformer.sub_modules import ( | ||
AddNorm, | ||
GateAddNorm, | ||
GatedLinearUnit, | ||
GatedResidualNetwork, | ||
InterpretableMultiHeadAttention, | ||
VariableSelectionNetwork, | ||
) | ||
|
||
__all__ = [ | ||
"TemporalFusionTransformer", | ||
"AddNorm", | ||
"GateAddNorm", | ||
"GatedLinearUnit", | ||
"GatedResidualNetwork", | ||
"InterpretableMultiHeadAttention", | ||
"VariableSelectionNetwork", | ||
] |