MCPcopy Create free account

hub / github.com/unit8co/darts / functions

Functions3,734 in github.com/unit8co/darts

Methodforward
(self, x: torch.Tensor)
darts/models/components/glu_variants.py:76
Methodforward
(self, x: torch.Tensor)
darts/models/components/glu_variants.py:85
Methodforward
(self, x: torch.Tensor)
darts/models/components/chronos2_submodels.py:52
Methodforward
( self, x: torch.Tensor, loc_scale: tuple[torch.Tensor, torch.Tensor] | None = None,
darts/models/components/chronos2_submodels.py:79
Methodforward
(self, x: torch.Tensor)
darts/models/components/chronos2_submodels.py:151
Methodforward
( self, x: torch.Tensor, position_ids: torch.Tensor )
darts/models/components/chronos2_submodels.py:181
Methodforward
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
Methodforward
(self, hidden_states)
darts/models/components/chronos2_submodels.py:416
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: torch.Tensor, position_id
darts/models/components/chronos2_submodels.py:451
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: torch.Tensor, )
darts/models/components/chronos2_submodels.py:495
Methodforward
(self, hidden_states: torch.Tensor)
darts/models/components/chronos2_submodels.py:534
Methodforward
(self, hidden_states: torch.Tensor)
darts/models/components/chronos2_submodels.py:569
Methodforward
( self, hidden_states: torch.Tensor, *, position_ids: torch.Tensor, at
darts/models/components/chronos2_submodels.py:621
Methodforward
( self, inputs_embeds: torch.Tensor, *, group_ids: torch.Tensor, atten
darts/models/components/chronos2_submodels.py:723
Methodforward
(self, x)
darts/models/components/layer_norm_variants.py:47
Methodforward
(self, x: torch.Tensor)
darts/models/components/layer_norm_variants.py:90
Methodforward
(self, x: torch.Tensor)
darts/models/components/feed_forward.py:112
Methodforward
RNN Module forward. Parameters ---------- x_in Tuple of Tensors containing the features of the input sequence. Th
darts/models/forecasting/rnn_model.py:91
Methodforward
( self, x_in: PLModuleInput, h: torch.Tensor | None = None )
darts/models/forecasting/rnn_model.py:270
Methodforward
(self, x)
darts/models/forecasting/nbeats.py:63
Methodforward
(self, x)
darts/models/forecasting/nbeats.py:87
Methodforward
(self, x)
darts/models/forecasting/nbeats.py:212
Methodforward
(self, x)
darts/models/forecasting/nbeats.py:337
Methodforward
(self, x_in: PLModuleInput)
darts/models/forecasting/nbeats.py:499
Methodforward
(self, x)
darts/models/forecasting/tcn_model.py:109
Methodforward
(self, x_in: PLModuleInput)
darts/models/forecasting/tcn_model.py:240
Methodforward
(self, x)
darts/models/forecasting/tft_submodels.py:58
Methodforward
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
Methodforward
(self, x)
darts/models/forecasting/tft_submodels.py:153
Methodforward
(self, x)
darts/models/forecasting/tft_submodels.py:202
Methodforward
(self, x: torch.Tensor)
darts/models/forecasting/tft_submodels.py:238
Methodforward
(self, x, skip)
darts/models/forecasting/tft_submodels.py:317
Methodforward
(self, x, context=None, residual=None)
darts/models/forecasting/tft_submodels.py:383
Methodforward
(self, x: dict[str, torch.Tensor], context: torch.Tensor | None = None)
darts/models/forecasting/tft_submodels.py:491
Methodforward
(self, q, k, v, mask=None)
darts/models/forecasting/tft_submodels.py:541
Methodforward
(self, q, k, v, mask=None)
darts/models/forecasting/tft_submodels.py:588
Methodforward
BlockRNN Module forward. Parameters ---------- x_in Tuple of Tensors containing the features of the input sequenc
darts/models/forecasting/block_rnn_model.py:98
Methodforward
(self, x_in: PLModuleInput)
darts/models/forecasting/block_rnn_model.py:202
Methodforward
(self, x)
darts/models/forecasting/nhits.py:172
Methodforward
(self, x)
darts/models/forecasting/nhits.py:295
Methodforward
(self, x_in: PLModuleInput)
darts/models/forecasting/nhits.py:424
Methodforward
(self, x: torch.Tensor)
darts/models/forecasting/tsmixer_model.py:149
Methodforward
(self, x: torch.Tensor, x_static: torch.Tensor | None)
darts/models/forecasting/tsmixer_model.py:301
Methodforward
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
Methodforward
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
Methodforward
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
Methodforward
(self, x: torch.Tensor)
darts/models/forecasting/tide_model.py:50
Methodforward
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
Methodforward
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
Methodforward
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
Methodforward
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
Methodforward
(self, x)
darts/models/forecasting/transformer_model.py:115
Methodforward
(self, x_in: PLModuleInput)
darts/models/forecasting/transformer_model.py:299
Methodforward
Run the backbone forward pass (matches ``PatchTSTFMModel.forward``). Returns ------- quantile_predictions Raw (no
darts/models/forecasting/patchtst_fm_model.py:83
Methodforward
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
Methodforward
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
Methodforward
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
Methodforward
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
Methodforward
(self, x)
darts/models/forecasting/dlinear.py:34
Methodforward
(self, x)
darts/models/forecasting/dlinear.py:53
Methodforward
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
Functionforward_wrapper
(self, x_in: PLModuleInput, *args, **kwargs)
darts/models/forecasting/pl_forecasting_module.py:54
Methodfreq
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
Methodfreq_str
The string representation of the series' frequency.
darts/timeseries.py:1667
Methodfrom_group
(static_cov_vals, group)
darts/timeseries.py:1091
Methodfunc
(x)
darts/tests/dataprocessing/transformers/test_mappers.py:12
Methodfunction
(ts, x)
darts/tests/test_timeseries.py:1813
Methodfuture_components
Returns the future covariates component names generated by `SequentialEncoder.future_encoders`. Only available after calling `SequentialEncode
darts/dataprocessing/encoders/encoders.py:1332
Methodfuture_encoders
Returns the future covariates encoders
darts/dataprocessing/encoders/encoders.py:1315
Methodfuture_transformer
Returns the future transformer object
darts/dataprocessing/encoders/encoders.py:1366
Methodgenerate_expected_times
generates expected start and end times for the corresponding covariates.
darts/tests/models/forecasting/test_sklearn_models.py:3496
Methodgenerate_inference_idx
( self, n: int, target: TimeSeries, covariates: TimeSeries | None = None )
darts/dataprocessing/encoders/encoder_base.py:315
Methodget_attention_mask_full
Returns causal mask to apply for self-attention layer.
darts/models/forecasting/tft_model.py:405
Methodget_built_in_weigths
(targets)
darts/tests/utils/torch_datasets/test_torch_datasets.py:2324
Methodget_explanation
Returns one or several explanations for a given component. Parameters ---------- component Optionally, t
darts/explainability/explainability_result.py:80
Methodget_explanation
Returns one or several ``TimeSeries`` representing the explanations for a given horizon and component. Parameters --
darts/explainability/explainability_result.py:265
Methodget_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
Methodget_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
Methodget_projection_matrix
(series)
darts/dataprocessing/transformers/reconciliation.py:94
Methodget_scaler
(fit: bool)
darts/tests/utils/historical_forecasts/test_historical_forecasts.py:3249
Methodget_shap_explanation_object
Returns the underlying ``shap.Explanation`` object for a given component. Parameters ---------- component
darts/explainability/explainability_result.py:544
Methodget_statistics
(self)
darts/models/components/patchtst_fm_submodels.py:67
Methodget_timestamp_at_point
Convert a point into a ``pandas.Timestamp`` (if datetime-indexed) or integer (if integer-indexed). Parameters ---------- poin
darts/timeseries.py:2456
Methodget_transf
(global_fit: bool, fit: bool, coef: int)
darts/tests/dataprocessing/test_pipeline.py:172
Methodhas_datetime_index
Whether the series is indexed with a ``pandas.DatetimeIndex`` (otherwise it is indexed with an ``pandas.RangeIndex``).
darts/timeseries.py:1697
Methodhas_hierarchy
Whether the series contains a hierarchy.
darts/timeseries.py:1710
Methodhas_metadata
Whether the series contains metadata.
darts/timeseries.py:1720
Methodhas_range_index
Whether the series is indexed with an ``pandas.RangeIndex`` (otherwise it is indexed with a ``pandas.DatetimeIndex``).
darts/timeseries.py:1703
Methodhas_static_covariates
Whether the series contains static covariates.
darts/timeseries.py:1715
Methodhelper_check_overfitted_estimators
(ts: TimeSeries, ocl: int)
darts/tests/models/forecasting/test_sklearn_models.py:1601
Functionhelper_create_test_cases
(series_options: list)
darts/tests/explainability/test_tft_explainer.py:21
Methodhelper_hist_forecasts
(retrain_val, start)
darts/tests/utils/historical_forecasts/test_historical_forecasts.py:2584
Methodhierarchy
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
Methodhigh_threshold
(self)
darts/ad/detectors/threshold_detector.py:107
Methodhigh_threshold
(self)
darts/ad/detectors/detectors.py:285
Methodhigh_threshold
(self)
darts/ad/detectors/quantile_detector.py:125
Functionincs_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
Methodindex_year
(index)
darts/tests/dataprocessing/encoders/test_encoders.py:917
Methodindex_year_and_shifted
(index)
darts/tests/dataprocessing/encoders/test_encoders.py:987
Methodindex_year_shifted
(index)
darts/tests/dataprocessing/encoders/test_encoders.py:920
← previousnext →1,801–1,900 of 3,734, ranked by callers