Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/unit8co/darts
/ functions
Functions
3,734 in github.com/unit8co/darts
⨍
Functions
3,734
◇
Types & classes
510
↳
Endpoints
59
Method
forward
(self, x: torch.Tensor)
darts/models/components/glu_variants.py:76
Method
forward
(self, x: torch.Tensor)
darts/models/components/glu_variants.py:85
Method
forward
(self, x: torch.Tensor)
darts/models/components/chronos2_submodels.py:52
Method
forward
( self, x: torch.Tensor, loc_scale: tuple[torch.Tensor, torch.Tensor] | None = None,
darts/models/components/chronos2_submodels.py:79
Method
forward
(self, x: torch.Tensor)
darts/models/components/chronos2_submodels.py:151
Method
forward
( self, x: torch.Tensor, position_ids: torch.Tensor )
darts/models/components/chronos2_submodels.py:181
Method
forward
Multi-head attention forward pass. Args: hidden_states : Input tensor of shape [batch_size, seq_len, d_model] mask :
darts/models/components/chronos2_submodels.py:338
Method
forward
(self, hidden_states)
darts/models/components/chronos2_submodels.py:416
Method
forward
( self, hidden_states: torch.Tensor, attention_mask: torch.Tensor, position_id
darts/models/components/chronos2_submodels.py:451
Method
forward
( self, hidden_states: torch.Tensor, attention_mask: torch.Tensor, )
darts/models/components/chronos2_submodels.py:495
Method
forward
(self, hidden_states: torch.Tensor)
darts/models/components/chronos2_submodels.py:534
Method
forward
(self, hidden_states: torch.Tensor)
darts/models/components/chronos2_submodels.py:569
Method
forward
( self, hidden_states: torch.Tensor, *, position_ids: torch.Tensor, at
darts/models/components/chronos2_submodels.py:621
Method
forward
( self, inputs_embeds: torch.Tensor, *, group_ids: torch.Tensor, atten
darts/models/components/chronos2_submodels.py:723
Method
forward
(self, x)
darts/models/components/layer_norm_variants.py:47
Method
forward
(self, x: torch.Tensor)
darts/models/components/layer_norm_variants.py:90
Method
forward
(self, x: torch.Tensor)
darts/models/components/feed_forward.py:112
Method
forward
RNN Module forward. Parameters ---------- x_in Tuple of Tensors containing the features of the input sequence. Th
darts/models/forecasting/rnn_model.py:91
Method
forward
( self, x_in: PLModuleInput, h: torch.Tensor | None = None )
darts/models/forecasting/rnn_model.py:270
Method
forward
(self, x)
darts/models/forecasting/nbeats.py:63
Method
forward
(self, x)
darts/models/forecasting/nbeats.py:87
Method
forward
(self, x)
darts/models/forecasting/nbeats.py:212
Method
forward
(self, x)
darts/models/forecasting/nbeats.py:337
Method
forward
(self, x_in: PLModuleInput)
darts/models/forecasting/nbeats.py:499
Method
forward
(self, x)
darts/models/forecasting/tcn_model.py:109
Method
forward
(self, x_in: PLModuleInput)
darts/models/forecasting/tcn_model.py:240
Method
forward
(self, x)
darts/models/forecasting/tft_submodels.py:58
Method
forward
Parameters ---------- x input tensor of shape batch x (optional) time x categoricals in the order of ``variable_n
darts/models/forecasting/tft_submodels.py:114
Method
forward
(self, x)
darts/models/forecasting/tft_submodels.py:153
Method
forward
(self, x)
darts/models/forecasting/tft_submodels.py:202
Method
forward
(self, x: torch.Tensor)
darts/models/forecasting/tft_submodels.py:238
Method
forward
(self, x, skip)
darts/models/forecasting/tft_submodels.py:317
Method
forward
(self, x, context=None, residual=None)
darts/models/forecasting/tft_submodels.py:383
Method
forward
(self, x: dict[str, torch.Tensor], context: torch.Tensor | None = None)
darts/models/forecasting/tft_submodels.py:491
Method
forward
(self, q, k, v, mask=None)
darts/models/forecasting/tft_submodels.py:541
Method
forward
(self, q, k, v, mask=None)
darts/models/forecasting/tft_submodels.py:588
Method
forward
BlockRNN Module forward. Parameters ---------- x_in Tuple of Tensors containing the features of the input sequenc
darts/models/forecasting/block_rnn_model.py:98
Method
forward
(self, x_in: PLModuleInput)
darts/models/forecasting/block_rnn_model.py:202
Method
forward
(self, x)
darts/models/forecasting/nhits.py:172
Method
forward
(self, x)
darts/models/forecasting/nhits.py:295
Method
forward
(self, x_in: PLModuleInput)
darts/models/forecasting/nhits.py:424
Method
forward
(self, x: torch.Tensor)
darts/models/forecasting/tsmixer_model.py:149
Method
forward
(self, x: torch.Tensor, x_static: torch.Tensor | None)
darts/models/forecasting/tsmixer_model.py:301
Method
forward
TSMixer model forward pass. Parameters ---------- x_in comes as Tuple `(x_past, x_future, x_static)` where `x_pas
darts/models/forecasting/tsmixer_model.py:456
Method
forward
TFT model forward pass. Parameters ---------- x_in comes as tuple `(x_past, x_future, x_static)` where `x_past` i
darts/models/forecasting/tft_model.py:456
Method
forward
Forward pass returning quantile predictions shaped ``(batch, time, n_targets, n_quantiles)``. During training with fine-tuning enabled, all 9
darts/models/forecasting/tirex_model.py:82
Method
forward
(self, x: torch.Tensor)
darts/models/forecasting/tide_model.py:50
Method
forward
TiDE model forward pass. Parameters ---------- x_in comes as tuple `(x_past, x_future, x_static)` where `x_past` i
darts/models/forecasting/tide_model.py:263
Method
forward
TimesFM 2.5 model forward pass. Parameters ---------- x_in comes as a tuple `(x_past, x_future, x_static)` where
darts/models/forecasting/timesfm2p5_model.py:230
Method
forward
Same as :meth:`torch.nn.Module.forward`. Parameters ---------- x_in ``(x_past, x_future, x_static)`` the past, fu
darts/models/forecasting/pl_forecasting_module.py:234
Method
forward
Chronos-2 model forward pass. Parameters ---------- x_in comes as a tuple `(x_past, x_future, x_static)` where `x
darts/models/forecasting/chronos2_model.py:474
Method
forward
(self, x)
darts/models/forecasting/transformer_model.py:115
Method
forward
(self, x_in: PLModuleInput)
darts/models/forecasting/transformer_model.py:299
Method
forward
Run the backbone forward pass (matches ``PatchTSTFMModel.forward``). Returns ------- quantile_predictions Raw (no
darts/models/forecasting/patchtst_fm_model.py:83
Method
forward
PatchTST-FM model forward pass adapted for Darts interface. Parameters ---------- x_in Comes as tuple `(x_past, x
darts/models/forecasting/patchtst_fm_model.py:226
Method
forward
PyTorch-native forward pass. Parameters ---------- x_in comes as tuple `(x_past, x_future, x_static)` where `x_pa
darts/models/forecasting/nf_model.py:204
Method
forward
x_in comes as tuple `(x, x_future, x_static)` where `x` is the past target, past covariates and historic future covar
darts/models/forecasting/nlinear.py:110
Method
forward
Naive model forward pass. Parameters ---------- x_in comes as tuple `(x_past, x_future, x_static)` where `x_past`
darts/models/forecasting/global_baseline_models.py:75
Method
forward
(self, x)
darts/models/forecasting/dlinear.py:34
Method
forward
(self, x)
darts/models/forecasting/dlinear.py:53
Method
forward
x_in comes as tuple `(x_past, x_future, x_static)` where `x_past` is the input/past chunk and `x_future` is the outpu
darts/models/forecasting/dlinear.py:153
Function
forward_wrapper
(self, x_in: PLModuleInput, *args, **kwargs)
darts/models/forecasting/pl_forecasting_module.py:54
Method
freq
The frequency of the series. A ``pandas.DateOffset`` if the series is indexed with a ``pandas.DatetimeIndex``. An integer (step size)
darts/timeseries.py:1658
Method
freq_str
The string representation of the series' frequency.
darts/timeseries.py:1667
Method
from_group
(static_cov_vals, group)
darts/timeseries.py:1091
Method
func
(x)
darts/tests/dataprocessing/transformers/test_mappers.py:12
Method
function
(ts, x)
darts/tests/test_timeseries.py:1813
Method
future_components
Returns the future covariates component names generated by `SequentialEncoder.future_encoders`. Only available after calling `SequentialEncode
darts/dataprocessing/encoders/encoders.py:1332
Method
future_encoders
Returns the future covariates encoders
darts/dataprocessing/encoders/encoders.py:1315
Method
future_transformer
Returns the future transformer object
darts/dataprocessing/encoders/encoders.py:1366
Method
generate_expected_times
generates expected start and end times for the corresponding covariates.
darts/tests/models/forecasting/test_sklearn_models.py:3496
Method
generate_inference_idx
( self, n: int, target: TimeSeries, covariates: TimeSeries | None = None )
darts/dataprocessing/encoders/encoder_base.py:315
Method
get_attention_mask_full
Returns causal mask to apply for self-attention layer.
darts/models/forecasting/tft_model.py:405
Method
get_built_in_weigths
(targets)
darts/tests/utils/torch_datasets/test_torch_datasets.py:2324
Method
get_explanation
Returns one or several explanations for a given component. Parameters ---------- component Optionally, t
darts/explainability/explainability_result.py:80
Method
get_explanation
Returns one or several ``TimeSeries`` representing the explanations for a given horizon and component. Parameters --
darts/explainability/explainability_result.py:265
Method
get_explanation
Returns the ``TimeSeries`` representing the explanation for a given component. The components of the ``TimeSeries`` correspond to th
darts/explainability/explainability_result.py:512
Method
get_feature_values
Returns the ``TimeSeries`` representing the feature values for a given component. The components of the ``TimeSeries`` correspond to
darts/explainability/explainability_result.py:528
Method
get_projection_matrix
(series)
darts/dataprocessing/transformers/reconciliation.py:94
Method
get_scaler
(fit: bool)
darts/tests/utils/historical_forecasts/test_historical_forecasts.py:3249
Method
get_shap_explanation_object
Returns the underlying ``shap.Explanation`` object for a given component. Parameters ---------- component
darts/explainability/explainability_result.py:544
Method
get_statistics
(self)
darts/models/components/patchtst_fm_submodels.py:67
Method
get_timestamp_at_point
Convert a point into a ``pandas.Timestamp`` (if datetime-indexed) or integer (if integer-indexed). Parameters ---------- poin
darts/timeseries.py:2456
Method
get_transf
(global_fit: bool, fit: bool, coef: int)
darts/tests/dataprocessing/test_pipeline.py:172
Method
has_datetime_index
Whether the series is indexed with a ``pandas.DatetimeIndex`` (otherwise it is indexed with an ``pandas.RangeIndex``).
darts/timeseries.py:1697
Method
has_hierarchy
Whether the series contains a hierarchy.
darts/timeseries.py:1710
Method
has_metadata
Whether the series contains metadata.
darts/timeseries.py:1720
Method
has_range_index
Whether the series is indexed with an ``pandas.RangeIndex`` (otherwise it is indexed with a ``pandas.DatetimeIndex``).
darts/timeseries.py:1703
Method
has_static_covariates
Whether the series contains static covariates.
darts/timeseries.py:1715
Method
helper_check_overfitted_estimators
(ts: TimeSeries, ocl: int)
darts/tests/models/forecasting/test_sklearn_models.py:1601
Function
helper_create_test_cases
(series_options: list)
darts/tests/explainability/test_tft_explainer.py:21
Method
helper_hist_forecasts
(retrain_val, start)
darts/tests/utils/historical_forecasts/test_historical_forecasts.py:2584
Method
hierarchy
The hierarchy of this series. If defined, the hierarchy is given as a dictionary. The keys are the individual components and values are the
darts/timeseries.py:1568
Method
high_threshold
(self)
darts/ad/detectors/threshold_detector.py:107
Method
high_threshold
(self)
darts/ad/detectors/detectors.py:285
Method
high_threshold
(self)
darts/ad/detectors/quantile_detector.py:125
Function
incs_qr
Interval Non-Conformity Score for Quantile Regression (INCS_QR). INCS_QR gives the absolute error to the closest predicted quantile interval boun
darts/metrics/metrics.py:3969
Method
index_year
(index)
darts/tests/dataprocessing/encoders/test_encoders.py:917
Method
index_year_and_shifted
(index)
darts/tests/dataprocessing/encoders/test_encoders.py:987
Method
index_year_shifted
(index)
darts/tests/dataprocessing/encoders/test_encoders.py:920
← previous
next →
1,801–1,900 of 3,734, ranked by callers