You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into a problem where the household 'MAC000193' was not available in 'selected_blocks_train_missing_imputed.parquet'.
This is probably due to a bug in Ch02 - 02-Preprocessing. Here, block_data_path.glob("*.csv") returns a list of files, for which the ordering is not deterministic. On a Windows system, this list was ordered alphabetically, but on a Linux system, the list was ordered differently.
In Ch04 - 01-Setting up Experiment Harness, 50 households are sampled. Even though random_state is specified explicitly, the results may differ because the incoming lists are ordered differently.
A quick fix is to wrap block_data_path.glob("*.csv") in the Ch02 - 02-Preprocessing notebook with sorted().
Hope this helps somebody who runs into the same problem.
The text was updated successfully, but these errors were encountered:
hmzls
changed the title
Ch04 - Baseline Forecasts, 'MAC000193' not in data set
Ch04 - Baseline Forecasts using darts, 'MAC000193' not in data set
Mar 4, 2023
Hi,
I ran into a problem where the household 'MAC000193' was not available in 'selected_blocks_train_missing_imputed.parquet'.
This is probably due to a bug in Ch02 - 02-Preprocessing. Here,
block_data_path.glob("*.csv")
returns a list of files, for which the ordering is not deterministic. On a Windows system, this list was ordered alphabetically, but on a Linux system, the list was ordered differently.In Ch04 - 01-Setting up Experiment Harness, 50 households are sampled. Even though
random_state
is specified explicitly, the results may differ because the incoming lists are ordered differently.A quick fix is to wrap
block_data_path.glob("*.csv")
in the Ch02 - 02-Preprocessing notebook withsorted()
.Hope this helps somebody who runs into the same problem.
The text was updated successfully, but these errors were encountered: