A machine learning-based weather prediction model and its application on smart irrigation | Synapse