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
Function
custom_mean_invalid_signature
(x)
darts/tests/models/forecasting/test_baseline_models.py:67
Function
custom_mean_valid
(x, dim)
darts/tests/models/forecasting/test_baseline_models.py:61
Method
custom_metric
( actual_series, pred_series, intersect=True, *, q
darts/tests/metrics/test_metrics.py:2205
Method
decoder_variables
List of all decoder variables in model (excluding static variables)
darts/models/forecasting/tft_model.py:372
Function
decorator
(method_to_sanitize: Callable[..., T])
darts/utils/utils.py:174
Function
decorator
(self, *args, **kwargs)
darts/utils/torch.py:69
Function
drop_after_index
Drops everything after the provided time `split_point` (excluded) from the index. Parameters ---------- index The index to d
darts/utils/utils.py:361
Function
drop_before_index
Drops everything before the provided time `split_point` (excluded) from the index. Parameters ---------- index The index to
darts/utils/utils.py:339
Function
dtw
Determines the optimal alignment between two time series `series1` and `series2`, according to the Dynamic Time Warping algorithm. The al
darts/dataprocessing/dtw/dtw.py:261
Method
duration
The duration of the series (as a ``pandas.Timedelta`` or `int`).
darts/timeseries.py:1725
Method
encode_inference
Returns encoded index for inference/prediction. Parameters ---------- n The forecast horizon target
darts/dataprocessing/encoders/encoder_base.py:694
Method
encode_train
Returns encoded index for training. Parameters ---------- target The target TimeSeries used during training or pa
darts/dataprocessing/encoders/encoder_base.py:650
Method
encode_train_inference
Returns encoded index for inference/prediction. Parameters ---------- n The forecast horizon target
darts/dataprocessing/encoders/encoder_base.py:750
Function
encode_year
(idx)
darts/tests/explainability/test_torch_explainer.py:59
Method
encoder_map
Mapping between encoder identifier string (from parameters at model creations) and the corresponding future or past covariates encoder
darts/dataprocessing/encoders/encoders.py:1377
Method
encoder_variables
List of all encoder variables in model (excluding static variables)
darts/models/forecasting/tft_model.py:365
Method
encoding_n_components
(self)
darts/dataprocessing/encoders/encoders.py:264
Method
encoding_n_components
(self)
darts/dataprocessing/encoders/encoders.py:430
Method
encoding_n_components
(self)
darts/dataprocessing/encoders/encoders.py:613
Method
encoding_n_components
(self)
darts/dataprocessing/encoders/encoders.py:800
Method
encoding_n_components
Returns the number of components generated by `SequentialEncoder.past_encoders` and `SequentialEncoder.future_encoders`.
darts/dataprocessing/encoders/encoders.py:1347
Method
encoding_n_components
The number of components in the `SingleEncoder` output.
darts/dataprocessing/encoders/encoder_base.py:807
Method
ensemble
( self, predictions: TimeSeriesLike, series: TimeSeriesLike, n: int, n
darts/models/forecasting/regression_ensemble_model.py:507
Method
ensemble
Average the `forecasting_models` predictions, component-wise
darts/models/forecasting/naive_ensemble_model.py:107
Method
epochs_trained
(self)
darts/models/forecasting/torch_forecasting_model.py:2528
Method
epochs_trained
(self)
darts/models/forecasting/pl_forecasting_module.py:796
Function
err
Error (ERR). For the true series :math:`y` and predicted series :math:`\\hat{y}` of length :math:`T`, it is computed per component/column, (o
darts/metrics/metrics.py:43
Method
eval_metric
Computes the anomaly score of the given time series, and returns the score of an agnostic threshold metric. Parameters ------
darts/ad/scorers/scorers.py:533
Method
eval_metric
Compute the accuracy of the anomaly scores computed by the model. Predicts the `series` with the underlying forecasting/filtering model, and
darts/ad/anomaly_model/anomaly_model.py:125
Method
eval_metric
Aggregates the (sequence of) multivariate series given as input into one (sequence of) series and evaluates the results against the ground tru
darts/ad/aggregators/aggregators.py:101
Method
eval_model
(normalize, use_past_covar)
darts/tests/models/forecasting/test_dlinear_nlinear.py:315
Function
execute_and_suppress_output
This function conditionally executes the given function with the given arguments based on whether the current level of 'logger' is below, abo
darts/logging.py:195
Method
explain
Explains a foreground time series, and returns a :class:`_ExplainabilityResult <darts.explainability.explainability_result._Explainab
darts/explainability/explainability.py:116
Method
extract_dayofweek
(index)
darts/tests/models/forecasting/test_local_forecasting_models.py:358
Method
extract_month
(index)
darts/tests/dataprocessing/encoders/test_encoders.py:481
Function
extract_year
Return year of time index entry, normalized
darts/tests/explainability/test_shap_explainer.py:54
Method
extract_year
(index)
darts/tests/dataprocessing/encoders/test_encoders.py:484
Method
extreme_lags
( self, )
darts/models/forecasting/sklearn_model.py:581
Method
extreme_lags
A seven element tuple containing in order: - min target lag - max target lag - min past covariate lag - max
darts/models/forecasting/forecasting_model.py:503
Method
extreme_lags
( self, )
darts/models/forecasting/forecasting_model.py:2936
Method
extreme_lags
( self, )
darts/models/forecasting/forecasting_model.py:3447
Method
extreme_lags
( self, )
darts/models/forecasting/torch_forecasting_model.py:2852
Method
extreme_lags
( self, )
darts/models/forecasting/torch_forecasting_model.py:2884
Method
extreme_lags
( self, )
darts/models/forecasting/torch_forecasting_model.py:2916
Method
extreme_lags
( self, )
darts/models/forecasting/torch_forecasting_model.py:2948
Method
extreme_lags
( self, )
darts/models/forecasting/torch_forecasting_model.py:2980
Method
extreme_lags
( self, )
darts/models/forecasting/ensemble_model.py:661
Method
extreme_lags
( self, )
darts/models/forecasting/conformal_models.py:1518
Function
f1
F1 Score [1]_. For the true series :math:`y` and predicted series :math:`\\hat{y}` of length :math:`T`, it is computed per component/column a
darts/metrics/metrics.py:4507
Method
f_encoder
(idx)
darts/tests/utils/historical_forecasts/test_historical_forecasts.py:1714
Function
fake_package
Create a throwaway module that mimics a package ``__init__.py``.
darts/tests/utils/test_lazy.py:9
Method
fill
(self, value)
darts/dataprocessing/dtw/cost_matrix.py:110
Method
filter
Filters a given series Parameters ---------- series The series to filter. Returns -------
darts/models/filtering/filtering_model.py:28
Method
find_max_lag_or_none
(lag_id, aggregator)
darts/models/forecasting/ensemble_model.py:715
Method
first_prediction_index
(self)
darts/models/forecasting/tcn_model.py:257
Method
first_prediction_index
Returns the index of the first predicted within the output of self.model.
darts/models/forecasting/pl_forecasting_module.py:227
Method
first_value
First value of the univariate series. Returns ------- float The first value of this univariate deterministic time
darts/timeseries.py:2013
Method
fit
(self, X, y, sample_weight=None, **fit_params)
darts/utils/multioutput.py:163
Method
fit
(self, data, *args, **kwargs)
darts/tests/utils/historical_forecasts/test_historical_forecasts.py:4647
Method
fit
(*args)
darts/tests/models/forecasting/test_classifier_model.py:1111
Method
fit
(*args)
darts/tests/models/forecasting/test_classifier_model.py:1176
Method
fit
Fit the underlying forecasting/filtering model (if applicable) and the fittable scorers.
darts/ad/anomaly_model/anomaly_model.py:44
Method
fit
( self, series: TimeSeriesLike, past_covariates: TimeSeriesLike | None = None,
darts/models/forecasting/sklearn_model.py:2119
Method
fit
Fits/trains the model using the provided list of features time series and the target time series. Parameters ----------
darts/models/forecasting/catboost_model.py:296
Method
fit
( self, series: TimeSeries, verbose: bool | None = None )
darts/models/forecasting/forecasting_model.py:2928
Method
fit
Fit/train the model on (potentially multiple) series. Optionally, one or multiple past and/or future covariates series can be provided as wel
darts/models/forecasting/forecasting_model.py:2996
Method
fit
Fit/train the model on the (single) provided series. Optionally, a future covariates series can be provided as well. Parameters
darts/models/forecasting/forecasting_model.py:3231
Method
fit
Fits the model on the provided series. Note that `EnsembleModel.fit()` does NOT call `fit()` on each of its constituent forecasting m
darts/models/forecasting/ensemble_model.py:266
Method
fit
Fits/trains the model using the provided list of features time series and the target time series. Parameters ----------
darts/models/forecasting/lgbm.py:251
Method
fit
Fit/train the model on a (or potentially multiple) series. This method is only implemented for naive baseline models to provide a unified fit/
darts/models/forecasting/global_baseline_models.py:153
Method
fit
Fit/train the underlying forecasting model on (potentially multiple) series. Optionally, one or multiple past and/or future covariates series
darts/models/forecasting/conformal_models.py:189
Method
fit_called
Returns whether the `Encoder` object has been fitted.
darts/dataprocessing/encoders/encoder_base.py:595
Method
fit_called
Return whether the transformer has been fitted.
darts/dataprocessing/encoders/encoder_base.py:911
Method
fit_predict
perform model training and prediction
darts/tests/models/forecasting/test_sklearn_models.py:3655
Method
fit_transform
Fit the transformer to the (sequence of) series and return the transformed input. Parameters ---------- series th
darts/dataprocessing/transformers/fittable_data_transformer.py:311
Method
fittable
Returns whether the pipeline is fittable or not. A pipeline is fittable if at least one of the transformers in the pipeline is fittab
darts/dataprocessing/pipeline.py:257
Function
fix_pythonpath_if_working_locally
Add the parent path to pythonpath if current working dir is darts/examples
examples/utils/utils.py:7
Function
fix_random_state
Fixture to fix the random state for tests.
darts/tests/models/filtering/test_filters.py:16
Method
forward
(self, input: Tensor)
darts/utils/torch.py:41
Method
forward
(self, inpt, tgt)
darts/utils/losses.py:49
Method
forward
(self, inpt, tgt)
darts/utils/losses.py:75
Method
forward
(self, inpt, tgt)
darts/utils/losses.py:95
Method
forward
(self, x_in)
darts/tests/models/forecasting/test_block_RNN.py:37
Method
forward
(self, inputs: torch.Tensor)
darts/models/components/timesfm2p5_submodels.py:105
Method
forward
(self, x: torch.Tensor)
darts/models/components/timesfm2p5_submodels.py:145
Method
forward
Generates a JTensor of sinusoids with different frequencies.
darts/models/components/timesfm2p5_submodels.py:186
Method
forward
(self, x: torch.Tensor)
darts/models/components/timesfm2p5_submodels.py:252
Method
forward
( self, inputs_q: torch.Tensor, *, patch_mask: torch.Tensor, )
darts/models/components/timesfm2p5_submodels.py:319
Method
forward
( self, input_embeddings: torch.Tensor, patch_mask: torch.Tensor, )
darts/models/components/timesfm2p5_submodels.py:429
Method
forward
(self, x: torch.Tensor)
darts/models/components/patchtst_fm_submodels.py:99
Method
forward
(self, x: torch.Tensor)
darts/models/components/patchtst_fm_submodels.py:116
Method
forward
(self, x: torch.Tensor)
darts/models/components/patchtst_fm_submodels.py:161
Method
forward
(self, x: torch.Tensor)
darts/models/components/patchtst_fm_submodels.py:183
Method
forward
( self, x: torch.Tensor, attn_mask: torch.Tensor | None = None )
darts/models/components/patchtst_fm_submodels.py:214
Method
forward
( self, x: torch.Tensor, attn_mask: torch.Tensor | None = None )
darts/models/components/patchtst_fm_submodels.py:280
Method
forward
(self, x: torch.Tensor)
darts/models/components/glu_variants.py:23
Method
forward
(self, x: torch.Tensor)
darts/models/components/glu_variants.py:34
Method
forward
(self, x: torch.Tensor)
darts/models/components/glu_variants.py:45
Method
forward
(self, x: torch.Tensor)
darts/models/components/glu_variants.py:56
Method
forward
(self, x: torch.Tensor)
darts/models/components/glu_variants.py:67
← previous
next →
1,701–1,800 of 3,734, ranked by callers