BigDataWUR / AgML-CY-Bench

CY-Bench (Crop Yield Benchmark) is a comprehensive dataset and benchmark to forecast crop yields at subnational level. CY-Bench standardizes selection, processing and spatio-temporal harmonization of public subnational yield statistics with relevant predictors. Contributors include agronomers, climate scientists and machine learning researchers.
https://cybench.agml.org/
Other
18 stars 8 forks source link

alignment does not catch empty target data #350

Open krsnapaudel opened 2 months ago

krsnapaudel commented 2 months ago

Some datasets are empty after preprocessing. The following error is needs to be handled.

line 191, in align_inputs_and_labels
    (df_x[KEY_YEAR] >= min(index_y_years))
ValueError: min() arg is an empty sequence