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
on_fit_start
(self, trainer, pl_module)
darts/utils/callbacks.py:159
Method
on_load_checkpoint
(self, checkpoint: dict[str, Any])
darts/models/forecasting/pl_forecasting_module.py:768
Method
on_predict_batch_start
(self, *args, **kwargs)
darts/tests/models/forecasting/test_torch_forecasting_model.py:1987
Method
on_predict_end
(self)
darts/models/forecasting/pl_forecasting_module.py:331
Method
on_predict_start
(self)
darts/models/forecasting/pl_forecasting_module.py:327
Method
on_save_checkpoint
(self, checkpoint: dict[str, Any])
darts/models/forecasting/pl_forecasting_module.py:757
Method
on_train_batch_start
(self, *args, **kwargs)
darts/tests/models/forecasting/test_torch_forecasting_model.py:1981
Method
on_train_epoch_end
(self, *args, **kwargs)
darts/tests/models/forecasting/test_ptl_trainer.py:237
Method
on_train_epoch_end
(self, trainer, pl_module)
darts/tests/models/forecasting/test_torch_forecasting_model.py:219
Method
on_train_epoch_end
(self)
darts/models/forecasting/pl_forecasting_module.py:321
Method
on_validation_batch_start
(self, *args, **kwargs)
darts/tests/models/forecasting/test_torch_forecasting_model.py:1984
Method
on_validation_epoch_end
(self)
darts/tests/utils/test_callbacks.py:60
Method
on_validation_epoch_end
(self)
darts/models/forecasting/pl_forecasting_module.py:324
Function
ope
Overall Percentage Error (OPE). 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:2026
Method
output_chunk_length
(self)
darts/models/forecasting/sklearn_model.py:627
Method
output_chunk_length
Number of time steps predicted at once by the model, not defined for statistical models.
darts/models/forecasting/forecasting_model.py:339
Method
output_chunk_length
(self)
darts/models/forecasting/torch_forecasting_model.py:2548
Method
output_chunk_length
(self)
darts/models/forecasting/ensemble_model.py:736
Method
output_chunk_length
Number of time steps predicted at once by the model.
darts/models/forecasting/pl_forecasting_module.py:800
Method
output_chunk_length
(self)
darts/models/forecasting/conformal_models.py:1505
Method
output_chunk_shift
(self)
darts/models/forecasting/sklearn_model.py:631
Method
output_chunk_shift
Number of time steps that the output/prediction starts after the end of the input.
darts/models/forecasting/forecasting_model.py:346
Method
output_chunk_shift
(self)
darts/models/forecasting/torch_forecasting_model.py:2556
Method
output_chunk_shift
(self)
darts/models/forecasting/ensemble_model.py:754
Method
output_chunk_shift
(self)
darts/models/forecasting/conformal_models.py:1510
Method
output_size
(self)
darts/models/forecasting/tft_submodels.py:111
Method
parameter_names
Returns the likelihood parameter names.
darts/utils/likelihood_models/base.py:97
Method
params_generator
( transformer_selector_, fixed_params, fitted_params, parallel
darts/dataprocessing/transformers/fittable_data_transformer.py:362
Method
params_generator
(transformer_selector, fixed_params, parallel_params)
darts/dataprocessing/transformers/base_data_transformer.py:422
Method
past_components
Returns the past covariates component names generated by `SequentialEncoder.past_encoders`. Only available after calling `SequentialEncoder.en
darts/dataprocessing/encoders/encoders.py:1325
Method
past_encoders
Returns the past covariates encoders
darts/dataprocessing/encoders/encoders.py:1310
Method
past_transformer
Returns the past transformer object
darts/dataprocessing/encoders/encoders.py:1361
Function
plot
Plot the warp path. Parameters ---------- new_plot Boolean value indicating whether to spawn a new figure. show_series
darts/dataprocessing/dtw/_plot.py:4
Function
plot
Plot a TimeSeries using Matplotlib. Parameters ---------- series The TimeSeries to plot. new_plot Whether to spawn a
darts/utils/_plotting.py:177
Function
plot_alignment
Plots the uni-variate component of each series, with lines between them indicating the alignment selected by the DTW algorithm. Paramete
darts/dataprocessing/dtw/_plot.py:97
Function
plotly
Plot a TimeSeries using Plotly. Parameters ---------- series The TimeSeries to plot. fig Optionally, a Plotly `go.Fig
darts/utils/_plotting.py:352
Method
plus_ten
(x)
darts/tests/dataprocessing/test_pipeline.py:537
Method
pre_proces_fn
(extracted_dir, dataset_path)
darts/datasets/datasets.py:546
Method
pre_proces_fn
(extracted_dir, dataset_path)
darts/datasets/datasets.py:625
Function
precision
Precision Score [1]_. For the true series :math:`y` and predicted series :math:`\\hat{y}` of length :math:`T`, it is computed per component/c
darts/metrics/metrics.py:4271
Method
predict
Generates sampled or direct likelihood parameter predictions. Parameters ---------- model_output The out
darts/utils/likelihood_models/statsforecast.py:61
Method
predict
(*args)
darts/tests/models/forecasting/test_classifier_model.py:1114
Method
predict
(*args)
darts/tests/models/forecasting/test_classifier_model.py:1179
Method
predict
( self, series: TimeSeriesLike, name: str = "series", )
darts/ad/aggregators/aggregators.py:210
Method
predict
(self, *args, **kwargs)
darts/models/forecasting/catboost_model.py:673
Method
predict
( self, n: int, series: TimeSeries | None = None, future_covariates: TimeSerie
darts/models/forecasting/kalman_forecaster.py:128
Method
predict
Forecasts values for `n` time steps after the end of the series. If :func:`fit()` has been called with only one ``TimeSeries`` as argument, t
darts/models/forecasting/forecasting_model.py:3073
Method
predict
Forecasts values for `n` time steps after the end of the training series. If some future covariates were specified during the training, they
darts/models/forecasting/forecasting_model.py:3297
Method
predict
If the `series` parameter is not set, forecasts values for `n` time steps after the end of the training series. If some future covariates were
darts/models/forecasting/forecasting_model.py:3487
Method
predict
( self, n: int, series: TimeSeriesLike | None = None, past_covariates: TimeSer
darts/models/forecasting/ensemble_model.py:413
Method
predict
Forecasts calibrated quantile intervals (or samples from calibrated intervals) for `n` time steps after the end of the `series`. It i
darts/models/forecasting/conformal_models.py:244
Method
predict
( self, n: int, num_samples: int = 1, verbose: bool | None = None, sho
darts/models/forecasting/baselines.py:161
Method
predict
( self, n: int, num_samples: int = 1, verbose: bool | None = None, sho
darts/models/forecasting/baselines.py:227
Method
predict_likelihood_parameters
(self, model_output: np.ndarray)
darts/utils/likelihood_models/sklearn.py:161
Method
predict_likelihood_parameters
(self, model_output: np.ndarray)
darts/utils/likelihood_models/sklearn.py:234
Method
predict_likelihood_parameters
(self, model_output: np.ndarray)
darts/utils/likelihood_models/sklearn.py:359
Method
predict_likelihood_parameters
Returns the distribution parameters as a array, extracted from the raw model outputs.
darts/utils/likelihood_models/sklearn.py:640
Method
predict_likelihood_parameters
Overwrite the parent since the parameters are extracted in two steps.
darts/utils/likelihood_models/torch.py:405
Method
predict_likelihood_parameters
(self, model_output: torch.Tensor)
darts/utils/likelihood_models/torch.py:656
Method
predict_likelihood_parameters
Overwrite parent method since QuantileRegression is not a Likelihood per-se and parameters must be extracted differently.
darts/utils/likelihood_models/torch.py:1151
Method
predict_proba
(self, *args)
darts/tests/models/forecasting/test_classifier_model.py:1182
Function
process_model_list
(classifiers)
darts/tests/models/forecasting/test_classifier_model.py:47
Function
process_package_docstrings
Process package RST files to replace titles and add docstring content. This is connected to the 'source-read' event in Sphinx. Args:
docs/fix_package_titles.py:114
Method
q_hat_from_residuals
(residuals_)
darts/models/forecasting/conformal_models.py:1685
Method
q_hat_from_residuals
(residuals_)
darts/models/forecasting/conformal_models.py:1835
Function
ql
Quantile Loss (QL). Also known as Pinball Loss. QL is a metric that quantifies the accuracy of a specific quantile :math:`q` from the predict
darts/metrics/metrics.py:2910
Function
qr
Quantile Risk (QR) QR is a metric that quantifies the accuracy of a specific quantile :math:`q` from the predicted value distribution of a st
darts/metrics/metrics.py:2797
Function
random
()
darts/tests/models/forecasting/test_classifier_model.py:776
Function
random_method
Decorator usable on any method within a class that will provide a random context. The decorator will store a `_random_instance` property on the o
darts/utils/utils.py:701
Function
random_method
Decorator usable on any method within a class that will provide an isolated torch random context. The decorator will store a `_random_instance` p
darts/utils/torch.py:54
Method
reals
List of all continuous variables in model
darts/models/forecasting/tft_model.py:337
Function
recall
Recall Score [1]_. For the true series :math:`y` and predicted series :math:`\\hat{y}` of length :math:`T`, it is computed per component/colu
darts/metrics/metrics.py:4389
Method
recurse_children
(children, acc)
darts/models/forecasting/pl_forecasting_module.py:729
Function
replace_link
(match)
docs/fix_package_titles.py:179
Method
requires_fit
(self)
darts/dataprocessing/encoders/encoders.py:256
Method
requires_fit
(self)
darts/dataprocessing/encoders/encoders.py:422
Method
requires_fit
(self)
darts/dataprocessing/encoders/encoders.py:604
Method
requires_fit
(self)
darts/dataprocessing/encoders/encoders.py:792
Method
requires_fit
(self)
darts/dataprocessing/encoders/encoders.py:1626
Method
requires_fit
Whether the `Encoder` sub class must be fit with `Encoder.encode_train()` before inference with `Encoder.encode_inference()`.
darts/dataprocessing/encoders/encoder_base.py:601
Function
reset_options
Restores default config after each test.
darts/tests/test_config.py:22
Method
residuals
Compute the residuals that the model produced for historical forecasts on (potentially multiple) `series`. This function computes the differe
darts/models/forecasting/forecasting_model.py:2004
Method
retrain_f_delayed_true
( counter, pred_time, train_series, past_covariates, future_covariates )
darts/tests/utils/historical_forecasts/test_historical_forecasts.py:2622
Method
retrain_f_invalid
( counter, pred_time, train_series, past_covariates, future_covariates )
darts/tests/utils/historical_forecasts/test_historical_forecasts.py:2590
Method
retrain_f_invalid_ouput_int
( counter, pred_time, train_series, past_covariates, future_covariates )
darts/tests/utils/historical_forecasts/test_historical_forecasts.py:2603
Method
retrain_f_invalid_ouput_str
( counter, pred_time, train_series, past_covariates, future_covariates )
darts/tests/utils/historical_forecasts/test_historical_forecasts.py:2608
Method
retrain_f_missing_arg
( counter, train_series, past_covariates, future_covariates )
darts/tests/utils/historical_forecasts/test_historical_forecasts.py:2595
Method
retrain_f_valid
( counter, pred_time, train_series, past_covariates, future_covariates )
darts/tests/utils/historical_forecasts/test_historical_forecasts.py:2613
Method
retrain_fn
( counter, pred_time, train_series, past_covariates, future_covariates )
darts/tests/utils/historical_forecasts/test_historical_forecasts.py:3600
Method
retrain_func
( counter, pred_time, train_series, past_covariates, future_covariates )
darts/tests/models/forecasting/test_local_forecasting_models.py:161
Method
retrain_func
( counter, pred_time, train_series, past_covariates, future_covariates )
darts/models/forecasting/forecasting_model.py:890
Function
rmsle
Root Mean Squared Log Error (RMSLE). For the true series :math:`y` and predicted series :math:`\\hat{y}` of length :math:`T`, it is computed per
darts/metrics/metrics.py:1421
Function
rmsse
Root Mean Squared Scaled Error (RMSSE) (see [1]_ for more information on scaled forecasting errors). It is the Root Mean Squared Error (RMSE) sca
darts/metrics/metrics.py:1199
Method
sample
(self, model_output: np.ndarray)
darts/utils/likelihood_models/sklearn.py:145
Method
sample
(self, model_output: np.ndarray)
darts/utils/likelihood_models/sklearn.py:230
Method
sample
(self, model_output: np.ndarray)
darts/utils/likelihood_models/sklearn.py:302
Method
sample
Samples a prediction from the likelihood distribution and the predicted parameters.
darts/utils/likelihood_models/sklearn.py:587
Method
sample
Samples a prediction from the likelihood distribution and the predicted parameters.
darts/utils/likelihood_models/torch.py:193
Method
sample
(self, model_output: torch.Tensor)
darts/utils/likelihood_models/torch.py:296
Method
sample
(self, model_output: torch.Tensor)
darts/utils/likelihood_models/torch.py:351
← previous
next →
2,001–2,100 of 3,734, ranked by callers