The invention relates to the technical field of electrical
digital data processing, and discloses a
smart city network flow monitoring method based on a
decision tree model, which comprises the steps of data collection, data preprocessing,
decision tree model construction, model evaluation, flow monitoring and prediction, optimization and feedback, and the data preprocessing comprises the steps of removing repeated and
invalid data and filling missing values. The integrity and accuracy of the data are ensured; through the setting of the data preprocessing operation, the data can be preprocessed, the accuracy of
data analysis is improved, the accuracy of network flow monitoring and management decisions is ensured, the situation that the difficulty of
data processing, analysis and calculation is increased and the
processing time is prolonged due to complex
original data is avoided, and the requirement of real-time monitoring can be met; therefore, the timeliness of network response is improved, and the problem that in a traditional method, data are not cleaned and standardized, a
system cannot effectively recognize abnormal flow, and report missing or false report is caused is solved.