Abstract

The accuracy of machine learning models is affected by hyperparameters when classifying different types of urban green spaces. To investigate the impact of hyperparametric algorithms on model optimization, this study used the Marine Predators Algorithm (MPA) to optimize three models: K-Nearest Neighbor (KNN), Support Vector Machines (SVM), and Random Forest (RF). The feasibility of the algorithm was illustrated by extracting and analyzing park green space and attached green spaces within the fifth-ring road of Beijing. A dataset of urban green space type labels was constructed using SPOT6. Three optimized models, MPA-KNN, MPA-SVM and MPA-RF, were constructed. The optimum hyperparameter combination was chosen based on the accuracy of the validation set, and the three optimized models were compared in terms of the Area Under Curve (AUC) value, accuracy on the test set, and other indicators. The results showed that applying MPA improves the accuracy of the validation set of the KNN, SVM, and RF models by 4.2%, 2.2%, and 1.2%, respectively. The MPA-RF model had an AUC value of 0.983 and a test set accuracy of 89.93%, indicating that it was the most accurate of the three models.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call