A Secured Triad of IoT, Machine Learning, and Blockchain for Crop Forecasting in Agriculture