Urban sign model evaluation method based on CIM platform
By classifying and analyzing urban sign data on the CIM platform, and using historical evaluation data to build and adjust urban analysis models, the problem of evaluation relying on experience in existing technologies is solved, and a more accurate and scientific evaluation of urban signs is achieved.
Patent Information
- Application Number
- CN202411356851.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-27
- Publication Date
- 2024-10-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing urban sign evaluation methods rely on experts' personal experience and lack objectivity and scientificity, resulting in low evaluation accuracy.
Based on the CIM platform, urban sign data is classified through preset evaluation indicators, input into the urban analysis model to obtain evaluation results, historical evaluation data is used to build and train the model, and hyperparameters are adjusted to improve evaluation accuracy.
It reduces the reliance on personal experience and adopts objective and scientific analysis methods to improve the accuracy and reliability of urban physical sign evaluation.
Smart Images

Figure CN118863602A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to an urban vital signs model evaluation method based on a CIM platform. Background Art
[0002] With the acceleration of urbanization and the advancement of smart city construction, city vital signs are becoming increasingly important in urban management. City vital signs refer to various data indicators that reflect the operating status and development trends of cities, such as population size, traffic flow, environmental quality, economic development level, etc. By monitoring and analyzing city vital signs, managers can understand the operating status of cities, discover existing problems, and formulate corresponding policies and measures to promote sustainable urban development.
[0003] The CIM (City Information Modeling) platform integrates technologies such as GIS (Geographic Information System), BIM (Building Information Modeling), and IoT (Internet of Things), and can integrate various data in the city, including geographic information, building models, infrastructure information, and socio-economic data, to achieve efficient use of data. However, in the current methods for evaluating urban vital signs, the analysis and importance judgment of vital sign data mainly rely on the personal experience and subjective judgment of experts, which lacks objectivity and scientificity, resulting in low accuracy in urban vital sign evaluation.
[0004] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0005] The main purpose of this application is to provide a city vital signs model evaluation method based on the CIM platform, aiming to solve the technical problem of low accuracy of city vital signs evaluation.
[0006] To achieve the above objectives, this application proposes a city vital signs model evaluation method based on the CIM platform, the method comprising: Based on the preset evaluation index, the city vital sign data is classified to obtain target vital sign data, wherein the target vital sign data is used to characterize the status of the preset areas of the city; Inputting the target vital sign data into a city analysis model, wherein the city analysis model is constructed and trained based on historical city evaluation data; The city physical sign evaluation result output by the city analysis model based on the target physical sign data is obtained.
[0007] In one embodiment, before the step of inputting the target vital sign data into the city analysis model, the method further includes: Acquiring historical city evaluation data, wherein the historical city evaluation data includes historical vital sign data and corresponding historical evaluation results; Inputting the historical vital sign data into the urban analysis model to obtain a training evaluation result; Based on the historical evaluation results and the training evaluation results, hyperparameters of the city analysis model are adjusted.
[0008] In one embodiment, the step of inputting the historical vital sign data into the city analysis model to obtain a training evaluation result includes: Classifying the historical vital sign data, and determining the correlation coefficient between the classified historical vital sign data and the historical evaluation results; When the correlation coefficient is greater than a preset correlation threshold, the historical vital sign data is input into the city analysis model to obtain the training evaluation result.
[0009] In one embodiment, the step of adjusting the hyperparameters of the city analysis model based on the historical evaluation results and the training evaluation results includes: Determining an error coefficient of the urban analysis model according to the historical evaluation results and the training evaluation results; If the error coefficient is greater than a preset error threshold, the hyperparameters of the city analysis model are adjusted.
[0010] In one embodiment, the step of adjusting the hyperparameters of the city analysis model includes: Generate a test set according to the historical vital sign data and the training evaluation results; Determining erroneous training evaluation results in the test set that are different from the historical evaluation results; Replace the erroneous training evaluation results in the test set based on the historical evaluation results; The replaced test set is re-input into the city analysis model for training, and the hyperparameters of the city analysis model are adjusted until the error coefficient is less than or equal to the preset error threshold.
[0011] In one embodiment, after the step of classifying the city vital sign data based on the preset evaluation index to obtain the target vital sign data, the method further includes: Generate a three-dimensional city model, wherein the three-dimensional city model includes a city element model for generating the city vital sign data; Classifying the city vital sign data according to the city element model and generating a chart; Associating the chart with a corresponding city element model in the three-dimensional city model; In response to the user's interactive action based on the city element model, the chart is displayed on the three-dimensional city model.
[0012] In one embodiment, after the step of obtaining the city vital sign evaluation result output by the city analysis model based on the target vital sign data, the method further includes: Associating the city physical sign evaluation result with the corresponding city element model in the city three-dimensional model; In response to the user's interactive action based on the city element model, the city physical sign evaluation result is displayed on the city three-dimensional model.
[0013] The present application provides a method for evaluating a city vital sign model based on a CIM platform. Based on preset evaluation indicators, the city vital sign data is classified to obtain target vital sign data, which is used to characterize the state of the preset field of the city. The target vital sign data is then input into the city analysis model, wherein the city analysis model is constructed and trained based on historical city evaluation data, and the city vital sign evaluation result output by the city analysis model based on the target vital sign data is obtained. Among them, the target vital sign data is extracted from a large amount of city vital sign data based on the preset evaluation indicators, avoiding subjective judgment of the vital sign data, and the city analysis model is set based on the existing historical city evaluation data, reducing the dependence on personal experience, and adopting an objective, scientific, and standardized analysis method, thereby improving the accuracy of the city vital sign evaluation. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The accompanying drawings herein are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the description, are used to explain the principles of the present application.
[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0016] Figure 1 A flow chart of the first embodiment of the urban vital signs model evaluation method based on the CIM platform provided in this application; Figure 2 This is an example diagram of preset evaluation indicators provided in Example 1 of the urban vital signs model evaluation method based on the CIM platform of this application; Figure 3 A flow chart of Example 2 of the urban vital signs model evaluation method based on the CIM platform provided in this application; Figure 4A flowchart diagram of the third embodiment of the urban vital signs model evaluation method based on the CIM platform of this application; Figure 5 A flowchart diagram of the fourth embodiment of the urban vital signs model evaluation method based on the CIM platform of this application; Figure 6 A schematic diagram of a method flow chart provided for Example 4 of the urban vital signs model evaluation method based on the CIM platform of this application; Figure 7 A flowchart diagram of Example 5 of the urban vital signs model evaluation method based on the CIM platform of this application; Figure 8 A flow chart of Example 6 of the urban vital signs model evaluation method based on the CIM platform provided in this application; Fig. 9 It is a brief flowchart of the urban vital signs model evaluation method based on the CIM platform in the embodiment of the present application.
[0017] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0018] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0019] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0020] The acceleration of urbanization has made the monitoring of urban vital signs extremely important. Urban vital signs are a series of key indicators that can reflect the status and development trend of urban operations, such as population density, traffic flow, environmental conditions and economic vitality. By monitoring these vital sign data, city managers can more clearly grasp the operation of the city, identify problems, and formulate strategies accordingly to promote the sustainable and healthy development of the city. However, the current evaluation system of urban vital signs still mainly relies on the experience and subjective judgment of experts. This method that relies on personal experience lacks universality and scientificity, which affects the accuracy of the evaluation results.
[0021] In view of the above problems, this application proposes a method for evaluating a city vital sign model based on a CIM platform. Based on preset evaluation indicators, the city vital sign data is classified to obtain target vital sign data, and then the target vital sign data is input into the city analysis model, wherein the city analysis model is constructed and trained based on historical city evaluation data, and the city vital sign evaluation results output by the city analysis model based on the target vital sign data are obtained. Among them, the target vital sign data is extracted from a large amount of city vital sign data based on preset evaluation indicators, and the city analysis model is set based on the existing historical city evaluation data, which reduces the reliance on personal experience and subjective judgment, and adopts an objective, scientific and standardized analysis method, thereby improving the accuracy of city vital sign evaluation.
[0022] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a city vital signs evaluation system, etc. The following takes the city vital signs evaluation system as an example to illustrate this embodiment and the following embodiments.
[0023] Based on this, the first embodiment proposed in this application provides a method for evaluating a city physical sign model based on a CIM platform. Figure 1 In this embodiment, the urban sign model evaluation method based on the CIM platform includes steps S10 to S30: Step S10, based on preset evaluation indicators, classify the city vital sign data to obtain target vital sign data, wherein the target vital sign data is used to characterize the status of a preset area of the city.
[0024] It should be noted that when cities carry out basic activities such as transportation, energy, water resources, housing, education, medical care, economy and environment, they will generate a series of vital signs data that characterize the city's operating status. These vital signs data reflect the health status, functional status and development dynamics of the city, including population data such as population size, population structure, population mobility, etc.; economic data such as GDP (Gross Domestic Product), industrial development, employment rate, income level; as well as traffic data, environmental data, energy data, infrastructure data, etc. These vital signs data can help city managers, planners, researchers and policy makers better understand the status of urban operation and monitor the trend of urban development.
[0025] Among them, the CIM platform can integrate and manage various vital data of urban operation. By integrating GIS and BIM technology, the CIM platform can display these vital data in combination with the city's three-dimensional model such as buildings, roads, public facilities, etc., so that city managers can understand the city status more intuitively. At the same time, the IoT can also monitor the changes in the city's vital data in real time, update the vital data and dynamically update the city model, ensuring that city managers can evaluate the city's vital data based on the latest information.
[0026] In addition, it should be noted that the preset evaluation indicators are a series of measurement standards or parameters set before evaluating or analyzing the city's vital signs. Different evaluation indicators correspond to the status of different areas of the city. For example, the air quality indicator corresponds to the ecological environment of the city, which can be represented by the AQI (Air Quality Index) of each area in the city; the high-density hospital ratio indicator corresponds to the public safety of the city, which can be represented by the proportion of the building density of secondary and above comprehensive hospitals in the city district exceeding 35. The role of the target vital sign data is to show or describe the current status of the city in preset areas such as economic development, environmental protection, and traffic management. Select key information from a large amount of urban data that helps to understand the status of a certain aspect of the city, help decision makers and researchers understand the development level and problems of the city in a certain field, and evaluate the status of different aspects of the city according to different types of evaluation indicators.
[0027] For example, Figure 2 As shown in the figure, in terms of evaluating the ecological livability of cities, corresponding to the indicator of regional development intensity, the target physical sign data include the built-up area of the municipal district and the total area of the municipal district; corresponding to the indicator of urban population density, the target physical sign data include the number of permanent residents per unit land area of the built-up area of the municipal district. In terms of evaluating urban facilities and services, corresponding to the indicator of per capita community sports venue area, the target physical sign data include the total area of community sports venues in the municipal district and the permanent population of the community in the municipal district; corresponding to the indicator of the proportion of land area of old and dilapidated residential communities, the target physical sign data include the land area of old and dilapidated residential communities in the built-up area of the municipal district that have not been renovated and the proportion of residential land area in the built-up area of the municipal district. In terms of evaluating urban safety and security, for the indicator of per capita shelter area, the target physical sign data include the area of emergency shelters per capita of permanent residents in the built-up area of the municipal district; for the indicator of coverage rate of urban secondary and above hospitals, the target physical sign data include the construction land area covered by the service radius of 4 kilometers (15 minutes by bus) of urban secondary and above hospitals and the total construction land area of the built-up area.
[0028] Optionally, real-time vital sign data can be collected through various sensors installed in the city, such as traffic flow meters, air quality monitoring stations, etc.; or already public vital sign data can be obtained from public data platforms; or vital sign data can be collected through questionnaires, social surveys, economic statistics, etc.
[0029] Optionally, check the basic information of the vital signs data, such as data volume, data type, data distribution, etc., and perform descriptive statistical analysis on the numerical data to understand its basic characteristics, such as mean, variance, maximum value, minimum value, etc. Draw a picture to show the data distribution of the vital signs indicators, such as a histogram, box plot, etc., to intuitively understand the distribution of the vital signs data. Identify the missing fields in the vital signs data and process them. For example, delete the missing values or use the mean, median, etc. to fill them. Identify the duplicate data in the vital signs data, delete the duplicate values, or keep one of the duplicate values. According to business needs and analysis purposes, delete the fields that are not related to the city's vital signs evaluation, such as deleting the personal information of urban residents in the analysis of the city's population vital signs evaluation to reduce data redundancy. Identify discrete variables by yourself and perform WOE (Weight of Evidence) encoding. Among them, WOE encoding can convert discrete variables into numerical variables, which can be used for model training and analysis. Extract useful features from the preprocessed data, which can represent different aspects of urban operation. For example, extract the traffic volume during peak hours from traffic flow data, extract the concentration of major pollutants from air quality data, etc.
[0030] Step S20, inputting the target vital sign data into a city analysis model, wherein the city analysis model is constructed and trained based on historical city evaluation data.
[0031] Step S30, obtaining the city physical sign evaluation result output by the city analysis model based on the target physical sign data.
[0032] It should be noted that the urban analysis model is used to process and analyze urban vital signs data, and can perform calculations based on the input target vital signs data to output an assessment or prediction of the city's operating status.
[0033] Optionally, use machine learning algorithms such as knowledge graphs, decision trees, random forests, or neural networks to automatically identify patterns and relationships in the vital sign data, and apply multivariate statistical methods such as principal component analysis or factor analysis to reduce the dimensionality of the vital sign data and identify the main influencing factors in the vital sign data.
[0034] For example, for vital sign data that changes over time, time series analysis methods can be used to study the trend, seasonality and other characteristics of the vital sign data. For spatially distributed vital sign data, spatial analysis algorithms such as spatial autocorrelation analysis and spatial clustering algorithms can be used to study the regional distribution characteristics of the vital sign data, such as the distribution pattern of the air quality index in urban space. According to the type of vital sign data, appropriate machine learning algorithms are selected to integrate and build an urban analysis model to improve the accuracy and robustness of the urban analysis model.
[0035] In this embodiment, by acquiring and preprocessing the vital sign data of urban operation, and then determining the target vital sign data based on preset evaluation indicators, the target vital sign data is input into the urban analysis model. The urban analysis model conducts objective and scientific analysis based on standardized data, thereby obtaining more objective and accurate urban vital sign evaluation results, and allowing urban managers to make decisions based on detailed evaluation results, thereby more effectively guiding urban planning and improving the quality of urban management.
[0036] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can refer to the above introduction, and will not be repeated later. Figure 3 Before step S20, the urban physical sign model evaluation method based on the CIM platform further includes steps S40 to S60: Step S40, obtaining historical city evaluation data, wherein the historical city evaluation data includes historical vital sign data and corresponding historical evaluation results.
[0037] Step S50: input the historical vital sign data into the city analysis model to obtain a training evaluation result.
[0038] Step S60: adjusting the hyperparameters of the city analysis model based on the historical evaluation results and the training evaluation results.
[0039] It should be noted that historical vital sign data refers to the records of various vital sign data generated in the operation of the city in a certain period of time in the past. Historical vital sign data is part of the input of the urban analysis model and is used to train the urban analysis model so that the urban analysis model can learn the relationship between urban vital sign data and evaluation results. Historical evaluation results are urban evaluation results calculated based on historical vital sign data. These evaluation results reflect the overall status of urban operation in the historical period and can be comprehensive scores or classification labels based on certain evaluation indicators. For example, urban health index, urban development index, urban sustainability index, etc.
[0040] In addition, it should be noted that the training evaluation result is an evaluation result obtained based on the learning of historical data by the urban analysis model during the training process. This result can be used to evaluate the performance of the urban analysis model, such as the evaluation accuracy and generalization ability of the urban analysis model. After the historical vital signs data are input into the urban analysis model, the urban analysis model will learn and train based on these data to adjust the model parameters so that it can better evaluate the vital signs. Hyperparameters are parameters in the model that are not learned through training data. The purpose of adjusting hyperparameters is to optimize the performance of the urban analysis model so that it can better evaluate the operation of the city and make more accurate evaluations of the city's vital signs.
[0041] In this implementation, by obtaining historical city evaluation data, the historical vital signs data can be input into the city analysis model for training. Then, according to the historical evaluation results and the training evaluation results, the hyperparameters of the city analysis model are adjusted to optimize the evaluation ability of the model, thereby improving the accuracy of the city vital signs evaluation.
[0042] Based on the above embodiments of the present application, in the third embodiment of the present application, the same or similar contents as those in the above embodiments can be referred to the above introduction, and will not be described in detail later. Figure 4 , step S50 also includes steps S51-S52: Step S51, classifying the historical vital sign data, and determining the correlation coefficient between the classified historical vital sign data and the historical evaluation results.
[0043] It should be noted that correlation algorithms are used to measure the degree of mutual dependence between two or more variables, including Pearson correlation coefficient, Spearman rank correlation coefficient, chi-square test, etc. They can measure whether there is a statistical association between the vital sign data and the historical evaluation results. Historical vital sign data may include many types, such as demographic data, economic indicators, traffic flow, environmental quality, etc. Each data type has its own specific statistical characteristics, so it is necessary to select a suitable correlation algorithm to analyze the relationship between these data and historical evaluation results.
[0044] Exemplarily, a suitable algorithm is selected according to the characteristics and properties of different urban vital signs data to evaluate the correlation with historical evaluation results.
[0045] Specifically, if the vital sign data is a continuous numerical type, such as temperature, housing price, etc., the Pearson correlation coefficient can be used to represent the correlation between this type of vital sign data and the historical evaluation results; if the vital sign data is discrete, such as gender ratio, education level, etc., the Spearman rank correlation coefficient or Kendall rank correlation coefficient can be used to represent the correlation between this type of vital sign data and the historical evaluation results. In addition, other dimensions of vital sign data characteristics can also be analyzed, including but not limited to: time characteristics such as trend, periodicity, mutation; spatial characteristics such as difference, spatial distribution, regional correlation, etc.
[0046] In addition, it should be noted that the correlation coefficient is used to quantify the relationship between two variables. It provides a numerical value that indicates the strength of the linear relationship between the two variables.
[0047] Exemplarily, the value of the correlation coefficient is set between -1 and 1, wherein -1 to 0 represents a negative correlation, 0 represents no correlation, and 0 to 1 represents a positive correlation.
[0048] Step S52: when the correlation coefficient is greater than a preset correlation threshold, the historical vital sign data is input into the city analysis model to obtain the training evaluation result.
[0049] It should be noted that the preset correlation threshold is a pre-set standard used to determine which historical vital sign data have a strong enough correlation with the historical evaluation results and should be input into the urban analysis model for training. When the correlation coefficient between the historical vital sign data and the evaluation results exceeds this threshold, it can be considered that these vital sign data have a significant impact on the evaluation results. These screened vital sign data are input into the urban analysis model, and the urban analysis model will use these data to train and generate training evaluation results. This training process helps the urban analysis model learn how to evaluate the physical signs of the city based on these vital sign data.
[0050] Optionally, as a feasible implementation method, the correlation between historical vital sign data is analyzed, and data that is highly correlated with specific city evaluation indicators and has specific meanings is screened out to train the city analysis model.
[0051] Specifically, the correlation analysis between historical vital sign data aims to determine whether the change of one vital sign data is associated with the change of another vital sign data. The correlation can be expressed as positive correlation (i.e., when one vital sign data increases, the other vital sign data also increases), negative correlation (i.e., when one vital sign data increases, the other vital sign data decreases) or no correlation (i.e., there is no obvious statistical association between the two). The correlation analysis can be performed through statistical tools such as scatter plots, correlation coefficients, Spearman rank correlation coefficients, and covariance.
[0052] In addition, the vital signs data with specific meanings for urban evaluation indicators refer to those data points that can provide useful information for urban evaluation indicators, reflect specific situations, or have specific values. For example, when evaluating a city's "Environmental Health Index", the index is intended to reflect the city's performance in environmental protection and sustainable development. In this case, the vital signs data with specific meanings can include AQI, noise level monitoring data, water quality monitoring data, etc., while data that are not related to this, such as the sex ratio of the population or the average height of urban residents, do not have specific analytical value. In this way, data that are of practical significance to urban vital signs indicators can be selected more accurately, thereby improving the accuracy and reliability of urban analysis models.
[0053] In this embodiment, by determining the correlation algorithm of different types of historical vital sign data, the correlation coefficient between these data and historical evaluation results can be accurately calculated, which helps us identify which vital sign data has an important impact on the city vital sign evaluation results. The vital sign data with a correlation coefficient greater than the preset correlation threshold is input into the city analysis model for training to avoid the negative impact of irrelevant data on the accuracy of the city vital sign evaluation.
[0054] Based on the above embodiments of the present application, in the fourth embodiment of the present application, the same or similar contents as those in the above embodiments can be referred to the above introduction, and will not be described in detail later. Figure 5 , step S60 also includes steps S61-S62: Step S61, determining the error coefficient of the city analysis model according to the historical evaluation results and the training evaluation results.
[0055] It should be noted that the error coefficient is an indicator used to measure the difference between the model output results and the actual results. By comparing the historical evaluation results and the training evaluation results output by the urban analysis model, the error coefficient of the urban analysis model can be calculated. The smaller the value of the error coefficient, the closer the evaluation results output by the urban analysis model are to the actual results. The smaller the prediction error of the model, the better the performance.
[0056] Optionally, if the evaluation result is numerical data, the mean square error can be used to calculate the average of the squares of the differences between the training evaluation result and the actual result, or the root mean square error can be used to calculate the square root of the mean square error as the error coefficient.
[0057] Optionally, if the evaluation result is classified data, such as evaluating a city as a highly sustainable development city or a moderately sustainable development city, indicators such as evaluation error rate and recall rate can be used as error coefficients to evaluate the performance of the urban analysis model.
[0058] Optionally, the historical physical sign evaluation data is divided into multiple subsets, each subset is used as a validation set, and the other subsets are used as training sets. The above steps are repeated for each subset, multiple error coefficients are calculated, and the average value is taken as the error coefficient of the model.
[0059] Optionally, for the evaluation result data of the time series, a dynamic adjustment method, such as an adaptive error coefficient in time series prediction, is used to evaluate the performance of the urban analysis model.
[0060] Step S62: If the error coefficient is greater than a preset error threshold, the hyperparameters of the city analysis model are adjusted.
[0061] It should be noted that the preset error threshold is an error coefficient threshold set in advance during the model training and evaluation process. This threshold can be set according to actual business needs and the expected performance of the model, indicating a reasonable error range. When the urban analysis model is predicting or evaluating, if the calculated error coefficient exceeds the preset error threshold, then the hyperparameters of the urban analysis model need to be adjusted to reduce the error coefficient and improve the evaluation accuracy of the urban analysis model. Hyperparameters are parameters set before the urban analysis model is trained. When the error coefficient is greater than the preset error threshold, it means that the difference between the evaluation result of the urban analysis model and the actual result is large, and the performance of the urban analysis model has not met expectations. At this time, it is necessary to adjust the hyperparameters to improve the performance of the urban analysis model.
[0062] For example, it is assumed that there is an urban analysis model in the urban vital signs evaluation system to predict the sustainable development level of the city. The model divides cities into three categories: highly sustainable development, moderately sustainable development, and low sustainable development. The actual sustainable development level evaluation results of the city in the past few years are collected. For example, 2016 is low sustainable development, 2017 is moderately sustainable development, 2018 is highly sustainable development, 2019 is highly sustainable development, and 2020 is highly sustainable development. Using the urban analysis model, the historical urban evaluation data is input into the urban analysis model for learning and training, and the sustainable development level evaluation results output by the urban analysis model are obtained, for example, 2016 is highly sustainable development, 2017 is highly sustainable development, 2018 is highly sustainable development, 2019 is highly sustainable development, and 2020 is highly sustainable development. Then calculate the difference between the evaluation results output by the model and the actual evaluation results. For example, the error rate of the evaluation is used as the error coefficient: error rate = (the number of actual classification errors) / (the total number of actual classifications) = 3 / 5 = 0.6. Assuming that the preset error coefficient is 0.2, the error coefficient is greater than the preset error threshold, and the hyperparameters of the model need to be adjusted, such as learning rate, batch size, number and size of hidden layers, activation function, etc.
[0063] Optionally, refer to Figure 6 , step S62 may include steps S621 to S624: Step S621, forming a test set according to the historical vital sign data and the training evaluation results.
[0064] Step S622, determining erroneous training evaluation results in the test set that are different from the historical evaluation results.
[0065] Step S623: replacing the erroneous training evaluation results in the test set based on the historical evaluation results.
[0066] Put the evaluation results generated by the urban analysis model during the training process together with the original historical vital signs data set to form a new data set. Find out the wrong evaluation results output by the urban analysis model. These wrong evaluation results may be inconsistent with the historical evaluation results because the urban analysis model does not understand certain data points accurately enough, or the urban analysis model fails to fully learn the characteristics of these data points during the training process. Replace the wrong training evaluation results in the test set with the actual historical evaluation results to improve the accuracy of the test set.
[0067] Step S624, re-inputting the replaced test set into the city analysis model for training, and adjusting the hyperparameters of the city analysis model until the error coefficient is less than or equal to the preset error threshold.
[0068] After the urban analysis model has been initially trained and a set of training evaluation results has been generated, the actual historical evaluation results in the test set are used to replace the erroneous evaluation results output by the urban analysis model to form a more accurate test set. Then, the urban analysis model is retrained using this updated test set. The purpose of retraining is to allow the urban analysis model to learn more accurate features and relationships, thereby improving the evaluation accuracy of the urban analysis model. In the process of retraining the urban analysis model, it may be found that some hyperparameter settings of the urban analysis model are not ideal, which affects the performance of the urban analysis model. Therefore, it is necessary to adjust the hyperparameters, such as learning rate, regularization strength, number of network layers, etc., according to the performance of the urban analysis model. Repeat the process of training and adjusting the hyperparameters until the error coefficient of the urban analysis model reaches or is lower than the preset error threshold. By iteratively adjusting the hyperparameters of the urban analysis model, the performance of the urban analysis model reaches the preset standard, thereby improving the evaluation accuracy of the urban analysis model.
[0069] Optionally, a machine learning algorithm is set to improve the algorithm of the urban analysis model.
[0070] Exemplarily, a suitable optimizer is selected to improve the training efficiency and the performance of the urban analysis model, including gradient descent, stochastic gradient descent, etc. These optimizers can help the urban analysis model adjust parameters during the training process to minimize the loss function. Regularization is used to add regularization terms to the loss function to limit the complexity of the urban analysis model, thereby improving the generalization ability of the urban analysis model. Or early stopping and discarding rules are used to stop or randomly discard certain gradient updates during the training process to reduce overfitting. If the urban analysis model is a complex model based on a neural network, its performance can be improved by improving the network structure, including adding hidden layers, changing activation functions, adjusting network width, etc.
[0071] In this embodiment, the historical vital signs data is input into the urban analysis model to obtain the training evaluation results. By comparing the training evaluation results with the historical evaluation results, the evaluation error of the urban analysis model can be found, and the error can be reduced by adjusting the hyperparameters to optimize the performance of the urban analysis model. At the same time, the erroneous training evaluation results are replaced and updated, and the urban analysis model is retrained using the updated test set. The urban analysis model can learn more accurate features and relationships, thereby improving the generalization ability and more accurately evaluating the vital signs of the city.
[0072] Based on the above embodiments, in the fifth embodiment of the present application, the same or similar contents as those in the above embodiments can be referred to the above introduction, and will not be described in detail later. Figure 7 After step S10, the urban physical sign model evaluation method based on the CIM platform further includes steps S70 to S100: Step S70, generating a three-dimensional city model, wherein the three-dimensional city model includes a city element model for generating the city vital sign data.
[0073] Generate a 3D city model based on the CIM platform, use the city's topography, landforms, water systems, transportation networks and other geographic information in GIS to build the city's 3D structure, and use the 3D models of buildings and infrastructure in the city using BIM data. The 3D model includes the city element model that generates physical data. For example, urban buildings that require power supply for lighting, air conditioning and other equipment consume electricity.
[0074] Step S80: classify the city vital sign data according to the city element model and generate a chart.
[0075] Step S90: Associating the chart with the corresponding city element model in the three-dimensional city model.
[0076] According to the characteristics or functions of the elements of the urban model, the vital data are classified, for example, energy consumption data is associated with buildings, and traffic flow data is associated with roads. The vital data are presented in the form of graphics using charts such as line charts, bar charts, and pie charts. These charts can help users intuitively understand the changing trends and distribution of the data.
[0077] Step S100, in response to the user's interactive action based on the city element model, display the chart on the three-dimensional city model.
[0078] Optionally, create a city model interface to display the city model and related data.
[0079] For example, a responsive web page is constructed using HTML (HyperText Markup Language), CSS (Cascading Style Sheets) and JavaScript, which can display city models and data on different devices. A 3D city model is created using WebGL (Web Graphics Library) or Three.js and other libraries, and displayed on the web page. Real-time city vital signs data is obtained from the server through Ajax (Asynchronous JavaScript and XML) or Fetch API, and dynamically updated to the city model interface.
[0080] When users interact with the city element model on the city model interface, such as clicking or sliding, the system will automatically display the associated charts. In this way, users can directly view data related to specific areas or facilities on the model interface, thereby more intuitively understanding the operation of the city.
[0081] Optionally, a heat map is used on the city model interface to represent the distribution of vital sign data. The color depth or temperature range of the heat map represents the size or intensity of the data. By clicking on an area in the heat map, the user can directly display the vital sign data corresponding to the area in the chart.
[0082] Exemplarily, assume a city model interface in which a heat map is used to represent the distribution of AQI. The higher the AQI value, the worse the air quality. In this example, the color depth of the heat map will represent the size or intensity of the AQI. Display a three-dimensional model of a city, including different areas and facilities. The heat map is overlaid on the city model interface, and the colors from light blue to dark purple indicate that the AQI ranges from good to poor. For example, light blue indicates that the AQI is 50-100, indicating good air quality. Medium blue indicates that the AQI is 101-200, indicating medium air quality. Dark blue indicates that the AQI is 201-300, indicating poor air quality. Purple indicates that the AQI is 301-500, indicating very poor air quality. When a user sees a medium blue area on the heat map, it means that the AQI in the area is between 101-200 and the air quality is medium. The user clicks on the area, and the city model interface immediately displays the AQI value of the area as 150, and prompts "Medium air quality, it is recommended to reduce outdoor activities." Users can choose to view the AQI data chart for the area over the past week, or predict the AQI change trend for the next week.
[0083] Optionally, an interactive menu is provided on the city model interface, allowing the user to select to view a specific type of vital sign data. After the user selects, the relevant information of the type of vital sign data can be displayed in a chart, and the menu can include different chart types and data filtering options.
[0084] Optionally, a dynamic prompt box is set for each city element model on the city model interface. The prompt box is automatically displayed when the user approaches or clicks the city element model. The prompt box may contain brief vital sign data and a link to a chart. The user clicks the link to view detailed data in the chart.
[0085] In this embodiment, by creating a three-dimensional city model, visualizing the vital sign data with charts and binding it with the city element model of the city model interface, the vital sign data can be made more intuitive and easy to understand. Dynamically displaying relevant charts based on user operations allows users to quickly obtain data related to specific areas or facilities, thereby better understanding and analyzing the operation status of the city and supporting decision-making.
[0086] Based on the above embodiments, in the sixth embodiment of the present application, the same or similar contents as those in the above embodiments can be referred to the above introduction, and will not be described in detail later. Figure 8 After step S30, the urban physical sign model evaluation method based on the CIM platform further includes steps S110 to S120: Step S110, associating the city physical sign evaluation result with the corresponding city element model in the city three-dimensional model.
[0087] For example, on the city model interface, each city element model such as buildings, roads, parks, etc. is associated with one or more city vital signs evaluation results. Binding can be based on geographic location, functional attributes or other correlations to ensure that each city element model is associated with relevant vital signs data.
[0088] Specifically, according to the geographical location of buildings or roads, they are associated with the physical sign evaluation results in a specific area. For example, buildings in commercial areas are associated with business activity, employment rate, tax revenue, etc.; buildings in residential areas are associated with population density, living comfort, green coverage, etc. Or according to the functional attributes of buildings, they are bound to relevant physical sign evaluation results. For example, main roads are associated with traffic flow, traffic congestion index, accident rate, etc.; pedestrian streets are associated with pedestrian flow, commercial activities, noise level, etc.
[0089] Step S120, in response to the user's interactive action based on the city element model, displaying the city physical sign evaluation result on the city three-dimensional model.
[0090] Users can interact with the city element model through interactive actions on the city model interface, such as clicking, hovering, zooming, etc. When users interact with the city element model, the corresponding city physical sign evaluation results will be displayed in a visual form in the interface. The display methods include floating information boxes, pop-up windows, animation effects, or changing displayed charts.
[0091] For example, when a user clicks on a building model, a floating information box will appear above the model, showing the building's population density, energy consumption, environmental score and other vital data. Clicking on an indicator in the information box may pop up a detailed data analysis report, including historical data trends, comparisons with other buildings, etc.
[0092] For example, when a user views a city development timeline, the model interface can show the changes of the city at different time points, and the vital signs data will change over time in the form of dynamic charts. For example, from 2010 to 2020, the city's green area gradually increased, and the air quality index decreased year by year. These changes can be intuitively presented to users through animated charts.
[0093] In this embodiment, the city vital signs evaluation results are bound to the city element model of the city model interface, and the corresponding city vital signs evaluation results are displayed in the interface in response to the user's interactive actions on the city element model. The user can understand the city's operating status more intuitively, and better understand the city's development trends and operating conditions through visualized data, and make decisions and plans for urban management based on the evaluation data.
[0094] For example, in order to help understand the implementation process of the urban vital signs model evaluation method based on the CIM platform obtained by combining this embodiment with the above embodiments, please refer to Fig. 9 , Fig. 9 A brief flow chart of the evaluation method of the urban vital signs model based on the CIM platform is provided. Specifically: valuable information is extracted from massive data through model mining algorithms. Model mining algorithms include classification, clustering, association rules, sequence patterns, prediction and other types. It can help understand the internal structure and pattern of the data. The mined vital signs data information is input into the urban evaluation model to obtain the urban evaluation and portrait results, which are used to evaluate and describe the overall situation of the city. A machine learning correction algorithm is created to improve and adjust the urban analysis model during the construction and optimization of the urban analysis model to improve its performance, accuracy and generalization ability. The results output by the urban analysis model are fed back to the machine learning correction algorithm, and the machine learning correction algorithm adjusts the hyperparameters of the urban analysis model, or improves the algorithm of the urban analysis model to correct the urban analysis model.
[0095] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the urban vital signs model evaluation method based on the CIM platform of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0096] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0097] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0098] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A method for evaluating urban physical signs model based on CIM platform, characterized in that: The method comprises: Based on the preset evaluation index, the city vital sign data is classified to obtain target vital sign data, wherein the target vital sign data is used to characterize the status of the preset areas of the city; Inputting the target vital sign data into a city analysis model, wherein the city analysis model is constructed and trained based on historical city evaluation data; The city physical sign evaluation result output by the city analysis model based on the target physical sign data is obtained.
2. The method according to claim 1, characterized in that Before the step of inputting the target vital sign data into the city analysis model, the method further includes: Acquiring historical city evaluation data, wherein the historical city evaluation data includes historical vital sign data and corresponding historical evaluation results; Inputting the historical vital sign data into the urban analysis model to obtain a training evaluation result; Based on the historical evaluation results and the training evaluation results, hyperparameters of the city analysis model are adjusted.
3. The method according to claim 2, characterized in that The step of inputting the historical vital sign data into the city analysis model to obtain a training evaluation result comprises: Classifying the historical vital sign data, and determining the correlation coefficient between the classified historical vital sign data and the historical evaluation results; When the correlation coefficient is greater than a preset correlation threshold, the historical vital sign data is input into the city analysis model to obtain the training evaluation result.
4. The method according to claim 2, characterized in that The step of adjusting the hyperparameters of the city analysis model based on the historical evaluation results and the training evaluation results includes: Determining an error coefficient of the urban analysis model according to the historical evaluation results and the training evaluation results; If the error coefficient is greater than a preset error threshold, the hyperparameters of the city analysis model are adjusted.
5. The method according to claim 4, characterized in that The step of adjusting the hyperparameters of the city analysis model comprises: Generate a test set according to the historical vital sign data and the training evaluation results; Determining erroneous training evaluation results in the test set that are different from the historical evaluation results; Replace the erroneous training evaluation results in the test set based on the historical evaluation results; The replaced test set is re-input into the city analysis model for training, and the hyperparameters of the city analysis model are adjusted until the error coefficient is less than or equal to the preset error threshold.
6. The method according to claim 1, characterized in that After the step of classifying the city vital sign data based on the preset evaluation index to obtain the target vital sign data, the method further includes: Generate a three-dimensional city model, wherein the three-dimensional city model includes a city element model for generating the city vital sign data; Classifying the city vital sign data according to the city element model and generating a chart; Associating the chart with a corresponding city element model in the three-dimensional city model; In response to the user's interactive action based on the city element model, the chart is displayed on the three-dimensional city model.
7. The method according to claim 6, characterized in that After the step of obtaining the city physical sign evaluation result output by the city analysis model based on the target physical sign data, the method further includes: Associating the city physical sign evaluation result with the corresponding city element model in the city three-dimensional model; In response to the user's interactive action based on the city element model, the city physical sign evaluation result is displayed on the city three-dimensional model.
Citation Information
Patent Citations
Data processing method, device and equipment and storage medium
CN112231533A
Multi-target object evaluation method based on multi-evaluation factor fusion and related equipment thereof
CN112308173A
GIS-based urban physical examination evaluation system
CN114021968A
Communication network auxiliary planning method supporting preference strategy and application thereof
CN114462506A
Urban physical examination evaluation method and system, storage medium and electronic equipment
CN116128378A
Cited By
Method and device for analyzing sign large screen based on evaluation model and storage medium
CN120541507A
