MCPcopy Create free account

hub / github.com/unit8co/darts / functions

Functions3,734 in github.com/unit8co/darts

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
Methoda_random_function
()
darts/tests/utils/test_utils_torch.py:33
Methodaccept_transformer
`CyclicTemporalEncoder` should not be transformed. Returns two elements for sine and cosine waves.
darts/dataprocessing/encoders/encoders.py:251
Methodaccept_transformer
`DatetimeAttributeEncoder` accepts transformations
darts/dataprocessing/encoders/encoders.py:417
Methodaccept_transformer
`IntegerIndexEncoder` accepts transformations. Note that transforming 'relative' `IntegerIndexEncoder` will return the absolute position (in t
darts/dataprocessing/encoders/encoders.py:598
Methodaccept_transformer
`CallableIndexEncoder` accepts transformations.
darts/dataprocessing/encoders/encoders.py:787
Methodaccept_transformer
Whether the `SingleEncoder` sub class accepts to be transformed.
darts/dataprocessing/encoders/encoder_base.py:801
Functionaccuracy
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
Functionae
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
Functionape
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
Functionarre
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
Functionase
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
Methodassert_ts_are_equal
(ts1, ts2)
darts/tests/dataprocessing/transformers/test_reconciliation.py:189
Functionautc
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
Methodbase_component_name
(self)
darts/dataprocessing/encoders/encoders.py:260
Methodbase_component_name
(self)
darts/dataprocessing/encoders/encoders.py:426
Methodbase_component_name
(self)
darts/dataprocessing/encoders/encoders.py:609
Methodbase_component_name
(self)
darts/dataprocessing/encoders/encoders.py:796
Methodbase_component_name
Returns the index generator base component name. - "pc": past covariates - "fc": future covariates
darts/dataprocessing/encoders/encoder_base.py:189
Methodbase_component_name
(self)
darts/dataprocessing/encoders/encoder_base.py:356
Methodbase_component_name
(self)
darts/dataprocessing/encoders/encoder_base.py:469
Methodbase_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
Methodbottom_level_components
The bottom level component names of this series, or `None` if the series has no hierarchy.
darts/timeseries.py:1590
Methodbottom_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
Methodbuild_extra
()
darts/tests/utils/test_lazy.py:97
Methodcategorical_static_variables
List of categorical static variables in model
darts/models/forecasting/tft_model.py:358
Methodcheck_diff_series
(self, scorer, **kwargs)
darts/tests/ad/test_scorers.py:806
Methodcheck_metric
(series, pred_series, metric, sc_exp)
darts/tests/ad/test_evaluation.py:66
Methodcheck_only_non_native_are_wrapped
(model, supports_multioutput_natively)
darts/tests/models/forecasting/test_sklearn_models.py:1482
Methodcheck_only_non_native_are_wrapped
(model, supports_multioutput_natively)
darts/tests/models/forecasting/test_classifier_model.py:462
Methodcheck_pruned
Raise :class:`optuna.TrialPruned` manually if pruned. Currently, ``intermediate_values`` are not properly propagated between processes due to
darts/utils/callbacks.py:247
Methodcheck_ref
(**test_kwargs)
darts/tests/metrics/test_metrics.py:2263
Methodcheck_res
( pred_prob_, pred_qs_, shape_exp, series_reduction=None, **test_kwargs )
darts/tests/metrics/test_metrics.py:2062
Methodclass_labels
(self)
darts/tests/models/forecasting/test_classifier_model.py:1188
Methodclass_labels
Returns the classes of the classifier model if the model was previously trained.
darts/models/forecasting/sklearn_model.py:2165
Functionclassification_support
This decorator adds support for classification metrics including sanity checks and handling of class probabilities and categorical samples.
darts/metrics/utils.py:123
Functioncoefficient_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
Methodcolumn_index
(self, elem: tuple[int, int])
darts/dataprocessing/dtw/window.py:103
Methodcolumn_index
(self, elem: tuple[int, int])
darts/dataprocessing/dtw/window.py:232
Methodcolumn_length
(self, column: int)
darts/dataprocessing/dtw/window.py:106
Methodcolumn_length
(self, column: int)
darts/dataprocessing/dtw/window.py:228
Methodcolumn_lengths
(self)
darts/dataprocessing/dtw/window.py:109
Methodcolumn_lengths
(self)
darts/dataprocessing/dtw/window.py:254
Methodcolumns
The component (column) names of the series, as a ``pandas.Index``.
darts/timeseries.py:1682
Functioncomponent_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
Methodcomponent_names
Generates names for the parameters of the Likelihood.
darts/utils/likelihood_models/sklearn.py:520
Methodcomponents
The component (column) names of the series, as a ``pandas.Index``.
darts/timeseries.py:1677
Methodcomponents
Returns the covariates component names generated by `SequentialEncoder.past_encoders` and `SequentialEncoder.future_encoders`. A tuple of (pas
darts/dataprocessing/encoders/encoders.py:1339
Methodcomponents
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
Methodcomponents_f
(*args, **kwargs)
darts/tests/utils/test_timeseries_generation.py:679
Methodcompute_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
Methodconfigure_optimizers
(self)
darts/tests/utils/test_callbacks.py:67
Methodconfigure_optimizers
configures optimizers and learning rate schedulers for model optimization.
darts/models/forecasting/pl_forecasting_module.py:479
Methodconformal_predict
(idx_, pred_vals_)
darts/models/forecasting/conformal_models.py:1289
Functionconfusion_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
Methodconsiders_static_covariates
Whether the model considers static covariates, if there are any.
darts/models/forecasting/forecasting_model.py:325
Methodconsiders_static_covariates
(self)
darts/models/forecasting/conformal_models.py:1580
Methodcount_above_mean
(array)
darts/tests/dataprocessing/transformers/test_window_transformations.py:310
Methodcreate_model
(**kwargs)
darts/tests/models/forecasting/test_torch_forecasting_model.py:440
Methodcreate_shap_input
( self, series: TimeSeriesLike, past_covariates: TimeSeriesLike | None, future
darts/explainability/shap_adapters/sklearn_shap_adapter.py:155
Methodcreate_shap_input
( self, series: TimeSeriesLike, past_covariates: TimeSeriesLike | None, future
darts/explainability/shap_adapters/torch_shap_adapter.py:37
Functioncrps
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
Functioncustom_mean_invalid_out_shape
(x, dim)
darts/tests/models/forecasting/test_baseline_models.py:64
Functioncustom_mean_invalid_output_type
(x, dim)
darts/tests/models/forecasting/test_baseline_models.py:70
← previousnext →1,601–1,700 of 3,734, ranked by callers