spotforecast2-safe
API Reference
Utils
Overview
Home
Getting Started
API Reference
Overview
Data
data_classes
fetch_data
fetch_holiday_data
fetch_weather_data
get_data_home
get_cache_home
get_package_data_home
load_timeseries
load_timeseries_forecast
load_school_holidays_de
demo_loader
entsoe_loader
Preprocessing
Overview
ExogBuilder
linearly_interpolate_ts
repeating_basis_function
RollingFeatures
data_transform
forecaster_config
ExogProviderError
Curate Data
agg_and_resample_data
basic_ts_checks
curate_holidays
curate_weather
get_start_end
remove_duplicate_timestamps
reset_index
Imputation
apply_imputation
WeightFunction
get_missing_weights
custom_weights
Coverage Guards
assert_frontier_fresh
assert_actual_lag_within
assert_no_interior_gaps
last_complete_hour
SubmissionCoverage
assert_submission_coverage
Target Corruption
TargetCorruptionReport
detect_target_corruption
apply_target_corruption_policy
Outlier
mark_outliers
manual_outlier_removal
get_outliers
Checking
check_y
check_exog
check_exog_dtypes
check_interval
check_predict_input
check_residuals_input
get_exog_dtypes
set_cpu_gpu_device
Processing
Overview
agg_predict
n2n_predict
n2n_predict_with_covariates
ShapeCheckReport
check_forecast_shape
LevelCheckReport
check_forecast_level
apply_level_correction
blend_with_prior
score_forecasts
Forecaster
base
ForecasterRecursive
ForecasterEquivalentDate
ForecasterRecursiveMultiSeries
Wrappers
ForecasterRecursiveModel
ForecasterRecursiveLGBM
ForecasterRecursiveXGB
ForecasterRecursiveCatBoost
Metrics
add_y_train_argument
calculate_coverage
create_mean_pinball_loss
crps_from_predictions
crps_from_quantiles
mean_absolute_scaled_error
root_mean_squared_scaled_error
symmetric_mean_absolute_percentage_error
Splitter
BaseFold
OneStepAheadFold
TimeSeriesFold
split_abs_train_val_test
split_rel_train_val_test
utils_common
Backtesting
backtesting_forecaster
backtesting_forecaster_one_step
validation
Configurator
ConfigDemo
ConfigEntsoe
ConfigMulti
Manager
calculate_metrics
build_prediction_package
get_model_prediction
logger
persistence
Trainer
get_last_model
get_path_model
load_iteration
should_retrain
Feature Engineering
apply_cyclical_encoding
create_interaction_features
select_exogenous_features
merge_data_and_covariates
get_target_data
select_top_poly_features
Multitask
BaseTask
PipelineConfig
agg_predictor
MultiTask
LazyTask
execute_lazy
DefaultsTask
execute_defaults
PredictTask
execute_predict
CleanTask
execute_clean
default_lgbm_forecaster_factory
Guards
assert_no_leakage
Strategies
TrainingStrategy
LazyStrategy
DefaultsStrategy
run
run_with
Utils
Overview
get_cpe_identifier
convert_to_utc
parse_bool
SnapshotStore
parse_snapshot_timestamp
Stats
augmented_dickey_fuller
compute_periodogram
PeriodogramResult
Security
mask_estimator
Calendar
create_holiday_df
get_holiday_features
create_holiday_adjacency_df
get_holiday_adjacency_features
create_day_type_df
get_day_type_features
create_school_holiday_df
get_school_holiday_features
get_calendar_features
get_day_night_features
Weather
Overview
WeatherClient
WeatherService
WeatherFetchError
get_weather_features
locations_for_zone
Downloader
download_new_data
download_renewable_forecast
download_day_ahead_price
download_side_tables
merge_build_manual
repair_data_gaps
find_missing_intervals
download_zone_loads
assemble_zone_loads
ZoneResult
build_zone_qc_frame
derive_download_window
extract_entsoe_hourly_forecast
SubmissionDates
compute_submission_dates
load_interim
download_with_fallback
download_combined_with_fallback
DownloadResult
ZoneOutcome
make_store
Exceptions
Tasks API
task_safe_demo
task_safe_zone_load_demo
Submission CLI
submission_cli
AbortReason
SubmissionAbort
compute_dates_or_abort
load_interim_or_abort
assert_coverage_or_abort
entsoe_predictions
download_combined_or_abort
Processing Guides
Model Persistence
Preprocessing Guides
Outlier Detection
Data Imputation & Gap Weighting
Resolve Duplicate Timestamps
Period Configuration Rationale
Forecaster Guides
ForecasterRecursive
ForecasterEquivalentDate
Safety & Security
Streamlining Process
Model/Method Card
Version Management
Security Policy
Tasks
Demo Tasks
Task Safe Demo Explained
Task Multi: MultiTask Pipeline
Tutorials
n2n_predict_with_covariates Explained
n2n_predict_with_covariates on demo10
On this page
utils
Edit this page
Report an issue
API Reference
Utils
Overview
utils
utils
Utility functions for spotforecast.