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
_supports_val_series
(self)
darts/models/forecasting/torch_forecasting_model.py:2576
Method
_supports_val_series
(self)
darts/models/forecasting/lgbm.py:360
Method
_supress_generate_predict_encoding
Controls whether encodings should be generated in :func:`FutureCovariatesLocalForecastingModel.predict()``
darts/models/forecasting/forecasting_model.py:3442
Method
_supress_generate_predict_encoding
(self)
darts/models/forecasting/forecasting_model.py:3637
Method
_target_window_lengths
(self)
darts/tests/models/forecasting/test_regression_ensemble_model.py:48
Method
_target_window_lengths
(self)
darts/models/forecasting/sklearn_model.py:617
Method
_target_window_lengths
The input and output target series window lengths consumed (input + output for training, input for prediction) or generated (output f
darts/models/forecasting/forecasting_model.py:495
Method
_target_window_lengths
(self)
darts/models/forecasting/forecasting_model.py:2966
Method
_target_window_lengths
(self)
darts/models/forecasting/arima.py:242
Method
_target_window_lengths
(self)
darts/models/forecasting/sf_model.py:398
Method
_target_window_lengths
(self)
darts/models/forecasting/torch_forecasting_model.py:2017
Method
_target_window_lengths
(self)
darts/models/forecasting/ensemble_model.py:654
Method
_target_window_lengths
(self)
darts/models/forecasting/theta.py:193
Method
_target_window_lengths
(self)
darts/models/forecasting/theta.py:515
Method
_target_window_lengths
(self)
darts/models/forecasting/varima.py:276
Method
_target_window_lengths
(self)
darts/models/forecasting/exponential_smoothing.py:195
Method
_target_window_lengths
(self)
darts/models/forecasting/conformal_models.py:1532
Method
_target_window_lengths
(self)
darts/models/forecasting/baselines.py:105
Method
_target_window_lengths
(self)
darts/models/forecasting/baselines.py:216
Method
_to_multi_series
Load the electricity dataset as a list of univariate series, one for each household.
darts/datasets/datasets.py:565
Method
_to_multi_series
load the Uber TLC dataset as a list of univariate timeseries, one for each locationID.
darts/datasets/datasets.py:664
Method
_to_multi_series
Load the ExchangeRateDataset dataset as a list of univariate timeseries, one for each country.
darts/datasets/datasets.py:772
Method
_to_multi_series
Load the TrafficDataset dataset as a list of univariate timeseries, one for each ID.
darts/datasets/datasets.py:811
Method
_to_multi_series
Load the WeatherDataset dataset as a list of univariate timeseries, one for weather indicator.
darts/datasets/datasets.py:851
Function
_torch_dot_product_attention
Performs the exact same (unscaled) attention as the above function, but using the fast and fused F.scaled_dot_product_attention kernel.
darts/models/components/timesfm2p5_submodels.py:220
Method
_ts_fit
Applies component masking to `ts_fit`.
darts/dataprocessing/transformers/fittable_data_transformer.py:173
Method
_ts_inverse_transform
Applies component masking to `ts_inverse_transform`.
darts/dataprocessing/transformers/invertible_data_transformer.py:159
Method
_ts_transform
Applies component masking to `ts_transform`.
darts/dataprocessing/transformers/base_data_transformer.py:221
Method
_validate_bool
Validator for boolean values.
darts/config.py:159
Method
_validate_lags
( self, lags: LAGS_TYPE | None, lags_past_covariates: LAGS_TYPE | None, lags_f
darts/models/forecasting/sklearn_model.py:2177
Method
_validate_model
(self, model: SKLearnModel)
darts/explainability/shap_adapters/sklearn_shap_adapter.py:237
Method
_validate_model
(self, model: TorchForecastingModel)
darts/explainability/shap_adapters/torch_shap_adapter.py:304
Method
_validate_positive_int
Validator for positive integers.
darts/config.py:153
Method
_verify_lags
(self, min_covariates_lag, max_covariates_lag)
darts/dataprocessing/encoders/encoder_base.py:359
Method
_verify_predict_sample
(self, predict_sample: tuple)
darts/models/forecasting/global_baseline_models.py:220
Method
_verify_train_dataset_type
(train_dataset: ShiftedTorchTrainingDataset)
darts/models/forecasting/rnn_model.py:611
Function
_with_sanity_checks
Decorator allowing to specify some sanity check method(s) to be used on a class method. The decorator guarantees that args and kwargs from th
darts/utils/utils.py:145
Method
a_random_function
()
darts/tests/utils/test_utils_torch.py:33
Method
accept_transformer
`CyclicTemporalEncoder` should not be transformed. Returns two elements for sine and cosine waves.
darts/dataprocessing/encoders/encoders.py:251
Method
accept_transformer
`DatetimeAttributeEncoder` accepts transformations
darts/dataprocessing/encoders/encoders.py:417
Method
accept_transformer
`IntegerIndexEncoder` accepts transformations. Note that transforming 'relative' `IntegerIndexEncoder` will return the absolute position (in t
darts/dataprocessing/encoders/encoders.py:598
Method
accept_transformer
`CallableIndexEncoder` accepts transformations.
darts/dataprocessing/encoders/encoders.py:787
Method
accept_transformer
Whether the `SingleEncoder` sub class accepts to be transformed.
darts/dataprocessing/encoders/encoder_base.py:801
Function
accuracy
Accuracy Score [1]_. For the true series :math:`y` and predicted series :math:`\\hat{y}` of length :math:`T`, it is computed per component/co
darts/metrics/metrics.py:4181
Function
ae
Absolute Error (AE). For the true series :math:`y` and predicted series :math:`\\hat{y}` of length :math:`T`, it is computed per component/co
darts/metrics/metrics.py:228
Function
ape
Absolute Percentage Error (APE). For the true series :math:`y` and predicted series :math:`\\hat{y}` of length :math:`T`, it is computed as a
darts/metrics/metrics.py:1513
Function
arre
Absolute Ranged Relative Error (ARRE). For the true series :math:`y` and predicted series :math:`\\hat{y}` of length :math:`T`, it is computed as
darts/metrics/metrics.py:2131
Function
ase
Absolute Scaled Error (ASE) (see [1]_ for more information on scaled forecasting errors). It is the Absolute Error (AE) scaled by the Mean AE (MA
darts/metrics/metrics.py:413
Method
assert_ts_are_equal
(ts1, ts2)
darts/tests/dataprocessing/transformers/test_reconciliation.py:189
Function
autc
Area Under Tolerance Curve (AUTC). AUTC measures the overall alignment between actual and predicted series across a range of tolerance levels.
darts/metrics/metrics.py:2586
Method
base_component_name
(self)
darts/dataprocessing/encoders/encoders.py:260
Method
base_component_name
(self)
darts/dataprocessing/encoders/encoders.py:426
Method
base_component_name
(self)
darts/dataprocessing/encoders/encoders.py:609
Method
base_component_name
(self)
darts/dataprocessing/encoders/encoders.py:796
Method
base_component_name
Returns the index generator base component name. - "pc": past covariates - "fc": future covariates
darts/dataprocessing/encoders/encoder_base.py:189
Method
base_component_name
(self)
darts/dataprocessing/encoders/encoder_base.py:356
Method
base_component_name
(self)
darts/dataprocessing/encoders/encoder_base.py:469
Method
base_component_name
Returns the base encoder base component name. The string follows the given format: `"darts_enc_{covariates_temp}_{encoder}_{attribute}"`, wher
darts/dataprocessing/encoders/encoder_base.py:819
Method
bottom_level_components
The bottom level component names of this series, or `None` if the series has no hierarchy.
darts/timeseries.py:1590
Method
bottom_level_series
The series containing the bottom-level components of this series in the same order as they appear in the series, or `None` if the series has n
darts/timeseries.py:1602
Method
build_extra
()
darts/tests/utils/test_lazy.py:97
Method
categorical_static_variables
List of categorical static variables in model
darts/models/forecasting/tft_model.py:358
Method
check_diff_series
(self, scorer, **kwargs)
darts/tests/ad/test_scorers.py:806
Method
check_metric
(series, pred_series, metric, sc_exp)
darts/tests/ad/test_evaluation.py:66
Method
check_only_non_native_are_wrapped
(model, supports_multioutput_natively)
darts/tests/models/forecasting/test_sklearn_models.py:1482
Method
check_only_non_native_are_wrapped
(model, supports_multioutput_natively)
darts/tests/models/forecasting/test_classifier_model.py:462
Method
check_pruned
Raise :class:`optuna.TrialPruned` manually if pruned. Currently, ``intermediate_values`` are not properly propagated between processes due to
darts/utils/callbacks.py:247
Method
check_ref
(**test_kwargs)
darts/tests/metrics/test_metrics.py:2263
Method
check_res
( pred_prob_, pred_qs_, shape_exp, series_reduction=None, **test_kwargs )
darts/tests/metrics/test_metrics.py:2062
Method
class_labels
(self)
darts/tests/models/forecasting/test_classifier_model.py:1188
Method
class_labels
Returns the classes of the classifier model if the model was previously trained.
darts/models/forecasting/sklearn_model.py:2165
Function
classification_support
This decorator adds support for classification metrics including sanity checks and handling of class probabilities and categorical samples.
darts/metrics/utils.py:123
Function
coefficient_of_variation
Coefficient of Variation (percentage). For the true series :math:`y` and predicted series :math:`\\hat{y}` of length :math:`T`, it is computed pe
darts/metrics/metrics.py:2430
Method
column_index
(self, elem: tuple[int, int])
darts/dataprocessing/dtw/window.py:103
Method
column_index
(self, elem: tuple[int, int])
darts/dataprocessing/dtw/window.py:232
Method
column_length
(self, column: int)
darts/dataprocessing/dtw/window.py:106
Method
column_length
(self, column: int)
darts/dataprocessing/dtw/window.py:228
Method
column_lengths
(self)
darts/dataprocessing/dtw/window.py:109
Method
column_lengths
(self)
darts/dataprocessing/dtw/window.py:254
Method
columns
The component (column) names of the series, as a ``pandas.Index``.
darts/timeseries.py:1682
Function
component_masking
Applies component masking to the series fed to any `transform` method, and then reverts the masking for the final output series.
darts/dataprocessing/transformers/base_data_transformer.py:23
Method
component_names
Generates names for the parameters of the Likelihood.
darts/utils/likelihood_models/sklearn.py:520
Method
components
The component (column) names of the series, as a ``pandas.Index``.
darts/timeseries.py:1677
Method
components
Returns the covariates component names generated by `SequentialEncoder.past_encoders` and `SequentialEncoder.future_encoders`. A tuple of (pas
darts/dataprocessing/encoders/encoders.py:1339
Method
components
Returns the encoded component names. Only available after `Encoder.encode_train()` or `Encoder.encode_inference()` have been called.
darts/dataprocessing/encoders/encoder_base.py:812
Method
components_f
(*args, **kwargs)
darts/tests/utils/test_timeseries_generation.py:679
Method
compute_loss
We are re-defining a custom loss (which is not a likelihood loss) compared to Likelihood Parameters ---------- model
darts/utils/likelihood_models/torch.py:1160
Method
configure_optimizers
(self)
darts/tests/utils/test_callbacks.py:67
Method
configure_optimizers
configures optimizers and learning rate schedulers for model optimization.
darts/models/forecasting/pl_forecasting_module.py:479
Method
conformal_predict
(idx_, pred_vals_)
darts/models/forecasting/conformal_models.py:1289
Function
confusion_matrix
Confusion Matrix (CM) [1]_. For the true series :math:`y` and predicted series :math:`\\hat{y}` of length :math:`T`, it is computed per compo
darts/metrics/metrics.py:4627
Method
considers_static_covariates
Whether the model considers static covariates, if there are any.
darts/models/forecasting/forecasting_model.py:325
Method
considers_static_covariates
(self)
darts/models/forecasting/conformal_models.py:1580
Method
count_above_mean
(array)
darts/tests/dataprocessing/transformers/test_window_transformations.py:310
Method
create_model
(**kwargs)
darts/tests/models/forecasting/test_torch_forecasting_model.py:440
Method
create_shap_input
( self, series: TimeSeriesLike, past_covariates: TimeSeriesLike | None, future
darts/explainability/shap_adapters/sklearn_shap_adapter.py:155
Method
create_shap_input
( self, series: TimeSeriesLike, past_covariates: TimeSeriesLike | None, future
darts/explainability/shap_adapters/torch_shap_adapter.py:37
Function
crps
Continuous Ranked Probability Score (CRPS). CRPS is a proper scoring rule that generalises the Mean Absolute Error (MAE) to probabilistic forecas
darts/metrics/metrics.py:3110
Function
custom_mean_invalid_out_shape
(x, dim)
darts/tests/models/forecasting/test_baseline_models.py:64
Function
custom_mean_invalid_output_type
(x, dim)
darts/tests/models/forecasting/test_baseline_models.py:70
← previous
next →
1,601–1,700 of 3,734, ranked by callers