Evaluation of machine learning applications using real-world EHR data for predicting diabetes-related long-term complications