-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make results of recipes schlund20jgr_*.yml deterministic #2900
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks a lot for this @schlunma 🍺 Couple of mini bits from me - also have a look at the Codacy err too pls, it'd be nice to make that exception nicely raised like you did for the others. Gotta say, am really not understanding much of the functionality of all those changes, so I reviewed it from a purely technical/code monkey perspective. What'd be good though would be to run the thing twice and post a set of comparisons between the two runs, and if things do indeed change (plots, nc files) include the names of the ones that allow variability in the recipes' docs so next time we test (run compare via or not RTW) we'd know those are variable and they should be that way 🍺
Thanks V for reviewing!
ESMValTool/esmvaltool/diag_scripts/mlr/custom_sklearn.py Lines 409 to 423 in c755655
recipe_schlund20jgr_gpp_abs_rcp85.ymlComparing recipe run(s) in:
/home/b/b309141/scratch/esmvaltool_output/recipe_schlund20jgr_gpp_abs_rcp85_20221031_190907
to reference in /home/b/b309141/scratch/esmvaltool_output/recipe_schlund20jgr_gpp_abs_rcp85_20221031_163845
recipe_schlund20jgr_gpp_abs_rcp85.yml: results differ from reference run
Reference run: /home/b/b309141/scratch/esmvaltool_output/recipe_schlund20jgr_gpp_abs_rcp85_20221031_163845
Current run: /home/b/b309141/scratch/esmvaltool_output/recipe_schlund20jgr_gpp_abs_rcp85_20221031_190907
Missing files:
- work/diag_plot_cmip5_gbrt/preprocess_plot/mmm_GPP_prediction_prediction_output_20221031_165943090559.nc
- work/diag_plot_cmip5_gbrt/preprocess_plot/mmm_GPP_prediction_prediction_output_20221031_165943107197.nc
- work/diag_plot_cmip5_gbrt/preprocess_plot/mmm_GPP_squared_prediction_error_prediction_output_error_20221031_165943262598.nc
- work/diag_plot_cmip5_gbrt/preprocess_plot/mmm_GPP_squared_prediction_error_prediction_output_error_20221031_165943289763.nc
- work/diag_plot_mlr_models/preprocess_plot/gbr_sklearn_GPP_prediction_for_prediction_OBS_prediction_output_20221031_165950942347.nc
- work/diag_plot_mlr_models/preprocess_plot/gbr_sklearn_GPP_prediction_squared_mlr_model_error_estim_for_prediction_OBS_prediction_output_error_20221031_165951100339.nc
- work/diag_plot_mlr_models/preprocess_plot/gbr_sklearn_GPP_prediction_squared_propagated_input_error_for_prediction_OBS_prediction_output_error_20221031_165951127932.nc
- work/diag_plot_mlr_models/preprocess_plot/lasso_cv_GPP_prediction_for_prediction_OBS_prediction_output_20221031_165950973044.nc
- work/diag_plot_mlr_models/preprocess_plot/lasso_cv_GPP_prediction_squared_mlr_model_error_estim_for_prediction_OBS_prediction_output_error_20221031_165951237551.nc
- work/diag_plot_mlr_models/preprocess_plot/lasso_cv_GPP_prediction_squared_propagated_input_error_for_prediction_OBS_prediction_output_error_20221031_165951273227.nc
- work/diag_plot_mlr_models/preprocess_plot/mmm_GPP_prediction_prediction_output_20221031_165951010923.nc
- work/diag_plot_mlr_models/preprocess_plot/mmm_GPP_squared_prediction_error_prediction_output_error_20221031_165951576160.nc
- work/diag_plot_mlr_models/preprocess_plot/standard_error_of_emergent_constraint_prediction_output_error_20221031_165951364207.nc
- work/diag_plot_mlr_models/preprocess_plot/standard_error_of_emergent_constraint_prediction_output_error_20221031_165951402733.nc
- work/diag_plot_mlr_models/preprocess_plot/standard_error_of_emergent_constraint_prediction_output_error_20221031_165951445472.nc
- work/diag_plot_mlr_models/preprocess_plot/standard_error_of_emergent_constraint_prediction_output_error_20221031_165951487461.nc
Extra files:
- work/diag_plot_cmip5_gbrt/preprocess_plot/mmm_GPP_prediction_prediction_output_20221031_194139740115.nc
- work/diag_plot_cmip5_gbrt/preprocess_plot/mmm_GPP_prediction_prediction_output_20221031_194139756298.nc
- work/diag_plot_cmip5_gbrt/preprocess_plot/mmm_GPP_squared_prediction_error_prediction_output_error_20221031_194139866639.nc
- work/diag_plot_cmip5_gbrt/preprocess_plot/mmm_GPP_squared_prediction_error_prediction_output_error_20221031_194139893839.nc
- work/diag_plot_mlr_models/preprocess_plot/gbr_sklearn_GPP_prediction_for_prediction_OBS_prediction_output_20221031_194159894326.nc
- work/diag_plot_mlr_models/preprocess_plot/gbr_sklearn_GPP_prediction_squared_mlr_model_error_estim_for_prediction_OBS_prediction_output_error_20221031_194200075453.nc
- work/diag_plot_mlr_models/preprocess_plot/gbr_sklearn_GPP_prediction_squared_propagated_input_error_for_prediction_OBS_prediction_output_error_20221031_194200116252.nc
- work/diag_plot_mlr_models/preprocess_plot/lasso_cv_GPP_prediction_for_prediction_OBS_prediction_output_20221031_194159939901.nc
- work/diag_plot_mlr_models/preprocess_plot/lasso_cv_GPP_prediction_squared_mlr_model_error_estim_for_prediction_OBS_prediction_output_error_20221031_194200236226.nc
- work/diag_plot_mlr_models/preprocess_plot/lasso_cv_GPP_prediction_squared_propagated_input_error_for_prediction_OBS_prediction_output_error_20221031_194200290363.nc
- work/diag_plot_mlr_models/preprocess_plot/mmm_GPP_prediction_prediction_output_20221031_194159974934.nc
- work/diag_plot_mlr_models/preprocess_plot/mmm_GPP_squared_prediction_error_prediction_output_error_20221031_194200583571.nc
- work/diag_plot_mlr_models/preprocess_plot/standard_error_of_emergent_constraint_prediction_output_error_20221031_194200363593.nc
- work/diag_plot_mlr_models/preprocess_plot/standard_error_of_emergent_constraint_prediction_output_error_20221031_194200414215.nc
- work/diag_plot_mlr_models/preprocess_plot/standard_error_of_emergent_constraint_prediction_output_error_20221031_194200454019.nc
- work/diag_plot_mlr_models/preprocess_plot/standard_error_of_emergent_constraint_prediction_output_error_20221031_194200495287.nc
Differing files:
- work/diag_co2_amplitude_sensitivity/plot_co2_amplitudes/xy_feature___CESM1-BGC.nc
- work/diag_co2_amplitude_sensitivity/plot_co2_amplitudes/xy_feature___GFDL-ESM2M.nc
- work/diag_co2_amplitude_sensitivity/preprocess/CMIP5_CESM1-BGC_Amon_esmHistorical-esmrcp85_r1i1p1_co2s_trend_relative_to_ref_1979-2019_feature.nc
- work/diag_co2_amplitude_sensitivity/preprocess/CMIP5_GFDL-ESM2M_Amon_esmHistorical-esmrcp85_r1i1p1_co2s_trend_relative_to_ref_1979-2019_feature.nc
- work/diag_co2_amplitude_sensitivity/preprocess_for_plot/CMIP5_CESM1-BGC_Amon_esmHistorical-esmrcp85_r1i1p1_co2s_1979-2019_feature.nc
- work/diag_co2_amplitude_sensitivity/preprocess_for_plot/CMIP5_GFDL-ESM2M_Amon_esmHistorical-esmrcp85_r1i1p1_co2s_1979-2019_feature.nc
- work/diag_co2_cycle/plot_cycle/xy_feature___CESM1-BGC.nc
- work/diag_co2_cycle/plot_cycle/xy_feature___GFDL-ESM2M.nc
- work/diag_gbrt_1d/mlr/gbr_sklearn_GPP_prediction_for_prediction_OBS.nc
- work/diag_gbrt_1d/mlr/gbr_sklearn_GPP_prediction_squared_mlr_model_error_estim_for_prediction_OBS.nc
- work/diag_gbrt_1d/mlr/gbr_sklearn_GPP_prediction_squared_propagated_input_error_for_prediction_OBS.nc
- work/diag_gbrt_1d/postprocess/gbr_sklearn_GPP_prediction_for_prediction_OBS.nc
- work/diag_gbrt_1d/postprocess/gbr_sklearn_GPP_prediction_for_prediction_OBS_error_estimated.nc
- work/diag_gbrt_1d/postprocess/gbr_sklearn_GPP_prediction_for_prediction_OBS_error_lower_bound.nc
- work/diag_gbrt_1d/postprocess/gbr_sklearn_GPP_prediction_for_prediction_OBS_error_upper_bound.nc
- work/diag_gbrt_1d_pseudo_reality/mlr_pseudo_reality/CESM1-BGC/gbr_sklearn_GPP_prediction_for_prediction_CESM1-BGC_of_group_CESM1-BGC.nc
- work/diag_gbrt_1d_pseudo_reality/mlr_pseudo_reality/CESM1-BGC/gbr_sklearn_GPP_prediction_for_prediction_OBS_of_group_CESM1-BGC.nc
- work/diag_gbrt_1d_pseudo_reality/mlr_pseudo_reality/CESM1-BGC/gbr_sklearn_GPP_prediction_residual_for_prediction_CESM1-BGC_of_group_CESM1-BGC.nc
- work/diag_gbrt_1d_pseudo_reality/mlr_pseudo_reality/CanESM2/gbr_sklearn_GPP_prediction_for_prediction_CanESM2_of_group_CanESM2.nc
- work/diag_gbrt_1d_pseudo_reality/mlr_pseudo_reality/CanESM2/gbr_sklearn_GPP_prediction_for_prediction_OBS_of_group_CanESM2.nc
- work/diag_gbrt_1d_pseudo_reality/mlr_pseudo_reality/CanESM2/gbr_sklearn_GPP_prediction_residual_for_prediction_CanESM2_of_group_CanESM2.nc
- work/diag_gbrt_1d_pseudo_reality/mlr_pseudo_reality/GFDL-ESM2M/gbr_sklearn_GPP_prediction_for_prediction_GFDL-ESM2M_of_group_GFDL-ESM2M.nc
- work/diag_gbrt_1d_pseudo_reality/mlr_pseudo_reality/GFDL-ESM2M/gbr_sklearn_GPP_prediction_for_prediction_OBS_of_group_GFDL-ESM2M.nc
- work/diag_gbrt_1d_pseudo_reality/mlr_pseudo_reality/GFDL-ESM2M/gbr_sklearn_GPP_prediction_residual_for_prediction_GFDL-ESM2M_of_group_GFDL-ESM2M.nc
- work/diag_gbrt_1d_pseudo_reality/mlr_pseudo_reality/HadGEM2-ES/gbr_sklearn_GPP_prediction_for_prediction_HadGEM2-ES_of_group_HadGEM2-ES.nc
- work/diag_gbrt_1d_pseudo_reality/mlr_pseudo_reality/HadGEM2-ES/gbr_sklearn_GPP_prediction_for_prediction_OBS_of_group_HadGEM2-ES.nc
- work/diag_gbrt_1d_pseudo_reality/mlr_pseudo_reality/HadGEM2-ES/gbr_sklearn_GPP_prediction_residual_for_prediction_HadGEM2-ES_of_group_HadGEM2-ES.nc
- work/diag_gbrt_1d_pseudo_reality/mlr_pseudo_reality/MIROC-ESM/gbr_sklearn_GPP_prediction_for_prediction_MIROC-ESM_of_group_MIROC-ESM.nc
- work/diag_gbrt_1d_pseudo_reality/mlr_pseudo_reality/MIROC-ESM/gbr_sklearn_GPP_prediction_for_prediction_OBS_of_group_MIROC-ESM.nc
- work/diag_gbrt_1d_pseudo_reality/mlr_pseudo_reality/MIROC-ESM/gbr_sklearn_GPP_prediction_residual_for_prediction_MIROC-ESM_of_group_MIROC-ESM.nc
- work/diag_gbrt_1d_pseudo_reality/mlr_pseudo_reality/MPI-ESM-LR/gbr_sklearn_GPP_prediction_for_prediction_MPI-ESM-LR_of_group_MPI-ESM-LR.nc
- work/diag_gbrt_1d_pseudo_reality/mlr_pseudo_reality/MPI-ESM-LR/gbr_sklearn_GPP_prediction_for_prediction_OBS_of_group_MPI-ESM-LR.nc
- work/diag_gbrt_1d_pseudo_reality/mlr_pseudo_reality/MPI-ESM-LR/gbr_sklearn_GPP_prediction_residual_for_prediction_MPI-ESM-LR_of_group_MPI-ESM-LR.nc
- work/diag_gbrt_1d_pseudo_reality/mlr_pseudo_reality/NorESM1-ME/gbr_sklearn_GPP_prediction_for_prediction_NorESM1-ME_of_group_NorESM1-ME.nc
- work/diag_gbrt_1d_pseudo_reality/mlr_pseudo_reality/NorESM1-ME/gbr_sklearn_GPP_prediction_for_prediction_OBS_of_group_NorESM1-ME.nc
- work/diag_gbrt_1d_pseudo_reality/mlr_pseudo_reality/NorESM1-ME/gbr_sklearn_GPP_prediction_residual_for_prediction_NorESM1-ME_of_group_NorESM1-ME.nc
- work/diag_lasso/mlr/lasso_cv_GPP_prediction_for_prediction_OBS.nc
- work/diag_lasso/mlr/lasso_cv_GPP_prediction_squared_mlr_model_error_estim_for_prediction_OBS.nc
- work/diag_lasso/mlr/lasso_cv_GPP_prediction_squared_propagated_input_error_for_prediction_OBS.nc
- work/diag_lasso/postprocess/lasso_cv_GPP_prediction_for_prediction_OBS.nc
- work/diag_lasso/postprocess/lasso_cv_GPP_prediction_for_prediction_OBS_error_estimated.nc
- work/diag_lasso/postprocess/lasso_cv_GPP_prediction_for_prediction_OBS_error_lower_bound.nc
- work/diag_lasso/postprocess/lasso_cv_GPP_prediction_for_prediction_OBS_error_upper_bound.nc
- work/diag_plot_mlr_models/plot/map_abs_bias_prediction_output___GBRT-1D-prediction_output___GBRT.nc
- work/diag_plot_mlr_models/plot/map_abs_bias_prediction_output___GBRT-1D-prediction_output___LASSO-1D.nc
- work/diag_plot_mlr_models/plot/map_abs_bias_prediction_output___GBRT-1D-prediction_output___LASSO.nc
- work/diag_plot_mlr_models/plot/map_abs_bias_prediction_output___GBRT-1D-prediction_output___MMM.nc
- work/diag_plot_mlr_models/plot/map_abs_bias_prediction_output___GBRT-1D-prediction_output___rMMM.nc
- work/diag_plot_mlr_models/plot/map_abs_bias_prediction_output___LASSO-prediction_output___GBRT-1D.nc
- work/diag_plot_mlr_models/plot/map_abs_bias_prediction_output___LASSO-prediction_output___GBRT.nc
- work/diag_plot_mlr_models/plot/map_abs_bias_prediction_output___LASSO-prediction_output___LASSO-1D.nc
- work/diag_plot_mlr_models/plot/map_abs_bias_prediction_output___LASSO-prediction_output___MMM.nc
- work/diag_plot_mlr_models/plot/map_abs_bias_prediction_output___LASSO-prediction_output___rMMM.nc
- work/diag_plot_mlr_models/plot/map_prediction_output___GBRT-1D.nc
- work/diag_plot_mlr_models/plot/map_prediction_output___LASSO.nc
- work/diag_plot_mlr_models/plot/map_ratio_prediction_output___GBRT-1D-prediction_output___GBRT.nc
- work/diag_plot_mlr_models/plot/map_ratio_prediction_output___GBRT-1D-prediction_output___LASSO-1D.nc
- work/diag_plot_mlr_models/plot/map_ratio_prediction_output___GBRT-1D-prediction_output___LASSO.nc
- work/diag_plot_mlr_models/plot/map_ratio_prediction_output___GBRT-1D-prediction_output___MMM.nc
- work/diag_plot_mlr_models/plot/map_ratio_prediction_output___GBRT-1D-prediction_output___rMMM.nc
- work/diag_plot_mlr_models/plot/map_ratio_prediction_output___LASSO-prediction_output___GBRT-1D.nc
- work/diag_plot_mlr_models/plot/map_ratio_prediction_output___LASSO-prediction_output___GBRT.nc
- work/diag_plot_mlr_models/plot/map_ratio_prediction_output___LASSO-prediction_output___LASSO-1D.nc
- work/diag_plot_mlr_models/plot/map_ratio_prediction_output___LASSO-prediction_output___MMM.nc
- work/diag_plot_mlr_models/plot/map_ratio_prediction_output___LASSO-prediction_output___rMMM.nc
- work/diag_plot_mlr_models/plot/map_rel_bias_prediction_output___GBRT-1D-prediction_output___GBRT.nc
- work/diag_plot_mlr_models/plot/map_rel_bias_prediction_output___GBRT-1D-prediction_output___LASSO-1D.nc
- work/diag_plot_mlr_models/plot/map_rel_bias_prediction_output___GBRT-1D-prediction_output___LASSO.nc
- work/diag_plot_mlr_models/plot/map_rel_bias_prediction_output___GBRT-1D-prediction_output___MMM.nc
- work/diag_plot_mlr_models/plot/map_rel_bias_prediction_output___GBRT-1D-prediction_output___rMMM.nc
- work/diag_plot_mlr_models/plot/map_rel_bias_prediction_output___LASSO-prediction_output___GBRT-1D.nc
- work/diag_plot_mlr_models/plot/map_rel_bias_prediction_output___LASSO-prediction_output___GBRT.nc
- work/diag_plot_mlr_models/plot/map_rel_bias_prediction_output___LASSO-prediction_output___LASSO-1D.nc
- work/diag_plot_mlr_models/plot/map_rel_bias_prediction_output___LASSO-prediction_output___MMM.nc
- work/diag_plot_mlr_models/plot/map_rel_bias_prediction_output___LASSO-prediction_output___rMMM.nc
- work/diag_plot_mlr_models/plot_errors/map_abs_bias_prediction_output_error___GBRT-1D-prediction_output_error___GBRT.nc
- work/diag_plot_mlr_models/plot_errors/map_abs_bias_prediction_output_error___GBRT-1D-prediction_output_error___LASSO-1D.nc
- work/diag_plot_mlr_models/plot_errors/map_abs_bias_prediction_output_error___GBRT-1D-prediction_output_error___LASSO.nc
- work/diag_plot_mlr_models/plot_errors/map_abs_bias_prediction_output_error___GBRT-1D-prediction_output_error___MMM.nc
- work/diag_plot_mlr_models/plot_errors/map_abs_bias_prediction_output_error___GBRT-1D-prediction_output_error___rMMM.nc
- work/diag_plot_mlr_models/plot_errors/map_abs_bias_prediction_output_error___LASSO-prediction_output_error___GBRT-1D.nc
- work/diag_plot_mlr_models/plot_errors/map_abs_bias_prediction_output_error___LASSO-prediction_output_error___GBRT.nc
- work/diag_plot_mlr_models/plot_errors/map_abs_bias_prediction_output_error___LASSO-prediction_output_error___LASSO-1D.nc
- work/diag_plot_mlr_models/plot_errors/map_abs_bias_prediction_output_error___LASSO-prediction_output_error___MMM.nc
- work/diag_plot_mlr_models/plot_errors/map_abs_bias_prediction_output_error___LASSO-prediction_output_error___rMMM.nc
- work/diag_plot_mlr_models/plot_errors/map_prediction_output_error___GBRT-1D.nc
- work/diag_plot_mlr_models/plot_errors/map_prediction_output_error___LASSO.nc
- work/diag_plot_mlr_models/plot_errors/map_rel_bias_prediction_output_error___GBRT-1D-prediction_output_error___GBRT.nc
- work/diag_plot_mlr_models/plot_errors/map_rel_bias_prediction_output_error___GBRT-1D-prediction_output_error___LASSO-1D.nc
- work/diag_plot_mlr_models/plot_errors/map_rel_bias_prediction_output_error___GBRT-1D-prediction_output_error___LASSO.nc
- work/diag_plot_mlr_models/plot_errors/map_rel_bias_prediction_output_error___GBRT-1D-prediction_output_error___MMM.nc
- work/diag_plot_mlr_models/plot_errors/map_rel_bias_prediction_output_error___GBRT-1D-prediction_output_error___rMMM.nc
- work/diag_plot_mlr_models/plot_errors/map_rel_bias_prediction_output_error___LASSO-prediction_output_error___GBRT-1D.nc
- work/diag_plot_mlr_models/plot_errors/map_rel_bias_prediction_output_error___LASSO-prediction_output_error___GBRT.nc
- work/diag_plot_mlr_models/plot_errors/map_rel_bias_prediction_output_error___LASSO-prediction_output_error___LASSO-1D.nc
- work/diag_plot_mlr_models/plot_errors/map_rel_bias_prediction_output_error___LASSO-prediction_output_error___MMM.nc
- work/diag_plot_mlr_models/plot_errors/map_rel_bias_prediction_output_error___LASSO-prediction_output_error___rMMM.nc
- work/diag_plot_mlr_models/preprocess_plot/lasso_cv_GPP_prediction_for_prediction_OBS_prediction_output.nc
- work/diag_plot_mlr_models/preprocess_plot/lasso_cv_GPP_prediction_squared_mlr_model_error_estim_for_prediction_OBS_prediction_output_error.nc
- work/diag_plot_mlr_models/preprocess_plot/lasso_cv_GPP_prediction_squared_propagated_input_error_for_prediction_OBS_prediction_output_error.nc recipe_schlund20jgr_gpp_change_rcp85.ymlComparing recipe run(s) in:
/home/b/b309141/scratch/esmvaltool_output/recipe_schlund20jgr_gpp_change_rcp85_20221031_165555
to reference in /home/b/b309141/scratch/esmvaltool_output/recipe_schlund20jgr_gpp_change_rcp85_20221031_164134
recipe_schlund20jgr_gpp_change_rcp85.yml: results differ from reference run
Reference run: /home/b/b309141/scratch/esmvaltool_output/recipe_schlund20jgr_gpp_change_rcp85_20221031_164134
Current run: /home/b/b309141/scratch/esmvaltool_output/recipe_schlund20jgr_gpp_change_rcp85_20221031_165555
Differing files:
- work/diag_co2_amplitude_sensitivity/plot_co2_amplitudes/xy_feature___CanESM2.nc
- work/diag_co2_amplitude_sensitivity/plot_co2_amplitudes/xy_feature___MIROC-ESM.nc
- work/diag_co2_amplitude_sensitivity/plot_co2_amplitudes/xy_feature___MPI-ESM-LR.nc
- work/diag_co2_amplitude_sensitivity/preprocess/CMIP5_CanESM2_Amon_esmHistorical-esmrcp85_r1i1p1_co2s_trend_relative_to_ref_1979-2019_feature.nc
- work/diag_co2_amplitude_sensitivity/preprocess/CMIP5_MIROC-ESM_Amon_esmHistorical-esmrcp85_r1i1p1_co2s_trend_relative_to_ref_1979-2019_feature.nc
- work/diag_co2_amplitude_sensitivity/preprocess/CMIP5_MPI-ESM-LR_Amon_esmHistorical-esmrcp85_r1i1p1_co2s_trend_relative_to_ref_1979-2019_feature.nc
- work/diag_co2_amplitude_sensitivity/preprocess_for_plot/CMIP5_CanESM2_Amon_esmHistorical-esmrcp85_r1i1p1_co2s_1979-2019_feature.nc
- work/diag_co2_amplitude_sensitivity/preprocess_for_plot/CMIP5_MIROC-ESM_Amon_esmHistorical-esmrcp85_r1i1p1_co2s_1979-2019_feature.nc
- work/diag_co2_amplitude_sensitivity/preprocess_for_plot/CMIP5_MPI-ESM-LR_Amon_esmHistorical-esmrcp85_r1i1p1_co2s_1979-2019_feature.nc
- work/diag_co2_cycle/plot_cycle/xy_feature___CanESM2.nc
- work/diag_co2_cycle/plot_cycle/xy_feature___MIROC-ESM.nc
- work/diag_co2_cycle/plot_cycle/xy_feature___MPI-ESM-LR.nc
- work/diag_gbrt/mlr/gbr_sklearn_GPP_change_prediction_squared_propagated_input_error_for_prediction_OBS.nc
- work/diag_gbrt/postprocess/gbr_sklearn_GPP_change_prediction_for_prediction_OBS_error_estimated.nc
- work/diag_gbrt/postprocess/gbr_sklearn_GPP_change_prediction_for_prediction_OBS_error_lower_bound.nc
- work/diag_gbrt/postprocess/gbr_sklearn_GPP_change_prediction_for_prediction_OBS_error_upper_bound.nc
- work/diag_gbrt_pseudo_reality/mlr_pseudo_reality/CESM1-BGC/gbr_sklearn_GPP_change_prediction_for_prediction_CESM1-BGC_of_group_CESM1-BGC.nc
- work/diag_gbrt_pseudo_reality/mlr_pseudo_reality/CESM1-BGC/gbr_sklearn_GPP_change_prediction_for_prediction_OBS_of_group_CESM1-BGC.nc
- work/diag_gbrt_pseudo_reality/mlr_pseudo_reality/CESM1-BGC/gbr_sklearn_GPP_change_prediction_residual_for_prediction_CESM1-BGC_of_group_CESM1-BGC.nc
- work/diag_gbrt_pseudo_reality/mlr_pseudo_reality/CanESM2/gbr_sklearn_GPP_change_prediction_for_prediction_CanESM2_of_group_CanESM2.nc
- work/diag_gbrt_pseudo_reality/mlr_pseudo_reality/CanESM2/gbr_sklearn_GPP_change_prediction_for_prediction_OBS_of_group_CanESM2.nc
- work/diag_gbrt_pseudo_reality/mlr_pseudo_reality/CanESM2/gbr_sklearn_GPP_change_prediction_residual_for_prediction_CanESM2_of_group_CanESM2.nc
- work/diag_gbrt_pseudo_reality/mlr_pseudo_reality/GFDL-ESM2M/gbr_sklearn_GPP_change_prediction_for_prediction_GFDL-ESM2M_of_group_GFDL-ESM2M.nc
- work/diag_gbrt_pseudo_reality/mlr_pseudo_reality/GFDL-ESM2M/gbr_sklearn_GPP_change_prediction_for_prediction_OBS_of_group_GFDL-ESM2M.nc
- work/diag_gbrt_pseudo_reality/mlr_pseudo_reality/GFDL-ESM2M/gbr_sklearn_GPP_change_prediction_residual_for_prediction_GFDL-ESM2M_of_group_GFDL-ESM2M.nc
- work/diag_gbrt_pseudo_reality/mlr_pseudo_reality/HadGEM2-ES/gbr_sklearn_GPP_change_prediction_for_prediction_HadGEM2-ES_of_group_HadGEM2-ES.nc
- work/diag_gbrt_pseudo_reality/mlr_pseudo_reality/HadGEM2-ES/gbr_sklearn_GPP_change_prediction_for_prediction_OBS_of_group_HadGEM2-ES.nc
- work/diag_gbrt_pseudo_reality/mlr_pseudo_reality/HadGEM2-ES/gbr_sklearn_GPP_change_prediction_residual_for_prediction_HadGEM2-ES_of_group_HadGEM2-ES.nc
- work/diag_gbrt_pseudo_reality/mlr_pseudo_reality/MIROC-ESM/gbr_sklearn_GPP_change_prediction_for_prediction_MIROC-ESM_of_group_MIROC-ESM.nc
- work/diag_gbrt_pseudo_reality/mlr_pseudo_reality/MIROC-ESM/gbr_sklearn_GPP_change_prediction_for_prediction_OBS_of_group_MIROC-ESM.nc
- work/diag_gbrt_pseudo_reality/mlr_pseudo_reality/MIROC-ESM/gbr_sklearn_GPP_change_prediction_residual_for_prediction_MIROC-ESM_of_group_MIROC-ESM.nc
- work/diag_gbrt_pseudo_reality/mlr_pseudo_reality/MPI-ESM-LR/gbr_sklearn_GPP_change_prediction_for_prediction_MPI-ESM-LR_of_group_MPI-ESM-LR.nc
- work/diag_gbrt_pseudo_reality/mlr_pseudo_reality/MPI-ESM-LR/gbr_sklearn_GPP_change_prediction_for_prediction_OBS_of_group_MPI-ESM-LR.nc
- work/diag_gbrt_pseudo_reality/mlr_pseudo_reality/MPI-ESM-LR/gbr_sklearn_GPP_change_prediction_residual_for_prediction_MPI-ESM-LR_of_group_MPI-ESM-LR.nc
- work/diag_gbrt_pseudo_reality/mlr_pseudo_reality/NorESM1-ME/gbr_sklearn_GPP_change_prediction_for_prediction_NorESM1-ME_of_group_NorESM1-ME.nc
- work/diag_gbrt_pseudo_reality/mlr_pseudo_reality/NorESM1-ME/gbr_sklearn_GPP_change_prediction_for_prediction_OBS_of_group_NorESM1-ME.nc
- work/diag_gbrt_pseudo_reality/mlr_pseudo_reality/NorESM1-ME/gbr_sklearn_GPP_change_prediction_residual_for_prediction_NorESM1-ME_of_group_NorESM1-ME.nc
- work/diag_lasso/mlr/lasso_cv_GPP_change_prediction_for_prediction_OBS.nc
- work/diag_lasso/mlr/lasso_cv_GPP_change_prediction_lime_importance___GPP_for_prediction_OBS.nc
- work/diag_lasso/mlr/lasso_cv_GPP_change_prediction_lime_importance___LAI_for_prediction_OBS.nc
- work/diag_lasso/mlr/lasso_cv_GPP_change_prediction_lime_importance___PR_for_prediction_OBS.nc
- work/diag_lasso/mlr/lasso_cv_GPP_change_prediction_lime_importance___RSDS_for_prediction_OBS.nc
- work/diag_lasso/mlr/lasso_cv_GPP_change_prediction_lime_importance___T_for_prediction_OBS.nc
- work/diag_lasso/mlr/lasso_cv_GPP_change_prediction_squared_mlr_model_error_estim_for_prediction_OBS.nc
- work/diag_lasso/mlr/lasso_cv_GPP_change_prediction_squared_propagated_input_error_for_prediction_OBS.nc
- work/diag_lasso/postprocess/lasso_cv_GPP_change_prediction_for_prediction_OBS.nc
- work/diag_lasso/postprocess/lasso_cv_GPP_change_prediction_for_prediction_OBS_error_estimated.nc
- work/diag_lasso/postprocess/lasso_cv_GPP_change_prediction_for_prediction_OBS_error_lower_bound.nc
- work/diag_lasso/postprocess/lasso_cv_GPP_change_prediction_for_prediction_OBS_error_upper_bound.nc
- work/diag_lasso_pseudo_reality/mlr_pseudo_reality/HadGEM2-ES/lasso_cv_GPP_change_prediction_for_prediction_HadGEM2-ES_of_group_HadGEM2-ES.nc
- work/diag_lasso_pseudo_reality/mlr_pseudo_reality/HadGEM2-ES/lasso_cv_GPP_change_prediction_for_prediction_OBS_of_group_HadGEM2-ES.nc
- work/diag_lasso_pseudo_reality/mlr_pseudo_reality/HadGEM2-ES/lasso_cv_GPP_change_prediction_residual_for_prediction_HadGEM2-ES_of_group_HadGEM2-ES.nc
- work/diag_lasso_pseudo_reality/mlr_pseudo_reality/MIROC-ESM/lasso_cv_GPP_change_prediction_for_prediction_MIROC-ESM_of_group_MIROC-ESM.nc
- work/diag_lasso_pseudo_reality/mlr_pseudo_reality/MIROC-ESM/lasso_cv_GPP_change_prediction_for_prediction_OBS_of_group_MIROC-ESM.nc
- work/diag_lasso_pseudo_reality/mlr_pseudo_reality/MIROC-ESM/lasso_cv_GPP_change_prediction_residual_for_prediction_MIROC-ESM_of_group_MIROC-ESM.nc
- work/diag_lasso_pseudo_reality/mlr_pseudo_reality/MPI-ESM-LR/lasso_cv_GPP_change_prediction_for_prediction_MPI-ESM-LR_of_group_MPI-ESM-LR.nc
- work/diag_lasso_pseudo_reality/mlr_pseudo_reality/MPI-ESM-LR/lasso_cv_GPP_change_prediction_for_prediction_OBS_of_group_MPI-ESM-LR.nc
- work/diag_lasso_pseudo_reality/mlr_pseudo_reality/MPI-ESM-LR/lasso_cv_GPP_change_prediction_residual_for_prediction_MPI-ESM-LR_of_group_MPI-ESM-LR.nc
- work/diag_lasso_pseudo_reality/mlr_pseudo_reality/NorESM1-ME/lasso_cv_GPP_change_prediction_for_prediction_NorESM1-ME_of_group_NorESM1-ME.nc
- work/diag_lasso_pseudo_reality/mlr_pseudo_reality/NorESM1-ME/lasso_cv_GPP_change_prediction_for_prediction_OBS_of_group_NorESM1-ME.nc
- work/diag_lasso_pseudo_reality/mlr_pseudo_reality/NorESM1-ME/lasso_cv_GPP_change_prediction_residual_for_prediction_NorESM1-ME_of_group_NorESM1-ME.nc
- work/diag_plot_mlr_models/plot/map_abs_bias_prediction_output___LASSO-prediction_output___GBRT.nc
- work/diag_plot_mlr_models/plot/map_abs_bias_prediction_output___LASSO-prediction_output___MMM.nc
- work/diag_plot_mlr_models/plot/map_abs_bias_prediction_output___LASSO-prediction_output___rMMM.nc
- work/diag_plot_mlr_models/plot/map_prediction_output___LASSO.nc
- work/diag_plot_mlr_models/plot/map_ratio_prediction_output___LASSO-prediction_output___GBRT.nc
- work/diag_plot_mlr_models/plot/map_ratio_prediction_output___LASSO-prediction_output___MMM.nc
- work/diag_plot_mlr_models/plot/map_ratio_prediction_output___LASSO-prediction_output___rMMM.nc
- work/diag_plot_mlr_models/plot/map_rel_bias_prediction_output___LASSO-prediction_output___GBRT.nc
- work/diag_plot_mlr_models/plot/map_rel_bias_prediction_output___LASSO-prediction_output___MMM.nc
- work/diag_plot_mlr_models/plot/map_rel_bias_prediction_output___LASSO-prediction_output___rMMM.nc
- work/diag_plot_mlr_models/plot_errors/map_prediction_output_error___GBRT.nc
- work/diag_plot_mlr_models/plot_errors/map_prediction_output_error___LASSO.nc |
Co-authored-by: Valeriu Predoi <[email protected]>
perfect, many thanks, Manu! All fine by me then, cheers 🍺 Do you need a sci reviewer too? I don't think so since you're the jack of all trades for these recipes, if I'm enough for the review then pls let me know and I'll merge this beast 😁 |
Cheers 🍻 no need for a scientific review, results look exactly like expected! |
BTW - forgot about it - you reckon any documentation is warranted for the new behaviour? |
Documentation has been added in the form of a docstring that is shown on RTD. Just search for "random_state" here (https://esmvaltool--2900.org.readthedocs.build/en/2900/api/esmvaltool.diag_scripts.mlr/models.html#optional-parameters-for-class-initialization) 😁 |
perfect, cheers, bud! 🍺 I'll merge when tests have finished 👍 |
Description
Major changes
random_state
to the MLR diagnostics which can be used to make the results of the recipe deterministic, i.e., the numerical results are identical across runs now.mlr/postprocess.py
is now fixed to make the output of this diagnostic reproducible (see Issues related to the recipe comparison tool #2901).--> As a result, all plots and most netCDF files can now be compared correctly with the recipe comparison tool. Note that some netCDF files are still not comparable (mainly due to differing attributes, see #2901).
Minor changes
In addition, this PR removes the usage of deprecated features and solves a bunch of Codacy issues:
sklearn.utils.metaestimators.if_delegate_has_method
sklearn.inspection.plot_partial_dependence
pandas.DataFrame.append
verbose
argument forSimpleImputer
X does not have valid feature names, but SimpleImputer was fitted with feature names
GradientBoostingRegressor.loss_
raise Exception from ...
schlund20jgr_*.yml
give non-deterministic results #2889Before you get started
Checklist
It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.
New or updated recipe/diagnostic
To help with the number of pull requests: