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
_historical_forecasts_sanity_checks
(self, *args: Any, **kwargs: Any)
darts/models/forecasting/conformal_models.py:1501
Method
_load_from_disk
( self, path_to_file: Path, metadata: DatasetLoaderMetadata )
darts/datasets/dataset_loaders.py:205
Method
_make_global
()
darts/tests/models/forecasting/test_regression_ensemble_model.py:1561
Function
_mode
Computes the mode (value with the highest frequency) of a 1D numpy array. Parameters ---------- arr A numpy array representing th
darts/metrics/utils.py:694
Method
_model_encoder_settings
( self, )
darts/models/forecasting/sklearn_model.py:553
Method
_model_encoder_settings
Abstract property that returns model specific encoder settings that are used to initialize the encoders. Must return Tuple (input_chunk_lengt
darts/models/forecasting/forecasting_model.py:2606
Method
_model_encoder_settings
( self, )
darts/models/forecasting/forecasting_model.py:2915
Method
_model_encoder_settings
( self, )
darts/models/forecasting/forecasting_model.py:3399
Method
_model_encoder_settings
( self, )
darts/models/forecasting/torch_forecasting_model.py:2649
Method
_model_encoder_settings
(self)
darts/models/forecasting/ensemble_model.py:342
Method
_model_encoder_settings
(self)
darts/models/forecasting/conformal_models.py:1514
Method
_model_score_method
Wrapper around model inference method
darts/ad/scorers/kmeans_scorer.py:130
Method
_model_score_method
Wrapper around model inference method
darts/ad/scorers/wasserstein_scorer.py:148
Method
_model_score_method
Wrapper around model inference method
darts/ad/scorers/pyod_scorer.py:121
Method
_model_type
(self)
darts/models/forecasting/sklearn_model.py:1615
Method
_model_type
(self)
darts/models/forecasting/sklearn_model.py:2198
Method
_models_are_probabilistic
(self)
darts/models/forecasting/ensemble_model.py:763
Method
_models_same_likelihood
Return `True` if all the `forecasting_models` are probabilistic and fit the same distribution.
darts/models/forecasting/ensemble_model.py:769
Method
_name_mapping
Returns the feature name mapping of the TFT model. Returns ------- Dict[str, str] The feature name mapping. For e
darts/explainability/tft_explainer.py:550
Method
_nllloss
(self, params_out, target, sample_weight)
darts/utils/likelihood_models/torch.py:275
Method
_nllloss
(self, params_out, target, sample_weight)
darts/utils/likelihood_models/torch.py:336
Method
_null_trend
Helper function, used to make FFT model pickable.
darts/models/forecasting/fft.py:302
Method
_on_plotting_style_change
Callback for when plotting.use_darts_style changes.
darts/config.py:164
Method
_optimized_historical_forecasts
For TorchForecastingModels we use a strided inference dataset to avoid having to recreate trainers and datasets for each forecastable
darts/models/forecasting/torch_forecasting_model.py:2599
Method
_params_from_output
(self, model_output: torch.Tensor)
darts/utils/likelihood_models/torch.py:1209
Method
_predict
(self, n, *args, **kwargs)
darts/tests/models/forecasting/test_regression_ensemble_model.py:55
Method
_predict
( self, n: int, series: TimeSeries | None = None, historic_future_covariates:
darts/models/forecasting/kalman_forecaster.py:154
Method
_predict
Forecasts values for a certain number of time steps after the end of the series. TransferableFutureCovariatesLocalForecastingModel must implem
darts/models/forecasting/forecasting_model.py:3610
Method
_predict
( self, n: int, series: TimeSeries | None = None, historic_future_covariates:
darts/models/forecasting/sf_model.py:217
Method
_predict
( self, n: int, series: TimeSeries | None = None, historic_future_covariates:
darts/models/forecasting/varima.py:167
Method
_predict
( self, n: int, future_covariates: TimeSeries | None = None, num_samples: int
darts/models/forecasting/prophet_model.py:292
Method
_predict_core
( self, series: Sequence[TimeSeries], *args, **kwargs )
darts/ad/aggregators/or_aggregator.py:33
Method
_predict_core
( self, series: Sequence[TimeSeries], *args, **kwargs )
darts/ad/aggregators/and_aggregator.py:32
Method
_predict_core
(self, series: Sequence[TimeSeries])
darts/ad/aggregators/ensemble_sklearn_aggregator.py:50
Method
_prep_boundaries
Convert boundaries to List
darts/ad/detectors/detectors.py:221
Method
_prior_params
Has to be overwritten by the Likelihood objects supporting specifying a prior distribution on the outputs. If it returns None, no pri
darts/utils/likelihood_models/torch.py:170
Method
_prior_params
(self)
darts/utils/likelihood_models/torch.py:289
Method
_prior_params
(self)
darts/utils/likelihood_models/torch.py:344
Method
_prior_params
(self)
darts/utils/likelihood_models/torch.py:384
Method
_prior_params
(self)
darts/utils/likelihood_models/torch.py:446
Method
_prior_params
(self)
darts/utils/likelihood_models/torch.py:495
Method
_prior_params
(self)
darts/utils/likelihood_models/torch.py:549
Method
_prior_params
(self)
darts/utils/likelihood_models/torch.py:598
Method
_prior_params
(self)
darts/utils/likelihood_models/torch.py:644
Method
_prior_params
(self)
darts/utils/likelihood_models/torch.py:695
Method
_prior_params
(self)
darts/utils/likelihood_models/torch.py:744
Method
_prior_params
(self)
darts/utils/likelihood_models/torch.py:790
Method
_prior_params
(self)
darts/utils/likelihood_models/torch.py:838
Method
_prior_params
(self)
darts/utils/likelihood_models/torch.py:884
Method
_prior_params
(self)
darts/utils/likelihood_models/torch.py:932
Method
_prior_params
(self)
darts/utils/likelihood_models/torch.py:981
Method
_prior_params
(self)
darts/utils/likelihood_models/torch.py:1025
Method
_produce_train_output
(self, input_batch: TorchBatch)
darts/models/forecasting/rnn_model.py:115
Method
_randomize
(shape)
darts/models/forecasting/torch_forecasting_model.py:903
Method
_requires_training
Whether the model should be trained when calling a `fit*` method.
darts/models/forecasting/torch_forecasting_model.py:2585
Method
_requires_training
(self)
darts/models/forecasting/global_baseline_models.py:238
Method
_residuals_metric
Gives the "per time step" metric and optional metric kwargs used to compute residuals / non-conformity scores.
darts/models/forecasting/conformal_models.py:1497
Method
_residuals_metric
(self)
darts/models/forecasting/conformal_models.py:1717
Method
_residuals_metric
(self)
darts/models/forecasting/conformal_models.py:1879
Method
_sanity_check
(self, *args, **kwargs)
darts/tests/utils/test_utils.py:58
Method
_score_core
Apply the scorer (sub) model scoring method on the series components
darts/ad/scorers/scorers.py:815
Method
_score_core_from_prediction
( self, vals: np.ndarray, pred_vals: np.ndarray, )
darts/ad/scorers/difference_scorer.py:23
Method
_score_core_from_prediction
( self, vals: np.ndarray, pred_vals: np.ndarray, )
darts/ad/scorers/norm_scorer.py:55
Method
_score_core_from_prediction
( self, vals: np.ndarray, pred_vals: np.ndarray, )
darts/ad/scorers/scorers.py:660
Method
_score_core_from_prediction
For each timestamp of the inputs: - the parameters of the considered distribution are fitted on the samples of the probabilistic time series
darts/ad/scorers/scorers.py:944
Method
_score_core_nllikelihood
( self, vals: np.ndarray, pred_vals: np.ndarray )
darts/ad/scorers/nll_gamma_scorer.py:35
Method
_score_core_nllikelihood
( self, vals: np.ndarray, pred_vals: np.ndarray )
darts/ad/scorers/nll_cauchy_scorer.py:25
Method
_score_core_nllikelihood
( self, vals: np.ndarray, pred_vals: np.ndarray )
darts/ad/scorers/nll_gaussian_scorer.py:35
Method
_score_core_nllikelihood
( self, vals: np.ndarray, pred_vals: np.ndarray )
darts/ad/scorers/nll_laplace_scorer.py:35
Method
_score_core_nllikelihood
( self, vals: np.ndarray, pred_vals: np.ndarray )
darts/ad/scorers/nll_exponential_scorer.py:35
Method
_score_core_nllikelihood
( self, vals: np.ndarray, pred_vals: np.ndarray )
darts/ad/scorers/nll_poisson_scorer.py:35
Function
_score_func
Compute score from confusion matrix components.
darts/metrics/metrics.py:4373
Method
_set_likelihood
( self, likelihood: str | None, output_chunk_length: int, multi_models: bool,
darts/models/forecasting/xgboost.py:551
Method
_set_likelihood
Check and set the likelihood. Only ClassProbability is supported for CatBoostClassifierModel.
darts/models/forecasting/catboost_model.py:681
Method
_set_likelihood
Check and set the likelihood. Only ClassProbability is supported for LightGBMClassifierModel.
darts/models/forecasting/lgbm.py:559
Method
_static_covariates_importance
Returns the static covariates importance of the TFT model. The static covariate importances are calculated for the static inputs of the model
darts/explainability/tft_explainer.py:487
Method
_supported_shap_methods
(self)
darts/explainability/shap_adapters/sklearn_shap_adapter.py:204
Method
_supported_shap_methods
(self)
darts/explainability/shap_adapters/torch_shap_adapter.py:293
Method
_supported_shap_methods
Specifies the supported SHAP methods.
darts/explainability/shap_adapters/shap_adapter.py:423
Method
_supports_native_future_covariates
(self)
darts/models/forecasting/sf_model.py:414
Method
_supports_native_future_covariates
(self)
darts/models/forecasting/sf_auto_mfles.py:119
Method
_supports_native_multioutput
Returns True if the model supports multi-output regression natively.
darts/models/forecasting/sklearn_model.py:1603
Method
_supports_native_multioutput
(self)
darts/models/forecasting/xgboost.py:383
Method
_supports_native_multioutput
(self)
darts/models/forecasting/xgboost.py:565
Method
_supports_native_multioutput
(self)
darts/models/forecasting/catboost_model.py:453
Method
_supports_native_multioutput
(self)
darts/models/forecasting/catboost_model.py:715
Method
_supports_native_multioutput
(self)
darts/models/forecasting/lgbm.py:577
Method
_supports_native_transferable_series
(self)
darts/models/forecasting/sf_model.py:410
Method
_supports_non_retrainable_historical_forecasts
Checks if the forecasting model supports historical forecasts without retraining the model. By default, returns False. Needs
darts/models/forecasting/forecasting_model.py:237
Method
_supports_non_retrainable_historical_forecasts
GlobalForecastingModel supports historical forecasts without retraining the model
darts/models/forecasting/forecasting_model.py:3191
Method
_supports_non_retrainable_historical_forecasts
(self)
darts/models/forecasting/forecasting_model.py:3633
Method
_supports_non_retrainable_historical_forecasts
(self)
darts/models/forecasting/sf_model.py:422
Method
_supports_non_retrainable_historical_forecasts
(self)
darts/models/forecasting/ensemble_model.py:833
Method
_supports_range_index
Checks if the forecasting model supports a range index. Some models may not support this, if for instance they rely on underlying dates.
darts/models/forecasting/forecasting_model.py:212
Method
_supports_range_index
(self)
darts/models/forecasting/sf_model.py:402
Method
_supports_range_index
(self)
darts/models/forecasting/varima.py:284
Method
_supports_range_index
Prophet does not support integer range index.
darts/models/forecasting/prophet_model.py:696
Method
_supports_val_series
(self)
darts/models/forecasting/xgboost.py:375
Method
_supports_val_series
(self)
darts/models/forecasting/catboost_model.py:445
Method
_supports_val_series
Whether the model supports evaluation series passed to `fit()`.
darts/models/forecasting/forecasting_model.py:248
← previous
next →
1,501–1,600 of 3,734, ranked by callers