A method for evaluating ecological environment quality and related equipment
By generating a target evaluation index model, the problem of the complex evaluation index system in the traditional analytic hierarchy process is solved, and an accurate assessment of the quality of the ecological environment is achieved, especially the dynamic monitoring of ecologically fragile areas, which provides more reliable ecological quality data. .
Patent Information
- Application Number
- CN202410239596.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-04
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-03-04
AI Technical Summary
The traditional analytic hierarchy process has a complex system of selecting evaluation indicators in regional ecological quality evaluation, making it difficult to collect and obtain some indicators, which directly restricts the dynamic evaluation of regional ecological quality conditions, especially in ecologically fragile areas such as poor soil, soil erosion, In cases of severe desertification, frequent disasters, sparse vegetation or low vegetation function, it is difficult to accurately assess the quality of the ecological environment.
Generate a target evaluation index model through the training sample set, confirm the evaluation weight factors and evaluation weight coefficients, input the information of the area to be evaluated into the model, generate the evaluation weight coefficients and evaluation data, and then calculate the comprehensive score and ecological quality data to realize the ecological environment quality accurate assessment.
It improves the accuracy of assessment of ecological environment quality, identifies influencing factors more effectively, provides more reliable ecological quality data, and supports scientific decision-making.
Smart Images

Figure CN117829684B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to an ecological environment quality assessment method and related equipment. Background Art
[0002] Ecological civilization construction is an important project to promote the improvement of ecological environment quality. At present, the quality changes of ecological environment are affected by both meteorological conditions and human conditions. The impact of meteorological conditions and human activities on the ecological environment is often entangled and difficult to separate. At present, there are many methods used for regional ecological quality evaluation, such as principal component analysis, cluster analysis, distance discrimination, fuzzy mathematics evaluation, gray system evaluation, matter element analysis, hierarchical analysis, etc. In comparison, because the hierarchical analysis method has the characteristics of high logic, systematicity, flexibility and practicality, and is relatively mature, it has become one of the mainstream methods for regional ecological quality evaluation.
[0003] The basic idea of analytic hierarchy process is to regard the problem under study as a large system, divide the orderly layers of interconnection between the factors by analyzing multiple factors of the system, and then establish a corresponding evaluation index system after objectively judging each factor at each level, give the weight value of the relative importance of all factors at each level, and sort them, and finally make planning decisions and choose measures to solve the problem according to the sorting results. Among them, the construction of the evaluation index system is a key issue.
[0004] In the work of regional ecological quality evaluation, the traditional hierarchical analysis method selects evaluation index systems that are complicated and some indicators are difficult to collect or obtain, which directly restricts the dynamic evaluation of regional ecological quality. Ecologically fragile areas generally have problems such as poor soil, severe soil erosion or desertification, frequent disasters, sparse vegetation or low vegetation function, and the overall ecological environment is not optimistic.
[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0006] The purpose of this application is to provide an ecological environment quality assessment method and related equipment, which at least overcomes the problems existing in the prior art to a certain extent, generates a target evaluation index model through a training sample set, confirms the evaluation weight factor and evaluation weight coefficient of the target evaluation index model, inputs the information of the area to be evaluated into the target evaluation index model, thereby obtaining the corresponding evaluation weight coefficient and evaluation data, generates a comprehensive score for the target area, and obtains the influencing factors affecting the target area based on the comprehensive score, and generates the ecological quality data of the target area based on the influencing factors, thereby more accurately evaluating the ecological environment quality of the target area.
[0007] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present invention.
[0008] According to one aspect of the present application, a method for evaluating ecological environment quality is provided, comprising: obtaining a training sample set and land type information of a target area, wherein the training sample set includes land type information of several evaluated areas, and the target area is an area to be evaluated; preprocessing the training sample set to generate a training sample set with target feature data; processing a preset evaluation index model based on the training sample set with target feature data to generate a target evaluation index model; processing the land type information of the target area based on the target evaluation index model to generate an evaluation weight coefficient and evaluation data for the target area; preprocessing the evaluation weight coefficient and the evaluation data to generate a comprehensive score for the target area; processing the comprehensive score of the target area based on the ecological quality evaluation model to generate an ecological quality coefficient for the target area; processing the ecological quality coefficient based on preset processing rules to generate ecological quality data for the target area.
[0009] In one embodiment of the present application, the preprocessing of the training sample set to generate a training sample set with target feature data includes: extracting features from the training sample set to determine an original feature library; dividing each feature data set according to the original feature library to generate a training data set and a test data set; using a classifier to predict each test data set divided from the original feature library to determine a prediction result; using a preset algorithm to train each training data set divided from the original feature library to obtain a test set class prediction result; and generating target feature data based on the prediction result and the test set class prediction result.
[0010] In one embodiment of the present application, the feature extraction of the training sample set includes: constructing a regional factor analysis model; processing the training sample set based on the regional factor analysis model to generate feature information of several regions; processing the regional factor analysis model based on the principal component analysis method to generate principal component score values of each regional feature type.
[0011] In one embodiment of the present application, the comprehensive score of the target area is processed based on the ecological quality assessment model to generate an ecological quality coefficient of the target area, including: obtaining image information corresponding to the target area; slicing the image information to generate multiple local images; processing the multiple local images separately based on the ecological quality assessment model to generate scores corresponding to the multiple local images respectively; processing the scores corresponding to the multiple local images separately to obtain and generate the influencing factors with the largest proportion of the corresponding local image scores; and generating the ecological quality coefficient of the target area based on the influencing factors.
[0012] In one embodiment of the present application, the preset evaluation index model is processed based on the training sample set with the target feature data to generate a target evaluation index model, including: dividing the training sample set with the target feature data into a training set for training the preset evaluation index model and a test set for testing the preset evaluation index based on a preset ratio; extracting multiple data groups from the training set, wherein each data group contains a preset number of data samples, wherein at least one data sample includes target feature data; training the preset evaluation index model based on the data samples in the multiple data groups to generate a trained evaluation index model; processing the trained evaluation index model based on the test set to generate a test result; if the data sample containing the target feature data in the test result is regional information whose ecological quality data is greater than a preset threshold, the trained evaluation index model is used as the target evaluation index model.
[0013] In one embodiment of the present application, extracting multiple groups of data groups from the training set includes: dividing the training set based on target feature data to generate a number of number of class samples; obtaining any number of class samples in the training set that is less than a preset threshold; generating adjacent samples based on the distance between any number of class samples that is less than the preset threshold and other number of class samples of the same category that are less than the preset threshold, wherein the adjacent samples include a preset number of any number of class samples that is less than the preset threshold; sampling the adjacent samples to generate a preset number of sampled samples; generating multiple groups of data groups based on any minority class sample and each sampled sample.
[0014] In one embodiment of the present application, the sampling of the adjacent samples to generate a preset number of sampling samples includes: determining a sampling ratio based on the number of samples of each category in the training set; determining a sampling ratio based on the sampling ratio; and sampling the adjacent samples based on the sampling ratio to generate a preset number of sampling samples.
[0015] Another aspect of the present application is an ecological environment quality assessment device, characterized in that the device includes: an acquisition module, used to acquire a training sample set and land type information of a target area, wherein the training sample set includes land type information of several assessed areas, and the target area is an area to be assessed; a processing module, used to preprocess the training sample set to generate a training sample set with target feature data; based on the training sample set with target feature data, a preset evaluation index model is processed to generate a target evaluation index model; based on the target evaluation index model, the land type information of the target area is processed to generate an evaluation weight coefficient and evaluation data of the target area; the evaluation weight coefficient and the evaluation data are preprocessed to generate a comprehensive score of the target area; based on the ecological quality assessment model, the comprehensive score of the target area is processed to generate an ecological quality coefficient of the target area; based on the preset processing rules, the ecological quality coefficient is processed to generate ecological quality data of the target area.
[0016] According to another aspect of the present application, an electronic device is provided, characterized in that it comprises: a first processor; and a memory for storing executable instructions of the first processor; wherein the first processor is configured to execute the above-mentioned ecological environment quality assessment method by executing the executable instructions.
[0017] According to another aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a second processor, the above-mentioned ecological environment quality assessment method is implemented.
[0018] According to another aspect of the present application, a computer program product is provided, including a computer program, characterized in that when the computer program is executed by a third processor, the above-mentioned ecological environment quality assessment method is implemented.
[0019] The present application provides an ecological environment quality assessment method and related equipment, in which a server obtains a training sample set and land type information of a target area, wherein the training sample set includes land type information of several assessed areas, and the target area is an area to be assessed; the training sample set is preprocessed to generate a training sample set with target feature data; a preset evaluation index model is processed based on the training sample set with target feature data to generate a target evaluation index model; the land type information of the target area is processed based on the target evaluation index model to generate an evaluation weight coefficient and evaluation data of the target area; the evaluation weight coefficient and evaluation data are preprocessed to generate a comprehensive score of the target area; the comprehensive score of the target area is processed based on the ecological quality assessment model to generate an ecological quality coefficient of the target area; the ecological quality coefficient is processed based on preset processing rules to generate ecological quality data of the target area. The target evaluation index model is generated by training the sample set, the evaluation weight factor and evaluation weight coefficient of the target evaluation index model are confirmed, and the information of the area to be evaluated is input into the target evaluation index model to obtain the corresponding evaluation weight coefficient and evaluation data, and generate a comprehensive score for the target area. Based on the comprehensive score, the influencing factors affecting the target area are obtained, and the ecological quality data of the target area is generated based on the influencing factors, so as to more accurately evaluate the ecological environment quality of the target area.
[0020] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 A flow chart showing an ecological environment quality assessment method provided by an embodiment of the present application;
[0022] Figure 2 A schematic diagram of the structure of an ecological environment quality assessment device provided by an embodiment of the present application is shown;
[0023] Figure 3 A schematic diagram of the structure of an electronic device provided by an embodiment of the present application is shown;
[0024] Figure 4 A schematic diagram of a storage medium provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0025] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0026] Combine the following Figure 1To describe the method for evaluating the ecological environment quality according to the exemplary embodiment of the present application. It should be noted that the following application scenarios are only shown to facilitate understanding of the spirit and principles of the present application, and the implementation of the present application is not limited in this regard. On the contrary, the implementation of the present application can be applied to any applicable scenario.
[0027] In one implementation, the present application also proposes an ecological environment quality assessment method and related equipment. Figure 1 The following schematically shows a flow chart of an ecological environment quality assessment method according to an embodiment of the present application. Figure 1 As shown, the method is applied to a server, comprising:
[0028] S101, obtaining a training sample set and land type information of a target area.
[0029] In one implementation, the training sample set includes land type information of several evaluated areas, and the target area is the area to be evaluated. This solution does not limit how to obtain the land type information of the evaluated area, as long as it can be achieved, it can be reversed by searching the literature, or it can be directly obtained by querying the corresponding data. Land type information includes but is not limited to wind erosion desertification areas, water erosion desertification areas, freeze-thaw desertification areas and salinization areas.
[0030] S102, preprocessing the training sample set to generate a training sample set with target feature data.
[0031] In one embodiment, the target characteristic data is the regional information whose ecological quality data is greater than a preset threshold value. If the ecological quality data is greater than the preset threshold value, it means that the current data sample is the regional information with good ecological environment quality, which may be a high vegetation coverage rate, a high soil and water conservation, etc. The regional information will also include but not be limited to ecological status indicators, ecological pattern indicators, ecological structure indicators and ecological function indicators; ecological status indicators include organic matter content, gully area ratio, sticky sand ratio, annual temperature difference and soil salinity; ecological pattern indicators include ecological land area proportion, landscape diversity index, water erosion desertification land area proportion, wind erosion desertification land area proportion, freeze-thaw desertification land area proportion and salinization land area proportion; ecological structure indicators include vegetation coverage index, key protected organisms index and vegetation net primary productivity index; ecological function indicators include ecosystem regulation index, soil and water conservation index, windbreak and sand fixation index, freeze-thaw erosion index and salinization index, which are not specifically limited in this embodiment.
[0032] In another embodiment, feature extraction is performed on the training sample set to determine the original feature library, wherein the feature extraction includes four features: original features, statistical features, frequency domain features, and time domain features. The commonly used features extracted are specifically introduced as follows: Original features: The original features are the collected data, after preprocessing, using all the information in each sample data matrix for model training. In order not to lose sample information, each curve of the sample Xi is directly unfolded and stretched into a row vector. Statistical features: Statistical features consider the change trend of all data points on the curve. By extracting statistical features, the dimension of the data sample can be reduced, which is convenient for analyzing genetic data and accelerating the convergence speed during model training. The extracted statistical features include maximum value, minimum value, mean, variance, and standard deviation. Frequency domain features: Wavelet transform is performed on the data set, and the coefficients obtained by the second-order wavelet transform are used as new features to constitute frequency domain features. Time domain features: Time domain features mainly study the change laws of signals and systems from the perspective of time. Time domain features can reflect the information of curve data in time changes. This process mainly extracts the first-order forward difference of the data set to form the first-order difference time domain features, and uses the exponential moving average feature processing method.
[0033] In another implementation, a regional factor analysis model is constructed; a training sample set is processed based on the regional factor analysis model to generate characteristic information of several regions; the regional factor analysis model is processed based on the principal component analysis method to generate the principal component score value of each regional characteristic type. The characteristic information of the region includes topographic and geomorphic characteristics, soil type and soil texture characteristics, land use and vegetation cover characteristics, climate characteristics of the basin, and basin structure characteristics. The regional factor analysis model includes attribute factors corresponding to each regional feature type. For example, when the regional feature type is soil moisture, its corresponding attribute factors are annual average precipitation, annual average evaporation, and annual maximum 24-hour rainfall; when the regional feature type is terrain, its corresponding attribute factors are average elevation, average slope, and longest confluence path ratio; when the regional feature type is land type, its corresponding attribute factors are the proportion of forest land, grassland, cultivated land, water area and water conservancy facilities, and construction land; when the regional feature type is soil, its corresponding attribute factors are sand, loam, loamy sand, crushed gravel, silt loam, clay, etc.; when the regional feature type is watershed result, its corresponding attribute factors are watershed area, shape coefficient, river network density, etc. The principal component analysis is performed on the above five types of regional features to extract the principal component information of each type.
[0034] In another embodiment, each feature data set is divided according to the original feature library to generate a training data set and a test data set. The original feature library is divided using existing technology to generate a training data set and a test data set. In this embodiment, as long as the division can be performed, there is no restriction on what method is used. The classifier is used to divide the original feature library into each test data set for prediction, and the prediction result is determined. The original feature library is divided into each training data set for training using a preset algorithm to obtain a test set class prediction result. According to the prediction result and the test set class prediction result, the target feature data is generated. The original feature library is divided into each training data set for training using a preset algorithm to obtain a test set class prediction result. In the embodiment, as long as the test set class prediction result can be obtained, there is no restriction on what algorithm is used. According to the prediction result and the test set class prediction result, the target feature data is generated. The classification results of Evalfeature and Evaloriginal are judged. If Evalfeature is improved compared with Evaloriginal, the feature is incorporated into Dfusion, and the final target feature data Dfusion is obtained after the traversal is completed. Specifically, the data classification result corresponding to the training data set is obtained, because the classification result of each training data set can be determined in advance, and the data can be directly obtained from the outside. Compare the prediction results with the data classification results to determine the first comparison result; compare the test set prediction results with the data classification results to determine the second comparison result; judge whether the second comparison result and the first comparison result meet the preset requirements, and when the preset requirements are met, determine the corresponding features as target feature data.
[0035] The characteristic data is processed based on the preset characteristic screening rules to generate target characteristic data, which includes but is not limited to Cplant plant absorption factor (m / day), SMDmax maximum soil water shortage (mm), Ksoil soil adsorption constant ( / day), n nonlinear adsorption constant related to temperature (-), FSD soil splash coefficient (s / m), ESD soil splash capacity (kg / m2 / s), Veg vegetation coverage, FTC soil transport coefficient (kg / m2 / km2); nTC soil transport nonlinear constant. When the value of the above characteristic data is greater than the preset threshold, the corresponding characteristic data is used as the target characteristic data, where the target characteristic data is the regional information whose ecological quality data is greater than the preset threshold.
[0036] In another implementation, a regional factor analysis model is constructed, and a training sample set is processed based on the regional factor analysis model to generate characteristic information of several regions, and the regional factor analysis model is processed based on the principal component analysis method to generate principal component scores of each regional characteristic type. Regional characteristics include regional topographic and geomorphic characteristics, soil type and soil texture characteristics, land use and vegetation cover characteristics, regional climate characteristics, and regional structural characteristics. The regional factor analysis model includes attribute factors corresponding to each regional feature type. For example, when the regional feature type is climate, its corresponding attribute factors are annual average precipitation, annual average evaporation, and annual maximum 24-hour rainfall; when the regional feature type is terrain, its corresponding attribute factors are average elevation, average slope, and longest confluence path ratio; when the regional feature type is land use, its corresponding attribute factors are the proportion of forest land, grassland, cultivated land, water area and water conservancy facilities, and construction land; when the regional feature type is soil, its corresponding attribute factors are sand, loam, loamy sand, crushed gravel, silt loam, clay, etc.; when the regional feature type is regional result, its corresponding attribute factors are regional area, shape coefficient, river network density, etc. Principal component analysis is performed on the above five types of regional features to extract the principal component information of each type.
[0037] S103, processing a preset evaluation index model based on the training sample set with target feature data to generate a target evaluation index model.
[0038] In one embodiment, a training sample set with target feature data is divided into a training set for training a preset evaluation index model and a test set for testing a preset evaluation index based on a preset ratio, wherein the ratio can be set as needed, such as 1:8 or 1:5; multiple data groups are extracted from the training set, wherein each data group contains a preset number of data samples, wherein at least one data sample includes target feature data; the preset evaluation index model is trained based on the data samples in the multiple data groups to generate a trained evaluation index model; the trained evaluation index model is processed based on the test set to generate a test result; if the data sample containing the target feature data in the test result is regional information whose ecological quality data is greater than a preset threshold, the trained evaluation index model is used as the target evaluation index model.
[0039] In another embodiment, a preset evaluation index model is constructed, and multiple evaluated regions are processed based on the preset evaluation index model to generate a target score for each evaluated region, and several evaluated regions with the same target score are obtained, and several evaluated regions with the same target score are processed based on the preset evaluation index model to generate model parameters applicable to multiple regions at the same time; the preset evaluation index model is processed based on the model parameters to generate a target evaluation index model. The server will obtain the evaluated regions with the same score, and determine what the main influencing factors that affect different evaluated regions are, and then determine the correlation between different influencing factors. If the main influencing factors of different evaluated regions are the same, it indicates that the main influencing factor is more important. At this time, the weight ratio of the main influencing factor can be increased and used as a model parameter of the target evaluation index model.
[0040] In another implementation, by analyzing the evaluated areas, it is possible to clarify which characteristic parameters are available for the model to calculate, and the training sample set with target characteristic data is used to set the weight ratio of the parameters that can be used for calculation, so that the conclusion drawn is more accurate. For example, what factors lead to regions with better ecological quality data, and whether the main influencing factors of different regions with better ecological quality are the same, this is a continuous learning process.
[0041] In another embodiment, a training sample set with target feature data is divided into a training set for training a preset evaluation index model and a test set for testing the preset evaluation index model based on a preset ratio; multiple data groups are extracted from the training set, wherein each data group contains a preset number of data samples, wherein at least one data sample includes identification information; the preset evaluation index model is trained based on the data samples in the multiple data groups to generate a trained evaluation index model; the trained evaluation index model is processed based on the test set to generate a test result; if the data sample containing the target feature data in the test result is regional information whose ecological quality data is greater than a preset threshold, the trained evaluation index model is used as the target evaluation index model.
[0042] S104, processing the land type information of the target area based on the target evaluation index model to generate an evaluation weight coefficient and evaluation data for the target area.
[0043] In one implementation, the evaluation weight coefficient includes ecological status index, ecological pattern index, ecological structure index and ecological function index. Among them, ecological status index includes organic matter content, gully area ratio, sticky sand ratio, annual temperature difference and soil salinity; ecological pattern index includes ecological land area proportion, landscape diversity index, water erosion desertification land area proportion, wind erosion desertification land area proportion, freeze-thaw desertification land area proportion and salinization land area proportion; ecological structure index includes vegetation coverage index, key protected organisms index and vegetation net primary productivity index; ecological function index includes ecosystem regulation index, soil and water conservation index, windbreak and sand fixation index, freeze-thaw erosion index and salinization index.
[0044] In another embodiment, the organic matter content is obtained based on the mass of various animal and plant remains and microorganisms and the organic matter decomposed and synthesized by them contained in a unit mass of soil; the clay-sand ratio is obtained based on the ratio of clay and sand in a unit mass of soil; the gully area ratio is obtained by obtaining the proportion of the area of gullies in the evaluation unit based on the digital elevation model data; and the annual temperature difference is obtained based on the difference between the average monthly temperature of the hottest month and the average monthly temperature of the coldest month in a year.
[0045] In another implementation manner, the indicator weight coefficient of the ecological status index is specifically as follows: the weight of organic matter content is 0.3, the weight of sticky sand ratio is 0.7, the weight of gully area ratio is 0, the weight of annual temperature difference is 0, and the weight of soil salinity is 0; the indicator weight coefficient of the ecological pattern index is specifically as follows: the weight of ecological land area proportion is 0.3, the weight of landscape diversity index is 0.3, the weight of wind erosion desertification land area is 0.4, the weight of water erosion desertification land area is 0, the weight of freeze-thaw desertification land area is 0, and the weight of salinization land area is 0; the indicator weight coefficient of the ecological structure index is specifically as follows: the weight of vegetation cover index is 0.3, the weight of key protected organisms index is 0.4, and the weight of vegetation net primary productivity index is 0.3; the indicator weight coefficient of the ecological function index is specifically as follows: the weight of ecosystem regulation index is 0.4, the weight of windbreak and sand fixation index is 0.6, the weight of soil and water conservation index is 0, the weight of freeze-thaw erosion index is 0, and the weight of salinization index is 0.
[0046] In another implementation manner, the indicator weight coefficient of the ecological status index is specifically as follows: the weight of organic matter content is 0.5, the weight of the proportion of gully area is 0.5, the weight of sticky sand ratio is 0, the weight of annual temperature difference is 0, and the weight of soil salinity is 0; the indicator weight coefficient of the ecological pattern index is specifically as follows: the weight of ecological land area proportion is 0.3, the weight of landscape diversity index is 0.3, the weight of water erosion desertification land area is 0.4, the weight of wind erosion desertification land area is 0, the weight of freeze-thaw desertification land area is 0, and the weight of salinization land area is 0; the indicator weight coefficient of the ecological structure index is specifically as follows: the weight of vegetation cover index is 0.3, the weight of key protected organisms index is 0.4, and the weight of vegetation net primary productivity index is 0.3; the indicator weight coefficient of the ecological function index is specifically as follows: the weight of ecosystem regulation index is 0.4, the weight of soil and water conservation index is 0.6, the weight of windbreak and sand fixation index is 0, the weight of freeze-thaw erosion index is 0, and the weight of salinization index is 0.
[0047] S105, pre-processing the evaluation weight coefficient and the evaluation data to generate a comprehensive score for the target area.
[0048] In one implementation, a multi-level evaluation weight coefficient is obtained, and the scoring standard and first weight information of the evaluation weight of the lowest level, as well as the scoring standard and second weight information of the evaluation weight of the highest level are confirmed. A comprehensive evaluation weight coefficient is obtained based on the first weight information of the evaluation weight of the lowest level and the second weight information of the evaluation weight of the highest level, and a comprehensive score of the target area is generated based on the evaluation data and the comprehensive evaluation weight coefficient.
[0049] S106, processing the comprehensive score of the target area based on the ecological quality assessment model to generate an ecological quality coefficient of the target area.
[0050] In one implementation, image information corresponding to the target area is obtained, the image information is sliced to generate multiple local images, the multiple local images are processed separately based on the ecological quality assessment model, scores corresponding to the multiple local images are generated respectively, and the scores corresponding to the multiple local images are added together to obtain the final score of the target area. In addition, the scores corresponding to the multiple local images are processed separately to obtain and generate the influencing factors with the largest proportion of the corresponding local image scores, and the ecological quality coefficient of the target area is generated based on the influencing factors. The server will obtain regional information with the same score, and determine what the main influencing factors that affect different regional information are, and then determine the correlation between different influencing factors. If the main influencing factors of different regional information are the same, it indicates that the importance of the main influencing factor is high.
[0051] S107, processing the ecological quality coefficient based on preset processing rules to generate ecological quality data of the target area.
[0052] In one embodiment, when the ecological quality coefficient is ≥80, the level of ecological quality is excellent; the ecosystem is stable, has a certain productivity, and the ecological stress is low. When 80>ecological quality coefficient ≥60, the level of ecological quality is good; the ecosystem is relatively stable, the productivity is relatively high, and the degree of ecological threat is relatively low. When 60>ecological quality coefficient ≥40, the level of ecological quality is medium; the ecosystem stability is medium, the productivity is at an average level, and the ecological stress is at a medium level. When 40>ecological quality coefficient ≥20, the level of ecological quality is low; the ecosystem stability is poor, the ecosystem productivity is low, there are obvious ecological stress factors, and desertification has a worsening trend. When the ecological quality coefficient is <20, the level of ecological quality is poor; the ecosystem is seriously degraded and the degree of desertification is serious.
[0053] In this application, the server obtains the training sample set and the land type information of the target area, wherein the training sample set includes the land type information of several evaluated areas, and the target area is the area to be evaluated; the training sample set is preprocessed to generate a training sample set with target feature data; the preset evaluation index model is processed based on the training sample set with target feature data to generate a target evaluation index model; the land type information of the target area is processed based on the target evaluation index model to generate the evaluation weight coefficient and evaluation data of the target area; the evaluation weight coefficient and evaluation data are preprocessed to generate a comprehensive score of the target area; the comprehensive score of the target area is processed based on the ecological quality evaluation model to generate the ecological quality coefficient of the target area; the ecological quality coefficient is processed based on the preset processing rules to generate the ecological quality data of the target area. The target evaluation index model is generated through the training sample set, the evaluation weight factor and evaluation weight coefficient of the target evaluation index model are confirmed, and the information of the area to be evaluated is input into the target evaluation index model, so as to obtain the corresponding evaluation weight coefficient and evaluation data, generate the comprehensive score of the target area, and obtain the influencing factor affecting the target area based on the comprehensive score, and generate the ecological quality data of the target area based on the influencing factor, so as to more accurately evaluate the ecological environment quality of the target area.
[0054] Optionally, in another embodiment of the above method of the present application, extracting multiple data sets from the training set includes:
[0055] Dividing the training set based on target feature data to generate a number of numerical samples;
[0056] Obtain any number of samples in the training set whose number is less than a preset threshold;
[0057] Generate adjacent samples based on the distance between any number of samples of the number class less than the preset threshold and other number class samples of the same category less than the preset threshold, wherein the adjacent samples include a preset number of samples of any number class less than the preset threshold;
[0058] Sampling the adjacent samples to generate a preset number of sampling samples;
[0059] Based on any minority class sample and each sampling sample, multiple groups of data are generated.
[0060] In one implementation, the distance between any number of class samples less than a preset threshold and any other number of class samples of the same category less than the preset threshold can be Euclidean distance or other cosine distance, which is not specifically limited here. All other number of class samples less than the preset threshold can be arranged in order from near to far with any other number of class samples less than the preset threshold, and then the data in the first few positions of the arrangement result are selected as adjacent samples. The purpose of oversampling is to increase the number of minority class samples to achieve a balance between the number of minority class samples and the number of majority class samples in the initial sample set. Here, oversampling can be achieved by a sampling algorithm, which is not specifically limited here. After oversampling, multiple groups of data groups can be determined based on the results obtained by oversampling and combined with the training set. At this time, the number of descriptive data samples corresponding to each attribute category label in the data group is equivalent, and there are no number of class samples less than the preset threshold or a large number of class samples. In this embodiment, the training set is first preliminarily divided, and then the number of class samples less than the preset threshold and the number of other class samples with a large number are merged.
[0061] Optionally, in another embodiment of the method of the present application, the step of sampling the adjacent samples to generate a preset number of sampled samples includes:
[0062] Determining a sampling ratio based on the number of samples of each category in the training set;
[0063] Based on the sampling ratio, determining a sampling ratio;
[0064] The adjacent samples are sampled based on the sampling ratio to generate a preset number of sampling samples.
[0065] In one implementation, first obtain which data groups are included in the training set, confirm how many number class samples are in each data group, and determine the sampling ratio according to the number of number class samples in each data group, and then use the sampling ratio to determine the sampling ratio. The sampling ratio can be set as needed, for example, it can be 50% or other ratios, which are not specifically limited here. Finally, the sampling ratio is used to sample a preset number of adjacent samples to obtain a specified number of sampled samples, and all other number class samples less than the preset threshold can be arranged in order from near to far in terms of the distance from any number class sample less than the preset threshold, and then select the samples with the preset number of rankings in the arrangement result as the neighboring samples, and the preset number can be set according to the actual situation, which is not specifically limited here. Based on any number class sample less than the preset threshold and each sampled sample, a new sample is generated and used as a new data group, so that the balance effect between the data group with less than the preset threshold and other data groups with a larger number can be further improved.
[0066] By applying the above technical solution, the server obtains the land type information of the training sample set and the target area, wherein the training sample set includes the land type information of several evaluated areas, and the target area is the area to be evaluated; the training sample set is subjected to feature extraction to determine the original feature library; a regional factor analysis model is constructed; the training sample set is processed based on the regional factor analysis model to generate feature information of several regions; the regional factor analysis model is processed based on the principal component analysis method to generate the principal component score value of each regional feature type; each feature data set is divided according to the original feature library to generate a training data set and a test data set; the classifier is used to predict each test data set divided from the original feature library to determine the prediction result; the preset algorithm is used to divide each training data set in the original feature library for training to obtain the test set class prediction result; the target feature data is generated according to the prediction result and the test set class prediction result; the training sample set with the target feature data is divided into a training set for training a preset evaluation index model and a test set for testing a preset evaluation index based on a preset ratio.
[0067] Divide the training set based on the target feature data to generate a number of number of class samples; obtain any number of class samples in the training set that are less than a preset threshold; generate adjacent samples based on the distance between any number of class samples that are less than the preset threshold and other number of class samples of the same category that are less than the preset threshold, wherein the adjacent samples include a preset number of any number of class samples that are less than the preset threshold; determine the sampling ratio based on the number of samples of each class in the training set; determine the sampling ratio based on the sampling ratio; sample the adjacent samples based on the sampling ratio to generate a preset number of sampled samples; generate multiple data groups based on any minority class sample and each sampled sample, wherein each data group includes a preset a number of data samples, wherein at least one data sample includes target feature data; based on the data samples in the multiple data groups, a preset evaluation index model is trained to generate a trained evaluation index model; based on the test set, the trained evaluation index model is processed to generate a test result; if the data sample containing the target feature data in the test result is the regional information whose ecological quality data is greater than a preset threshold, the trained evaluation index model is used as the target evaluation index model; based on the target evaluation index model, the land type information of the target area is processed to generate an evaluation weight coefficient and evaluation data of the target area; the evaluation weight coefficient and the evaluation data are preprocessed to generate a comprehensive score for the target area.
[0068] Obtain image information corresponding to the target area; slice the image information to generate multiple local images; process the multiple local images based on the ecological quality assessment model to generate scores corresponding to the multiple local images; process the scores corresponding to the multiple local images to obtain and generate the influencing factors with the largest proportion of the corresponding local image scores; generate the ecological quality coefficient of the target area based on the influencing factors; process the ecological quality coefficient based on the preset processing rules to generate the ecological quality data of the target area. Generate the target evaluation index model through the training sample set, confirm the evaluation weight factor and evaluation weight coefficient of the target evaluation index model, input the information of the area to be evaluated into the target evaluation index model, so as to obtain the corresponding evaluation weight coefficient and evaluation data, generate the comprehensive score of the target area, and obtain the influencing factors affecting the target area based on the comprehensive score, and generate the ecological quality data of the target area based on the influencing factors, so as to more accurately evaluate the ecological environment quality of the target area.
[0069] In one embodiment, if Figure 2 As shown, the present application also provides an ecological environment quality assessment device, comprising:
[0070] The acquisition module 201 is used to acquire the land type information of the training sample set and the target area, wherein the training sample set includes the land type information of several evaluated areas, and the target area is the area to be evaluated;
[0071] Processing module 202 is used to preprocess the training sample set to generate a training sample set with target feature data; process a preset evaluation index model based on the training sample set with target feature data to generate a target evaluation index model; process the land type information of the target area based on the target evaluation index model to generate an evaluation weight coefficient and evaluation data of the target area; preprocess the evaluation weight coefficient and the evaluation data to generate a comprehensive score of the target area; process the comprehensive score of the target area based on the ecological quality assessment model to generate an ecological quality coefficient of the target area; process the ecological quality coefficient based on preset processing rules to generate ecological quality data of the target area.
[0072] In this application, the server obtains the training sample set and the land type information of the target area, wherein the training sample set includes the land type information of several evaluated areas, and the target area is the area to be evaluated; the training sample set is preprocessed to generate a training sample set with target feature data; the preset evaluation index model is processed based on the training sample set with target feature data to generate a target evaluation index model; the land type information of the target area is processed based on the target evaluation index model to generate the evaluation weight coefficient and evaluation data of the target area; the evaluation weight coefficient and evaluation data are preprocessed to generate a comprehensive score of the target area; the comprehensive score of the target area is processed based on the ecological quality evaluation model to generate the ecological quality coefficient of the target area; the ecological quality coefficient is processed based on the preset processing rules to generate the ecological quality data of the target area. The target evaluation index model is generated through the training sample set, the evaluation weight factor and evaluation weight coefficient of the target evaluation index model are confirmed, and the information of the area to be evaluated is input into the target evaluation index model, so as to obtain the corresponding evaluation weight coefficient and evaluation data, generate the comprehensive score of the target area, and obtain the influencing factor affecting the target area based on the comprehensive score, and generate the ecological quality data of the target area based on the influencing factor, so as to more accurately evaluate the ecological environment quality of the target area.
[0073] In another embodiment of the present application, the processing module 202 is configured to pre-process the training sample set to generate a training sample set with target feature data, including:
[0074] Extracting features from the training sample set to determine an original feature library;
[0075] Divide each feature data set according to the original feature library to generate a training data set and a test data set;
[0076] Use the classifier to divide the original feature library into various test data sets for prediction and determine the prediction results;
[0077] Use the preset algorithm to divide each training data set in the original feature library for training, and obtain the prediction results of the test set class;
[0078] Generate target feature data based on the prediction results and the test set class prediction results.
[0079] In another embodiment of the present application, the processing module 202 is configured to extract features from the training sample set, including:
[0080] Constructing regional factor analysis model;
[0081] Processing the training sample set based on the regional factor analysis model to generate characteristic information of several regions;
[0082] The regional factor analysis model is processed based on the principal component analysis method to generate principal component score values of each regional characteristic type.
[0083] In another embodiment of the present application, the processing module 202 is configured to process the comprehensive score of the target area based on the ecological quality assessment model to generate an ecological quality coefficient of the target area, including:
[0084] Obtain image information corresponding to the target area;
[0085] Slicing the image information to generate multiple local images;
[0086] Based on the ecological quality assessment model, multiple local images are processed respectively to generate scores corresponding to the multiple local images respectively;
[0087] Process the scores corresponding to the multiple local images respectively to obtain and generate the influencing factor with the largest proportion of the scores of the corresponding local images;
[0088] An ecological quality coefficient of the target area is generated based on the influencing factors.
[0089] In another embodiment of the present application, the processing module 202 is configured to process the preset evaluation index model based on the training sample set with target feature data to generate a target evaluation index model, including:
[0090] Dividing the training sample set with target feature data into a training set for training the preset evaluation index model and a test set for testing the preset evaluation index based on a preset ratio;
[0091] Extracting a plurality of data groups from the training set, wherein each data group comprises a preset number of data samples, wherein at least one data sample comprises target feature data;
[0092] Training the preset evaluation index model based on the data samples in the plurality of data groups to generate a trained evaluation index model;
[0093] Processing the trained evaluation index model based on the test set to generate a test result;
[0094] If the data sample containing the target characteristic data in the test result is regional information whose ecological quality data is greater than a preset threshold, the trained evaluation index model is used as the target evaluation index model.
[0095] In another embodiment of the present application, the processing module 202 is configured to extract multiple data sets from the training set, including:
[0096] Dividing the training set based on target feature data to generate a number of numerical samples;
[0097] Obtain any number of samples in the training set whose number is less than a preset threshold;
[0098] Generate adjacent samples based on the distance between any number of samples of the number class less than the preset threshold and other number class samples of the same category less than the preset threshold, wherein the adjacent samples include a preset number of samples of any number class less than the preset threshold;
[0099] Sampling the adjacent samples to generate a preset number of sampling samples;
[0100] Based on any minority class sample and each sampling sample, multiple groups of data are generated.
[0101] In another embodiment of the present application, the processing module 202 is configured to sample the adjacent samples to generate a preset number of sample samples, including:
[0102] Determining a sampling ratio based on the number of samples of each category in the training set;
[0103] Based on the sampling ratio, determining a sampling ratio;
[0104] The adjacent samples are sampled based on the sampling ratio to generate a preset number of sampling samples.
[0105] By applying the above technical solution, the server obtains the land type information of the training sample set and the target area, wherein the training sample set includes the land type information of several evaluated areas, and the target area is the area to be evaluated; the training sample set is subjected to feature extraction to determine the original feature library; a regional factor analysis model is constructed; the training sample set is processed based on the regional factor analysis model to generate feature information of several regions; the regional factor analysis model is processed based on the principal component analysis method to generate the principal component score value of each regional feature type; each feature data set is divided according to the original feature library to generate a training data set and a test data set; the classifier is used to predict each test data set divided from the original feature library to determine the prediction result; the preset algorithm is used to divide each training data set in the original feature library for training to obtain the test set class prediction result; the target feature data is generated according to the prediction result and the test set class prediction result; the training sample set with the target feature data is divided into a training set for training a preset evaluation index model and a test set for testing a preset evaluation index based on a preset ratio.
[0106] Divide the training set based on the target feature data to generate a number of number of class samples; obtain any number of class samples in the training set that are less than a preset threshold; generate adjacent samples based on the distance between any number of class samples that are less than the preset threshold and other number of class samples of the same category that are less than the preset threshold, wherein the adjacent samples include a preset number of any number of class samples that are less than the preset threshold; determine the sampling ratio based on the number of samples of each class in the training set; determine the sampling ratio based on the sampling ratio; sample the adjacent samples based on the sampling ratio to generate a preset number of sampled samples; generate multiple data groups based on any minority class sample and each sampled sample, wherein each data group includes a preset a number of data samples, wherein at least one data sample includes target feature data; based on the data samples in the multiple data groups, a preset evaluation index model is trained to generate a trained evaluation index model; based on the test set, the trained evaluation index model is processed to generate a test result; if the data sample containing the target feature data in the test result is the regional information whose ecological quality data is greater than a preset threshold, the trained evaluation index model is used as the target evaluation index model; based on the target evaluation index model, the land type information of the target area is processed to generate an evaluation weight coefficient and evaluation data of the target area; the evaluation weight coefficient and the evaluation data are preprocessed to generate a comprehensive score for the target area.
[0107] Obtain image information corresponding to the target area; slice the image information to generate multiple local images; process the multiple local images based on the ecological quality assessment model to generate scores corresponding to the multiple local images; process the scores corresponding to the multiple local images to obtain and generate the influencing factors with the largest proportion of the corresponding local image scores; generate the ecological quality coefficient of the target area based on the influencing factors; process the ecological quality coefficient based on the preset processing rules to generate the ecological quality data of the target area. Generate the target evaluation index model through the training sample set, confirm the evaluation weight factor and evaluation weight coefficient of the target evaluation index model, input the information of the area to be evaluated into the target evaluation index model, so as to obtain the corresponding evaluation weight coefficient and evaluation data, generate the comprehensive score of the target area, and obtain the influencing factors affecting the target area based on the comprehensive score, and generate the ecological quality data of the target area based on the influencing factors, so as to more accurately evaluate the ecological environment quality of the target area.
[0108] The present application embodiment provides an electronic device, such as Figure 3 As shown, the electronic device 3 includes a first processor 300, a memory 301, a bus 302 and a communication interface 303. The first processor 300, the communication interface 303 and the memory 301 are connected via the bus 302; the memory 301 stores a computer program that can be run on the first processor 300, and when the first processor 300 runs the computer program, it executes the ecological environment quality assessment method provided in any of the aforementioned embodiments of the present application.
[0109] The memory 301 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 303 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.
[0110] The bus 302 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 301 is used to store programs, and the first processor 300 executes the program after receiving an execution instruction. The ecological environment quality assessment method disclosed in any implementation of the embodiment of the present application may be applied to the first processor 300, or implemented by the first processor 300.
[0111] The first processor 300 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the first processor 300. The above-mentioned first processor 300 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a readily available programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be embodied as a hardware decoding processor to execute, or a combination of hardware and software modules in the decoding processor to execute. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 301, and the first processor 300 reads the information in the memory 301 and completes the steps of the above method in combination with its hardware.
[0112] The electronic device provided in the above-mentioned embodiments of the present application and the method for evaluating the ecological environment quality provided in the embodiments of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the application programs stored therein.
[0113] The present application embodiment provides a computer-readable storage medium, such as Figure 4 As shown, the computer-readable storage medium stores 401 a computer program, and when the computer program is read and executed by the second processor 402, the aforementioned method for evaluating ecological environment quality is implemented.
[0114] The technical solution of the embodiment of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling an electronic device (which may be an air conditioner, a refrigeration device, a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the method described in the embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
[0115] The computer-readable storage medium provided in the above-mentioned embodiments of the present application and the method for evaluating ecological environment quality provided in the embodiments of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the application programs stored therein.
[0116] An embodiment of the present application provides a computer program product, including a computer program, wherein the computer program is executed by a third processor to implement the method described above.
[0117] The computer program product provided by the above-mentioned embodiments of the present application and the method for evaluating ecological environment quality provided by the embodiments of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the application programs stored therein.
[0118] It should be noted that, in this application, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or still includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0119] Each embodiment in this application is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the evaluation method, electronic device, electronic device, and readable storage medium for evaluating ecological environment quality, since they are basically similar to the above-mentioned ecological environment quality evaluation method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the above-mentioned ecological environment quality evaluation method embodiment.
[0120] Although the present application is disclosed as above, the present application is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application. Therefore, the protection scope of the present application shall be subject to the scope defined by the claims.
Claims
1. A method for evaluating ecological environment quality, characterized in that: include: Acquire a training sample set and land type information of a target area, wherein the training sample set includes land type information of several evaluated areas, and the target area is an area to be evaluated; Preprocessing the training sample set to generate a training sample set with target feature data; Processing a preset evaluation index model based on the training sample set with target feature data to generate a target evaluation index model; Processing the land type information of the target area based on the target evaluation index model to generate evaluation weight coefficients and evaluation data of the target area; Preprocessing the evaluation weight coefficient and the evaluation data to generate a comprehensive score for the target area; Processing the comprehensive score of the target area based on the ecological quality assessment model to generate an ecological quality coefficient of the target area; The comprehensive score of the target area is processed based on the ecological quality assessment model to generate the ecological quality coefficient of the target area, including: Obtain image information corresponding to the target area; Slicing the image information to generate multiple local images; Based on the ecological quality assessment model, multiple local images are processed respectively to generate scores corresponding to the multiple local images respectively; Process the scores corresponding to the multiple local images respectively to obtain and generate the influencing factor with the largest proportion of the scores of the corresponding local images; generating an ecological quality coefficient of the target area based on the influencing factors; Processing the ecological quality coefficient based on preset processing rules to generate ecological quality data of the target area; The processing of the preset evaluation index model based on the training sample set with target feature data to generate the target evaluation index model includes: Dividing the training sample set with target feature data into a training set for training the preset evaluation index model and a test set for testing the preset evaluation index based on a preset ratio; Extracting a plurality of data groups from the training set, wherein each data group comprises a preset number of data samples, wherein at least one data sample comprises target feature data; Training the preset evaluation index model based on the data samples in the plurality of data groups to generate a trained evaluation index model; Processing the trained evaluation index model based on the test set to generate a test result; If the data sample containing the target characteristic data in the test result is the regional information whose ecological quality data is greater than the preset threshold, the trained evaluation index model is used as the target evaluation index model; The step of extracting multiple data sets from the training set comprises: Dividing the training set based on target feature data to generate a number of numerical samples; Obtain any number of samples in the training set whose number is less than a preset threshold; Generate adjacent samples based on the distance between any number of samples of the number class less than the preset threshold and other number class samples of the same category less than the preset threshold, wherein the adjacent samples include a preset number of samples of any number class less than the preset threshold; Sampling the adjacent samples to generate a preset number of sampling samples; Based on any minority class sample and each sampling sample, generate multiple groups of data sets; Generates a preset number of sampling samples, including: Determining a sampling ratio based on the number of samples of each category in the training set; Based on the sampling ratio, determining a sampling ratio; The adjacent samples are sampled based on the sampling ratio to generate a preset number of sampling samples.
2. The method according to claim 1, characterized in that The preprocessing of the training sample set to generate a training sample set with target feature data includes: Extracting features from the training sample set to determine an original feature library; Divide each feature data set according to the original feature library to generate a training data set and a test data set; Use the classifier to divide the original feature library into various test data sets for prediction and determine the prediction results; Use the preset algorithm to divide each training data set in the original feature library for training, and obtain the prediction results of the test set class; Generate target feature data based on the prediction results and the test set class prediction results.
3. The method according to claim 2, wherein extracting features from the training sample set comprises: Constructing regional factor analysis model; Processing the training sample set based on the regional factor analysis model to generate characteristic information of several regions; The regional factor analysis model is processed based on the principal component analysis method to generate principal component score values of each regional characteristic type.
4. An ecological environment quality assessment device, characterized in that: The device comprises: An acquisition module, used to acquire land type information of a training sample set and a target area, wherein the training sample set includes land type information of several evaluated areas, and the target area is an area to be evaluated; A processing module is used to preprocess the training sample set to generate a training sample set with target feature data; based on the training sample set with target feature data, a preset evaluation index model is processed to generate a target evaluation index model; based on the target evaluation index model, the land type information of the target area is processed to generate an evaluation weight coefficient and evaluation data of the target area; the evaluation weight coefficient and the evaluation data are preprocessed to generate a comprehensive score of the target area; based on the ecological quality assessment model, the comprehensive score of the target area is processed to generate an ecological quality coefficient of the target area; wherein, the comprehensive score of the target area is processed based on the ecological quality assessment model to generate an ecological quality coefficient of the target area. The coefficient comprises: obtaining image information corresponding to the target area; slicing the image information to generate a plurality of local images; processing the plurality of local images respectively based on the ecological quality assessment model to generate scores corresponding to the plurality of local images respectively; processing the scores corresponding to the plurality of local images respectively to obtain and generate the influencing factors with the largest proportion of the scores of the corresponding local images; generating the ecological quality coefficient of the target area based on the influencing factors; processing the ecological quality coefficient based on preset processing rules to generate ecological quality data of the target area; processing the preset evaluation index model based on the training sample set with target feature data to generate the target evaluation index model comprises: slicing the training sample set with target feature data to generate the target evaluation index model; The sample set is divided into a training set for training the preset evaluation index model and a test set for testing the preset evaluation index based on a preset ratio; a plurality of data groups are extracted from the training set, wherein each data group contains a preset number of data samples, wherein at least one data sample includes target feature data; the preset evaluation index model is trained based on the data samples in the plurality of data groups to generate a trained evaluation index model; the trained evaluation index model is processed based on the test set to generate a test result; if the data sample containing the target feature data in the test result is the regional information whose ecological quality data is greater than a preset threshold, the trained evaluation index model is used as the target evaluation index model; Extracting multiple groups of data from the training set includes: dividing the training set based on target feature data to generate a number of number class samples; obtaining any number of number class samples in the training set that are less than a preset threshold; generating adjacent samples based on the distance between any number of number class samples that are less than the preset threshold and other number class samples of the same category that are less than the preset threshold, wherein the adjacent samples include a preset number of any number class samples that are less than the preset threshold; sampling the adjacent samples to generate a preset number of sampled samples; generating multiple groups of data based on any minority class sample and each sampled sample; generating a preset number of sampled samples includes: determining a sampling ratio based on the number of samples of each number class in the training set;Based on the sampling ratio, determine the sampling ratio; based on the sampling ratio, sample the adjacent samples to generate a preset number of sampling samples. ; 5. An electronic device, characterized in that: include: a first processor; and a memory for storing executable instructions of the first processor; Wherein, the first processor is configured to execute the ecological environment quality assessment method described in any one of claims 1 to 3 by executing the executable instructions.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by the second processor, the method for evaluating the ecological environment quality described in any one of claims 1 to 3 is implemented.
Citation Information
Patent Citations
Evaluation method and an evaluation system for wetland ecological degradation
CN109583695A
Land ecological bearing capacity assessment method based on image analysis and related equipment
CN113610402A
