For the safe and resilient development of cities, disaster risk reduction plays a crucial role, aligning with sustainable development goal 11 of the United Nations. Supporting this objective, the present study developed a machine learning (ML) classifier-based threshold model to determine rainfall thresholds for predicting impending landslides in Kerala, India, using historical data. Using a dataset of 64 rainfall-induced landslide events recorded since the year 2000, rainfall data were collected up to 15 days prior to each landslide to support empirical analysis of intensity-duration and event rainfall-duration thresholds. In cases where exact rainfall durations were unavailable, classification machine learning (ML) models, including K-nearest neighbours (KNN), random forest (RF), gradient boosting machine (GBM), support vector machine (SVM), and logistic regression, were used to determine threshold reliability. Among these, the KNN model with 5 Neighbours achieved the highest performance, with an ROC-AUC of 0.9 and an accuracy of 82%. This model, saved as a pickle file, serves as a core filter in the development of a landslide early warning system. This paper presents the model development and performance comparisons, contributing to a practical, community-centred solution for landslide disaster resilience in Kerala.