Prediction of collapse behaviour in soil