MCPcopy Create free account

hub / github.com/unit8co/darts / functions

Functions3,734 in github.com/unit8co/darts

Functioncustom_mean_invalid_signature
(x)
darts/tests/models/forecasting/test_baseline_models.py:67
Functioncustom_mean_valid
(x, dim)
darts/tests/models/forecasting/test_baseline_models.py:61
Methodcustom_metric
( actual_series, pred_series, intersect=True, *, q
darts/tests/metrics/test_metrics.py:2205
Methoddecoder_variables
List of all decoder variables in model (excluding static variables)
darts/models/forecasting/tft_model.py:372
Functiondecorator
(method_to_sanitize: Callable[..., T])
darts/utils/utils.py:174
Functiondecorator
(self, *args, **kwargs)
darts/utils/torch.py:69
Functiondrop_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
Functiondrop_before_index
Drops everything before the provided time `split_point` (excluded) from the index. Parameters ---------- index The index to
darts/utils/utils.py:339
Functiondtw
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
Methodduration
The duration of the series (as a ``pandas.Timedelta`` or `int`).
darts/timeseries.py:1725
Methodencode_inference
Returns encoded index for inference/prediction. Parameters ---------- n The forecast horizon target
darts/dataprocessing/encoders/encoder_base.py:694
Methodencode_train
Returns encoded index for training. Parameters ---------- target The target TimeSeries used during training or pa
darts/dataprocessing/encoders/encoder_base.py:650
Methodencode_train_inference
Returns encoded index for inference/prediction. Parameters ---------- n The forecast horizon target
darts/dataprocessing/encoders/encoder_base.py:750
Functionencode_year
(idx)
darts/tests/explainability/test_torch_explainer.py:59
Methodencoder_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
Methodencoder_variables
List of all encoder variables in model (excluding static variables)
darts/models/forecasting/tft_model.py:365
Methodencoding_n_components
(self)
darts/dataprocessing/encoders/encoders.py:264
Methodencoding_n_components
(self)
darts/dataprocessing/encoders/encoders.py:430
Methodencoding_n_components
(self)
darts/dataprocessing/encoders/encoders.py:613
Methodencoding_n_components
(self)
darts/dataprocessing/encoders/encoders.py:800
Methodencoding_n_components
Returns the number of components generated by `SequentialEncoder.past_encoders` and `SequentialEncoder.future_encoders`.
darts/dataprocessing/encoders/encoders.py:1347
Methodencoding_n_components
The number of components in the `SingleEncoder` output.
darts/dataprocessing/encoders/encoder_base.py:807
Methodensemble
( self, predictions: TimeSeriesLike, series: TimeSeriesLike, n: int, n
darts/models/forecasting/regression_ensemble_model.py:507
Methodensemble
Average the `forecasting_models` predictions, component-wise
darts/models/forecasting/naive_ensemble_model.py:107
Methodepochs_trained
(self)
darts/models/forecasting/torch_forecasting_model.py:2528
Methodepochs_trained
(self)
darts/models/forecasting/pl_forecasting_module.py:796
Functionerr
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
Methodeval_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
Methodeval_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
Methodeval_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
Methodeval_model
(normalize, use_past_covar)
darts/tests/models/forecasting/test_dlinear_nlinear.py:315
Functionexecute_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
Methodexplain
Explains a foreground time series, and returns a :class:`_ExplainabilityResult <darts.explainability.explainability_result._Explainab
darts/explainability/explainability.py:116
Methodextract_dayofweek
(index)
darts/tests/models/forecasting/test_local_forecasting_models.py:358
Methodextract_month
(index)
darts/tests/dataprocessing/encoders/test_encoders.py:481
Functionextract_year
Return year of time index entry, normalized
darts/tests/explainability/test_shap_explainer.py:54
Methodextract_year
(index)
darts/tests/dataprocessing/encoders/test_encoders.py:484
Methodextreme_lags
( self, )
darts/models/forecasting/sklearn_model.py:581
Methodextreme_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
Methodextreme_lags
( self, )
darts/models/forecasting/forecasting_model.py:2936
Methodextreme_lags
( self, )
darts/models/forecasting/forecasting_model.py:3447
Methodextreme_lags
( self, )
darts/models/forecasting/torch_forecasting_model.py:2852
Methodextreme_lags
( self, )
darts/models/forecasting/torch_forecasting_model.py:2884
Methodextreme_lags
( self, )
darts/models/forecasting/torch_forecasting_model.py:2916
Methodextreme_lags
( self, )
darts/models/forecasting/torch_forecasting_model.py:2948
Methodextreme_lags
( self, )
darts/models/forecasting/torch_forecasting_model.py:2980
Methodextreme_lags
( self, )
darts/models/forecasting/ensemble_model.py:661
Methodextreme_lags
( self, )
darts/models/forecasting/conformal_models.py:1518
Functionf1
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
Methodf_encoder
(idx)
darts/tests/utils/historical_forecasts/test_historical_forecasts.py:1714
Functionfake_package
Create a throwaway module that mimics a package ``__init__.py``.
darts/tests/utils/test_lazy.py:9
Methodfill
(self, value)
darts/dataprocessing/dtw/cost_matrix.py:110
Methodfilter
Filters a given series Parameters ---------- series The series to filter. Returns -------
darts/models/filtering/filtering_model.py:28
Methodfind_max_lag_or_none
(lag_id, aggregator)
darts/models/forecasting/ensemble_model.py:715
Methodfirst_prediction_index
(self)
darts/models/forecasting/tcn_model.py:257
Methodfirst_prediction_index
Returns the index of the first predicted within the output of self.model.
darts/models/forecasting/pl_forecasting_module.py:227
Methodfirst_value
First value of the univariate series. Returns ------- float The first value of this univariate deterministic time
darts/timeseries.py:2013
Methodfit
(self, X, y, sample_weight=None, **fit_params)
darts/utils/multioutput.py:163
Methodfit
(self, data, *args, **kwargs)
darts/tests/utils/historical_forecasts/test_historical_forecasts.py:4647
Methodfit
(*args)
darts/tests/models/forecasting/test_classifier_model.py:1111
Methodfit
(*args)
darts/tests/models/forecasting/test_classifier_model.py:1176
Methodfit
Fit the underlying forecasting/filtering model (if applicable) and the fittable scorers.
darts/ad/anomaly_model/anomaly_model.py:44
Methodfit
( self, series: TimeSeriesLike, past_covariates: TimeSeriesLike | None = None,
darts/models/forecasting/sklearn_model.py:2119
Methodfit
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
Methodfit
( self, series: TimeSeries, verbose: bool | None = None )
darts/models/forecasting/forecasting_model.py:2928
Methodfit
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
Methodfit
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
Methodfit
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
Methodfit
Fits/trains the model using the provided list of features time series and the target time series. Parameters ----------
darts/models/forecasting/lgbm.py:251
Methodfit
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
Methodfit
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
Methodfit_called
Returns whether the `Encoder` object has been fitted.
darts/dataprocessing/encoders/encoder_base.py:595
Methodfit_called
Return whether the transformer has been fitted.
darts/dataprocessing/encoders/encoder_base.py:911
Methodfit_predict
perform model training and prediction
darts/tests/models/forecasting/test_sklearn_models.py:3655
Methodfit_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
Methodfittable
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
Functionfix_pythonpath_if_working_locally
Add the parent path to pythonpath if current working dir is darts/examples
examples/utils/utils.py:7
Functionfix_random_state
Fixture to fix the random state for tests.
darts/tests/models/filtering/test_filters.py:16
Methodforward
(self, input: Tensor)
darts/utils/torch.py:41
Methodforward
(self, inpt, tgt)
darts/utils/losses.py:49
Methodforward
(self, inpt, tgt)
darts/utils/losses.py:75
Methodforward
(self, inpt, tgt)
darts/utils/losses.py:95
Methodforward
(self, x_in)
darts/tests/models/forecasting/test_block_RNN.py:37
Methodforward
(self, inputs: torch.Tensor)
darts/models/components/timesfm2p5_submodels.py:105
Methodforward
(self, x: torch.Tensor)
darts/models/components/timesfm2p5_submodels.py:145
Methodforward
Generates a JTensor of sinusoids with different frequencies.
darts/models/components/timesfm2p5_submodels.py:186
Methodforward
(self, x: torch.Tensor)
darts/models/components/timesfm2p5_submodels.py:252
Methodforward
( self, inputs_q: torch.Tensor, *, patch_mask: torch.Tensor, )
darts/models/components/timesfm2p5_submodels.py:319
Methodforward
( self, input_embeddings: torch.Tensor, patch_mask: torch.Tensor, )
darts/models/components/timesfm2p5_submodels.py:429
Methodforward
(self, x: torch.Tensor)
darts/models/components/patchtst_fm_submodels.py:99
Methodforward
(self, x: torch.Tensor)
darts/models/components/patchtst_fm_submodels.py:116
Methodforward
(self, x: torch.Tensor)
darts/models/components/patchtst_fm_submodels.py:161
Methodforward
(self, x: torch.Tensor)
darts/models/components/patchtst_fm_submodels.py:183
Methodforward
( self, x: torch.Tensor, attn_mask: torch.Tensor | None = None )
darts/models/components/patchtst_fm_submodels.py:214
Methodforward
( self, x: torch.Tensor, attn_mask: torch.Tensor | None = None )
darts/models/components/patchtst_fm_submodels.py:280
Methodforward
(self, x: torch.Tensor)
darts/models/components/glu_variants.py:23
Methodforward
(self, x: torch.Tensor)
darts/models/components/glu_variants.py:34
Methodforward
(self, x: torch.Tensor)
darts/models/components/glu_variants.py:45
Methodforward
(self, x: torch.Tensor)
darts/models/components/glu_variants.py:56
Methodforward
(self, x: torch.Tensor)
darts/models/components/glu_variants.py:67
← previousnext →1,701–1,800 of 3,734, ranked by callers