Transformer
ClearSky
Inverse transformMissing values removesUnequal length removes
Clear sky transformer for solar data.
Quickstart
python
from sktime.transformations.clear_sky import ClearSky
estimator = ClearSky(quantile_prob=0.95, bw_diurnal=100, bw_annual=10, min_thresh=0, n_jobs=None, backend='loky')Parameters(6)
- quantile_probfloat, default=0.95
- The probability level used to calculate the weighted quantile
- bw_diurnalfloat, default=100
- The bandwidth of the diurnal kernel. This is the kappa value of the von mises kernel for time of day.
- bw_annualfloat, default=10
- The bandwidth of the annual kernel. This is the kappa value of the von mises kernel for day of year.
- min_threshfloat, default=0
- The threshold of the clear sky power below which values are set to zero in the transformed domain.
- n_jobsint or None, default=None
- Number of jobs to run in parallel. None means 1 unless in a joblib.parallel_backend context. -1 means using all processors.
- backendstr, default=”loky”
- Specify the parallelisation backend implementation in joblib, where “loky” is used by default.
Examples
>>> from sktime.transformations.clear_sky import ClearSky
>>> from sktime.datasets import load_solar
>>> y = load_solar ()
>>> transformer = ClearSky ()
>>> # takes ~1min
>>> y_trafo = transformer. fit_transform (y)References
- [1 ] https://doi.org/10.1016/j.solener.2009.05.016