Views
No views yet
Pipeline with a BestScaleRadiationTransformer from the meteora library that selects the optimal radiation integration window. Models are serialized with skops.BestScaleRadiationTransformer, which maximizes Pearson correlation with ΔT before fitting the EBM.| Hyperparameter | Value |
|---|---|
| memory | None |
| steps | [('radiation_transformer', BestScaleRadiationTransformer(radiation_col='radiation_shortwave', time_col='time', window_minutes=[60, 120, 180, 240, 300])), ('model', ExplainableBoostingRegressor())] |
| transform_input | None |
| verbose | False |
| radiation_transformer | BestScaleRadiationTransformer(radiation_col='radiation_shortwave', time_col='time', window_minutes=[60, 120, 180, 240, 300]) |
| model | ExplainableBoostingRegressor() |
| radiation_transformer__radiation_col | radiation_shortwave |
| radiation_transformer__time_col | time |
| radiation_transformer__window_minutes | [60, 120, 180, 240, 300] |
| model__callback | None |
| model__cat_smooth | 10.0 |
| model__cyclic_progress | False |
| model__early_stopping_rounds | 100 |
| model__early_stopping_tolerance | 1e-05 |
| model__exclude | None |
| model__feature_names | None |
| model__feature_types | None |
| model__gain_scale | 5.0 |
| model__greedy_ratio | 10.0 |
| model__inner_bags | 0 |
| model__interaction_smoothing_rounds | 100 |
| model__interactions | 5x |
| model__learning_rate | 0.04 |
| model__max_bins | 1024 |
| model__max_delta_step | 0.0 |
| model__max_interaction_bins | 64 |
| model__max_leaves | 2 |
| model__max_rounds | 50000 |
| model__min_cat_samples | 10 |
| model__min_hessian | 0.0 |
| model__min_samples_leaf | 4 |
| model__missing | separate |
| model__monotone_constraints | None |
| model__n_jobs | -2 |
| model__objective | rmse |
| model__outer_bags | 14 |
| model__random_state | 42 |
| model__reg_alpha | 0.0 |
| model__reg_lambda | 0.0 |
| model__smoothing_rounds | 500 |
| model__validation_size | 0.15 |
| steps | [('radiation_transformer', ...), ('model', ...)] | |
| transform_input | None | |
| memory | None | |
| verbose | False |
| window_minutes | [60, 120, ...] | |
| time_col | 'time' | |
| radiation_col | 'radiation_shortwave' |
| feature_names | None | |
| feature_types | None | |
| max_bins | 1024 | |
| max_interaction_bins | 64 | |
| interactions | '5x' | |
| exclude | None | |
| validation_size | 0.15 | |
| outer_bags | 14 | |
| inner_bags | 0 | |
| learning_rate | 0.04 | |
| greedy_ratio | 10.0 | |
| cyclic_progress | False | |
| smoothing_rounds | 500 | |
| interaction_smoothing_rounds | 100 | |
| max_rounds | 50000 | |
| early_stopping_rounds | 100 | |
| early_stopping_tolerance | 1e-05 | |
| callback | None | |
| min_samples_leaf | 4 | |
| min_hessian | 0.0 | |
| reg_alpha | 0.0 | |
| reg_lambda | 0.0 | |
| max_delta_step | 0.0 | |
| gain_scale | 5.0 | |
| min_cat_samples | 10 | |
| cat_smooth | 10.0 | |
| missing | 'separate' | |
| max_leaves | 2 | |
| monotone_constraints | None | |
| objective | 'rmse' | |
| n_jobs | -2 | |
| random_state | 42 |
| Device | File | Training R² | Best radiation window |
|---|---|---|---|
| Abilium | abilium.skops | 0.591 | 60 min |
| Barani | barani.skops | 0.100 | 300 min |
| Decentlab | decentlab.skops | 0.755 | 120 min |
| Koalasense | koalasense.skops | 0.362 | 60 min |
| Onset_big | onset-big.skops | 0.215 | 300 min |
1from huggingface_hub import hf_hub_download
2from skops import io as skops_io
3from meteora.bias_correction import apply_bias_correction, parse_hf_path
4
5model_str = "martibosch/lcd-bias-correction/decentlab.skops" # replace with your sensor
6repo_id, filename = parse_hf_path(model_str)
7trusted = skops_io.get_untrusted_types(
8 file=hf_hub_download(repo_id, filename)
9)
10cor_ts_df = apply_bias_correction(
11 lcd_ts_df,
12 ref_rad_ts, # pd.Series/DataFrame/xr.Dataset with shortwave radiation
13 model_str,
14 trusted=trusted,
15)1@misc{bosch2026revisiting,
2 title={Revisiting urban heat indices in Switzerland using low-cost measurement networks},
3 author={Martí Bosch and Moritz Burger},
4 year={2026},
5 eprint={2606.09364},
6 archivePrefix={arXiv},
7 primaryClass={physics.ao-ph},
8 url={https://arxiv.org/abs/2606.09364},
9}