A machine learning approach on the investigation of the scale dependent relation of CAPE and precipitation