A method for auxiliary acceptance settlement of engineering quantities based on deep learning and data mining
Processing engineering quantity data through deep learning and data mining technology solves the problems of low efficiency and poor accuracy of traditional manual acceptance, and achieves efficient, accurate and real-time monitoring of engineering quantity acceptance and settlement.
Patent Information
- Application Number
- CN202410091321.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-22
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-01-22
AI Technical Summary
Traditional engineering quantity-assisted acceptance settlement relies on manual operations, resulting in low acceptance efficiency, poor accuracy, and prone to omissions and errors.
Methods based on deep learning and data mining are used to process the engineering quantity data through the pre-trained engineering quantity acceptance model, determine the acceptance results, determine the fault attributes based on the fault categories and characteristics, and generate fault prompt information.
It improves the accuracy and efficiency of project quantity acceptance and settlement, reduces costs, and enhances the real-time monitoring and accuracy of abnormal project quantities.
Smart Images

Figure CN117909717B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer processing technology, and in particular to a method, device, equipment and medium for auxiliary acceptance and settlement of engineering quantities based on deep learning and data mining. Background Art
[0002] Project acceptance refers to the process of evaluating the quality and results of project construction according to relevant industry standards after the completion of the project. Auxiliary acceptance and settlement of engineering quantities is an important part of the verification and settlement of engineering quantities in engineering projects.
[0003] Traditional engineering quantity assisted acceptance and settlement mainly relies on manual data verification and prediction. This method not only relies on the work experience of the acceptance user, but also has a large workload. There is a lot of data in the acceptance process, and manual processing is prone to omissions. There are problems such as low acceptance and settlement accuracy, settlement errors or underreporting. Summary of the invention
[0004] The present invention provides a method, device, equipment and medium for auxiliary acceptance and settlement of engineering quantities based on deep learning and data mining, so as to reduce the cost of acceptance and settlement of engineering quantities, improve the accuracy and efficiency of acceptance and settlement of engineering quantities, and achieve the technical effect of improving the real-time and accuracy of abnormal monitoring of engineering quantities.
[0005] According to one aspect of the present invention, a method for auxiliary acceptance and settlement of engineering quantities based on deep learning and data mining is provided, the method comprising:
[0006] Obtain the engineering quantity data to be accepted;
[0007] Processing the engineering quantity data based on a pre-trained engineering quantity acceptance model to obtain at least one acceptance result;
[0008] For each of the acceptance results, based on the current acceptance result, the total number of preset fault categories and fault characteristics, determine the fault attribute corresponding to the current acceptance result; wherein the fault characteristic is at least one;
[0009] Based on each of the fault attributes, a fault result is determined. If the fault result is consistent with a preset fault result, fault prompt information is generated and displayed.
[0010] According to another aspect of the present invention, there is provided a device for auxiliary acceptance and settlement of engineering quantities based on deep learning and data mining, the device comprising:
[0011] A data acquisition module is used to obtain the engineering quantity data to be accepted;
[0012] An acceptance result determination module is used to process the engineering quantity data based on a pre-trained engineering quantity acceptance model to obtain at least one acceptance result;
[0013] A fault attribute determination module, for each of the acceptance results, based on the current acceptance result, the total number of preset fault categories and the fault feature, determines the fault attribute corresponding to the current acceptance result; wherein the fault feature is at least one;
[0014] The fault result determination module is used to determine the fault result based on each of the fault attributes, and if the fault result is consistent with the preset fault result, generate and display fault prompt information.
[0015] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0016] at least one processor; and
[0017] a memory communicatively connected to the at least one processor; wherein,
[0018] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the engineering quantity assisted acceptance and settlement method based on deep learning and data mining described in any embodiment of the present invention.
[0019] According to another aspect of the present invention, a computer-readable storage medium is provided, which stores computer instructions, and the computer instructions are used to enable a processor to implement the engineering quantity assisted acceptance and settlement method based on deep learning and data mining as described in any embodiment of the present invention when executed.
[0020] The technical solution of the embodiment of the present invention processes the engineering quantity data based on the engineering quantity acceptance model obtained by pre-training to obtain at least one acceptance result; determines the fault attribute corresponding to the current acceptance result based on the current acceptance result, the total number of preset fault categories and fault characteristics; wherein, there is at least one fault characteristic; determines the fault result based on each fault attribute, and if the fault result is consistent with the preset fault result, generates and displays fault prompt information, which solves the problem of low acceptance efficiency and poor accuracy caused by manual acceptance of engineering quantity settlement in the prior art, and realizes the processing of engineering quantity data by the engineering quantity acceptance model obtained by pre-training to determine the acceptance result, reduce the cost of engineering quantity acceptance settlement, and improve the real-time, accuracy and efficiency of engineering quantity acceptance settlement. At the same time, by introducing fault categories and fault characteristics, determining the fault attributes of the acceptance result, determining the fault result according to each fault attribute, and improving the real-time and accuracy of abnormal monitoring of engineering quantity.
[0021] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0023] Figure 1 This is a flowchart of a method for auxiliary acceptance and settlement of engineering quantities based on deep learning and data mining provided according to Embodiment 1 of the present invention;
[0024] Figure 2 This is a flowchart of a method for auxiliary acceptance and settlement of engineering quantities based on deep learning and data mining provided according to Embodiment 2 of the present invention;
[0025] Figure 3 This is a schematic diagram of a method for auxiliary acceptance and settlement of engineering quantities provided according to Embodiment 2 of the present invention;
[0026] Figure 4 This is a flowchart of a method for auxiliary acceptance and settlement of engineering quantities based on deep learning and data mining provided according to Embodiment 3 of the present invention;
[0027] Figure 5 1 is a schematic diagram of the structure of a device for auxiliary acceptance and settlement of engineering quantities based on deep learning and data mining according to a fourth embodiment of the present invention;
[0028] Figure 6 It is a structural schematic diagram of an electronic device for implementing the engineering quantity auxiliary acceptance settlement method based on deep learning and data mining according to an embodiment of the present invention. DETAILED DESCRIPTION
[0029] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0031] Embodiment 1
[0032] Figure 1 This is a flowchart of a method for auxiliary acceptance and settlement of engineering quantities based on deep learning and data mining according to the first embodiment of the present invention. This embodiment is applicable to the case of acceptance of engineering quantities. The method can be executed by an auxiliary acceptance and settlement device for engineering quantities based on deep learning and data mining. The device can be implemented in the form of hardware and / or software, and the device can be configured in a computing device. Figure 1 As shown, the method includes:
[0033] S110. Obtaining the engineering quantity data to be accepted.
[0034] In this embodiment, the engineering quantity data includes various engineering quantities that need to be measured and calculated during the construction process. For example, the engineering quantity data includes the number of engineering structural parts, structural properties, construction period, material types, process flow, etc. The engineering quantity data may involve earthwork quantity, concrete quantity, steel quantity, brick and tile quantity, etc.
[0035] In order to ensure the quality and accuracy of the data and improve the accuracy of the engineering quantity acceptance results, the engineering quantity data can be preprocessed to remove or repair errors, anomalies, missing or duplicate values in the engineering quantity data to obtain the engineering quantity data to be accepted. Optionally, the engineering quantity data can be preprocessed using an interpolation basis function. For example, the original engineering quantity data set obtained is represented as R = {r1, r2, ..., r n}, n represents the total number of data in the data set. The collected engineering quantity data is preprocessed to remove abnormal data, which can be expressed as:
[0036]
[0037] Among them, l k (t k) represents the interpolation basis function, t represents all the value points in R, i represents the number of all the value points, k represents the number of given value points, t k It is represented by the points corresponding to the removed data. By using the Lagrange calculation formula to interpolate the points corresponding to the removed data, it can be expressed as: in Represented as the corresponding values of corresponding points.
[0038] S120: Process the engineering quantity data based on the pre-trained engineering quantity acceptance model to obtain at least one acceptance result.
[0039] Among them, the project quantity acceptance model is used to predict the results of project quantity acceptance and settlement, which is the acceptance result. For example, the acceptance result can include the cost of materials, labor, equipment, etc., the results of inspection or evaluation of technical specifications, material quality, project quality, construction technology, safety, etc., and the calculation results of project construction area, construction volume, etc.
[0040] In this embodiment, the engineering quantity data can be input into the pre-trained engineering quantity acceptance model, and the engineering quantity data can be accepted and settled to obtain at least one acceptance result. Each acceptance result can be used to reflect the quality of the engineering construction and the construction results, and reflect whether the project meets the design requirements and quality standards.
[0041] For example, the engineering quantity data under the new engineering project can be used as the engineering quantity data to be accepted, and the trained engineering quantity acceptance model can be used to predict the engineering quantity settlement acceptance of the new engineering project to obtain the acceptance result, so as to monitor the implementation of the engineering project in real time according to the predicted acceptance result, so as to assist users in the acceptance work.
[0042] In this embodiment, after processing the engineering quantity data based on the engineering quantity acceptance model obtained by pre-training and obtaining at least one acceptance result, it also includes: detecting and correcting the outliers in the acceptance results through an outlier detection algorithm, repairing possible errors and anomalies, and reducing the impact of outliers on the final acceptance results. It is also possible to generate a data graph based on the corrected acceptance results for visual display and generate a detailed report, so that the acceptance results are easy to visualize and understand, thereby facilitating the reference and decision-making of the process of auxiliary acceptance and settlement of engineering quantities through display information and reports, which helps to ensure the stability and reliability of the quality of engineering projects, improve the success rate of projects, and improve the accuracy and efficiency of acceptance.
[0043] S130. For each acceptance result, based on the current acceptance result, the total number of preset fault categories and fault characteristics, determine the fault attribute corresponding to the current acceptance result.
[0044] Among them, the fault category and fault characteristics can be predefined. The fault category can represent the fault state. For example, the fault category includes cost acceptance abnormality, project quality acceptance abnormality, construction period acceptance abnormality, etc. The fault feature can be a specific error behavior, and the fault feature is at least one. For example, the fault feature can be characteristic data that exceeds a reasonable range, is inconsistent with the business logic, and does not conform to the logical relationship. The fault attribute can be used to characterize the degree of abnormality of the acceptance result. For example, the higher the fault attribute value, the lower the degree of abnormality, and vice versa, the lower the fault attribute value, the higher the degree of abnormality. It should be noted that the method of determining the fault attribute of each acceptance result is the same. Any of the acceptance results can be taken as the current acceptance result to determine the fault attribute of the current acceptance result as an example for introduction.
[0045] In this embodiment, by introducing predefined fault categories and fault features, a linear time series method can be used to perform corresponding fault identification on each acceptance result, evaluate the fault attributes of the acceptance result, and predict and identify potential fault conditions. Specifically, based on the current acceptance result, the total number of preset fault categories, and the fault features, the fault attributes corresponding to the current acceptance result are determined, including: determining a first intermediate value based on each fault feature and the current acceptance result; for each fault feature, based on the current fault feature, the first intermediate value, the current acceptance result, and the total number of fault categories, determining a second intermediate value corresponding to the current fault feature; based on each second intermediate value, determining the fault attribute corresponding to the current acceptance result.
[0046] In practical applications, each fault feature can be summed to obtain a feature to be processed, and then the feature to be processed and the current acceptance result are multiplied to obtain a first intermediate value. Further, the second intermediate value corresponding to each fault feature can be determined, and the second intermediate value corresponding to the current fault feature is determined as an example. The second intermediate value corresponding to the current fault feature is determined according to the current fault feature, the first intermediate value, the current acceptance result, and the total number of fault categories. All second intermediate values are summed to obtain a fault attribute corresponding to the current acceptance result.
[0047] In this embodiment, based on the current fault feature, the first intermediate value, the current acceptance result and the total number of fault categories, a second intermediate value corresponding to the current fault feature is determined, including: based on the current fault feature and the first intermediate value, a third intermediate value is determined; based on the current acceptance result and the total number of fault categories, a fourth intermediate value is determined; based on the third intermediate value and the fourth intermediate value, a second intermediate value corresponding to the current fault feature is determined.
[0048] Specifically, the current fault feature and the first intermediate value are processed as a quotient, and the logarithm of the quotient is used as the third intermediate value. The current acceptance result and the total number of fault categories are processed as a quotient to obtain a fourth intermediate value. The third intermediate value and the fourth intermediate value are processed as a product to obtain a second intermediate value corresponding to the current fault feature; or the third intermediate value and the fourth intermediate value are processed as a product, and the negative of the product value is used as the second intermediate value corresponding to the current fault feature.
[0049] For example, assuming that the jth acceptance result is k j , k j The fault attribute is expressed as g(k j ):
[0050]
[0051] in: f represents the first intermediate value; It is expressed as the third intermediate value; It is represented as the fourth intermediate value, d is the total number of fault categories, m n Represented as the nth fault feature.
[0052] S140: Determine a fault result based on each fault attribute, and if the fault result is consistent with a preset fault result, generate and display fault prompt information.
[0053] Among them, the preset fault result can be abnormal.
[0054] In this embodiment, each fault attribute can be compared with a preset threshold. If the fault attribute is not greater than the preset threshold, the fault result of the acceptance result corresponding to the fault attribute is considered abnormal; if the fault attribute is greater than or equal to the preset threshold, the fault result of the acceptance result corresponding to the fault attribute is considered normal. Alternatively, all fault attributes can be averaged, and the obtained mean is compared with the preset threshold. If the mean is not greater than the preset threshold, the fault result of the acceptance result corresponding to the fault attribute is considered abnormal. In the case where the fault result is consistent with the preset fault result, fault prompt information corresponding to the fault result can be generated for visual display. Exemplarily, when the fault attribute g(k j )≥1, it is considered that there is no problem with the engineering quantity acceptance result. j )<1, the engineering quantity acceptance result is considered abnormal, and the corresponding acceptance result fault is fed back to the visual dashboard for prompting.
[0055] The technical solution of this embodiment processes the engineering quantity data based on the engineering quantity acceptance model obtained by pre-training to obtain at least one acceptance result; determines the fault attribute corresponding to the current acceptance result based on the current acceptance result, the total number of preset fault categories and fault characteristics; wherein, there is at least one fault characteristic; determines the fault result based on each fault attribute, and if the fault result is consistent with the preset fault result, generates and displays fault prompt information, which solves the problem of low acceptance efficiency and poor accuracy caused by manual acceptance of engineering quantity settlement in the prior art, and realizes the processing of engineering quantity data by the engineering quantity acceptance model obtained by pre-training to determine the acceptance result, reduce the cost of engineering quantity acceptance settlement, and improve the real-time, accuracy and efficiency of engineering quantity acceptance settlement. At the same time, by introducing fault categories and fault characteristics, determining the fault attributes of the acceptance result, determining the fault result according to each fault attribute, and improving the real-time and accuracy of abnormal monitoring of engineering quantities.
[0056] Embodiment 2
[0057] Figure 2 This is a flowchart of a method for auxiliary acceptance and settlement of engineering quantities based on deep learning and data mining provided according to the second embodiment of the present invention. On the basis of the above embodiment, a model for acceptance of engineering quantities can also be pre-trained. The specific implementation method can refer to the technical solution of this embodiment. Among them, the technical terms that are the same as or corresponding to the above embodiment are not repeated here.
[0058] like Figure 2 As shown, the method specifically comprises the following steps:
[0059] S210. Obtain historical engineering project data.
[0060] In this embodiment, the engineering quantity acceptance settlement data related to the engineering project can be collected as the historical engineering project data. For example, the historical engineering project data includes engineering quantity data, engineering drawings (such as building structure, equipment configuration, pipeline direction, etc.), construction record information (such as construction area, construction period, material type, process flow, etc.), and acceptance report (such as acceptance time, acceptance standard, acceptance result, etc.).
[0061] S220: Process the historical engineering project data to obtain a plurality of historical engineering quantity data and engineering acceptance results corresponding to each of the historical engineering quantity data.
[0062] Among them, the project acceptance results include the construction area, construction volume, construction quality and construction quantity, etc.
[0063] In this embodiment, the historical project data can be pre-processed, such as cleaning, sorting and standardization, to ensure the accuracy and consistency of the data. For example, the historical project data is first cleaned to remove abnormal data, and then the cleaned data is converted and standardized to classify the project data, and then the features related to the engineering quantity acceptance settlement are extracted from the standardized project data as the historical engineering quantity data. By cleaning, feature selection, feature scaling and other processing of the original historical project data, the dimension and noise of the data can be reduced, thereby improving the calculation speed and efficiency of the model. The engineering acceptance results corresponding to the historical engineering quantity data can be manually marked or extracted from the historical engineering project data. There can be multiple engineering acceptance results corresponding to each historical engineering quantity data.
[0064] In this embodiment, the collected and preprocessed project data can also be imported into Power BI (powerbusiness intelligence, an integrated software of software services, applications and connectors), and the data source sorting work can be completed by using Power query, and then the engineering quantity data can be connected with various information data such as the construction area, construction volume, construction quality and construction quantity through the data modeling function to form a corresponding relationship for engineering quantity measurement. It is also possible to remove columns of information irrelevant to the engineering quantity data in the collected and acquired project data to improve the model calculation speed. It is also possible to perform a calculation unit check on the project acceptance results to avoid inconsistency in the engineering quantity calculation unit information of the collected information, model calculation information and output result information, and improve the accuracy of the data.
[0065] S230: Based on each historical engineering quantity data and the corresponding engineering acceptance results, a plurality of training samples are obtained.
[0066] In this embodiment, a historical engineering quantity data and the corresponding engineering acceptance result can be used as a training sample, and accordingly, a plurality of training samples can be obtained.
[0067] S240: Train the acceptance model to be trained based on multiple training samples to obtain a project quantity acceptance model.
[0068] The model to be trained and accepted may be a deep learning model. For example, the deep learning model may be a multilayer perceptron (MLP), a convolutional neural network (CNN), a recurrent neural network (RNN), a long short-term memory network (LSTM), a generative adversarial network (GAN), a transformer, a capsule network, etc.
[0069] In this embodiment, a deep learning model for processing engineering quantity auxiliary acceptance settlement tasks can be constructed as an acceptance model to be trained. The parameters in the acceptance model to be trained are initialized, and initial values are assigned to these parameters. There are many ways to initialize, such as random initialization, zero initialization, Gaussian initialization, etc. Through parameter initialization, the model can be helped to better learn the characteristics of the data, and it helps to avoid problems such as gradient disappearance or explosion during the training process. Furthermore, the current training sample can be used as the input of the acceptance model to be trained, and the acceptance model to be trained can be trained. According to the training results, the weight parameters corresponding to the training samples are adjusted to obtain the engineering quantity acceptance model, so that the engineering quantity data to be accepted is input into the engineering quantity acceptance model, and the acceptance result corresponding to the engineering quantity data is obtained.
[0070] In order to make those skilled in the art further understand the technical solutions of the embodiments of the present invention, specific application scenario examples are given. Figure 3, all collected project data are first preprocessed, and the measurement units of engineering quantity data are uniformly collected, calculated and output. Before predicting the engineering quantity of a new project, some relevant project data are obtained from the historical project data as input to train the acceptance model to be trained. These input data may include various features and attributes related to the engineering quantity, such as the construction area, construction period, material type, process flow, etc. These data can help the model learn and understand the characteristics of the engineering project, so as to predict the engineering quantity of unknown engineering projects. These engineering project data can be encoded as numerical or text feature representations so as to be input into the neural network of the acceptance model to be trained for training and prediction. The acceptance model to be trained can automatically learn the complex nonlinear relationship between the input features and the engineering quantity. After the training is completed, the engineering quantity acceptance model is obtained. The engineering quantity acceptance model is used to predict the engineering quantity of a new project, and the engineering quantity acceptance results of the project are output. The acceptance results can be visualized to achieve the technical effect of improving the accuracy and efficiency of acceptance while supporting the planning and decision-making of the engineering project.
[0071] Embodiment 3
[0072] Figure 4 This is a flowchart of a method for auxiliary acceptance and settlement of engineering quantities based on deep learning and data mining provided according to Embodiment 3 of the present invention. On the basis of the above-mentioned embodiment, S240 is further refined. The specific implementation method thereof can refer to the technical solution of this embodiment. Among them, the technical terms that are the same as or corresponding to the above-mentioned embodiment are not repeated here.
[0073] like Figure 4 As shown, the method specifically comprises the following steps:
[0074] S310: For each training sample, train the to-be-trained acceptance model based on the current training sample, and determine the training attribute corresponding to the current training sample.
[0075] Among them, the training attributes include training accuracy and training speed. Training accuracy determines the accuracy of model prediction. Training speed can refer to the number of samples processed by the model per second, that is, the total number of training samples divided by the total time required for training. Optionally, the training attributes also include the generalization ability and stability of the model.
[0076] In this embodiment, when training the acceptance model to be trained using training samples, the training speed can be calculated in real time, and the model's prediction results for the training samples can be recorded. The model's prediction results can be compared with the actual engineering acceptance results in the training samples to calculate the training accuracy.
[0077] S320: Determine a sample attribute corresponding to the current training sample based on the training attribute and / or the similarity between each training sample.
[0078] In this embodiment, the sample attributes of the current training sample can be determined by the training attributes corresponding to the current training sample, and the model parameters in the to-be-trained acceptance model can be adjusted by the sample attributes. For example, when the to-be-trained acceptance model processes the engineering quantity data, the training accuracy and training speed are weighed, the model parameters are adjusted, and the model accuracy is improved. For example, if the training accuracy of the sample is high, the weight of the sample in the model training may be increased. Alternatively, a similarity calculation method can be used to calculate the similarity between each training sample according to the sample characteristics of each training sample, and the sample attributes corresponding to each training sample can be determined by the similarity, and the model parameters in the to-be-trained acceptance model can be adjusted by the sample attributes. Optionally, the similarity calculation method can include Euclidean distance, cosine similarity, Pearson correlation coefficient, Jaccard similarity coefficient, etc., and can also be other calculation methods, which are not limited to this. Alternatively, based on the training attributes and the similarity between each training sample, the sample attributes corresponding to the current training sample are comprehensively evaluated.
[0079] In this embodiment, based on the training attributes and / or the similarities between the training samples, the sample attributes corresponding to the current training sample are determined, including: based on the training attributes, determining the first attribute corresponding to the current training sample; based on the similarities between the training samples, determining the second attribute corresponding to the current training sample; based on the first attribute and / or the second attribute, determining the sample attribute corresponding to the current training sample.
[0080] The first attribute can be used to characterize the quality of the training sample, and the second attribute can be used to characterize the stability of the training sample.
[0081] In practical applications, the training attributes can be used to evaluate whether the training sample meets the training conditions, and the first attribute corresponding to the current training sample can be obtained. The stability of the training sample can be evaluated by the similarity between the training samples, and the second attribute corresponding to the current training sample can be obtained. Then, based on the first attribute and / or the second attribute, the sample attribute corresponding to the current training sample is comprehensively evaluated. The technical solution provided in this embodiment adjusts the model parameters and improves the model training quality by characterizing the sample attributes of the training sample quality and the stability of the training sample, thereby improving the accuracy of the model engineering quantity settlement acceptance.
[0082] Optionally, based on the training attributes, determining a first attribute corresponding to the current training sample includes: determining at least one theoretical parameter based on the training attributes; determining a classification optimal solution based on at least one theoretical parameter; and determining the first attribute corresponding to the current training sample based on the classification optimal solution and a preset threshold.
[0083] In this embodiment, a constraint condition may be predefined, and at least one theoretical parameter may be fitted according to the training attribute of the current training sample through the constraint condition. Each theoretical parameter may be processed separately to obtain the maximum value of the processing as the optimal solution for classification. Accordingly, the optimal solution for classification of each training sample is obtained. Exemplarily, the optimal solution for classification of each training sample may be determined according to formula (1), and formula (1) may be:
[0084]
[0085] Among them, β is the optimal solution for the classification of training samples; χ is the parameter of statistical learning theory; st is the constraint condition; u i 、v i are the training accuracy and training speed of the i-th training sample respectively; N is the total number of training samples; U is the training sample set.
[0086] In this embodiment, when the classification optimal solution of the training sample is greater than the preset threshold, the training sample is considered to meet the training conditions; when the classification optimal solution of the training sample is not greater than the preset threshold, the training sample is considered to not meet the training conditions. According to the comparison result of the classification optimal solution and the preset threshold, the first attribute of the training sample is obtained. For example, the greater the classification optimal solution is greater than the preset threshold, the higher the first attribute of the training sample, and the less the classification optimal solution is greater than the preset threshold, the lower the first attribute of the training sample.
[0087] Exemplarily, assuming that the preset threshold is Y, when the training sample meets the conditions, its classification optimal solution β>Y, the training sample is considered qualified, and when the classification optimal solution β<Y, the training sample is considered unqualified.
[0088] Optionally, based on the similarity between each training sample, determining the second attribute corresponding to the current training sample includes: determining the similarity between each training sample; determining at least one cluster based on each similarity; and determining the second attribute of each training sample based on the similarity of at least one training sample within each cluster.
[0089] In this embodiment, the similarity between each training sample is calculated, and the training samples are clustered according to the similarity between each training sample to obtain at least one cluster. Each cluster contains training samples with close similarity.
[0090] Exemplarily, the similarity between each training sample is calculated according to formula (2), which can be:
[0091] Among them, d ij Represents the similarity between the training samples i and j; V ik 、V jkRespectively represent the kth attribute value corresponding to training samples i and j. In this embodiment, the higher the similarity of the training samples within the cluster, the higher the stability of the training samples. The second attribute of each training sample can be determined according to the similarity of at least one training sample in each cluster. For example, within the same cluster, the higher the similarity of the training samples, the higher the second attribute, and the lower the similarity of the training samples, the lower the second attribute.
[0092] S330, adjusting the weight parameters corresponding to the current training sample in the to-be-trained acceptance model based on the sample attributes, and re-executing the operation of training the to-be-trained acceptance model based on the current training sample until the preset iteration stop condition is reached to obtain the engineering quantity acceptance model.
[0093] In this embodiment, the weight parameters corresponding to the current training sample in the to-be-trained acceptance model can be adjusted according to the sample attributes, the model parameters can be updated, and the to-be-trained acceptance model can continue to be trained based on the updated model parameters and the training sample, and can be terminated when it is detected that the preset iteration stop condition is reached, so as to obtain a trained engineering quantity acceptance model. Optionally, the preset iteration stop condition can be that the number of iterations reaches a preset threshold, or the loss function in the to-be-trained acceptance model converges.
[0094] In this embodiment, sample screening can also be performed according to the sample attributes of each training sample, and training samples with low sample attributes can be screened out, and the remaining training samples can be used for model training to improve the quality of training samples, thereby improving the accuracy of model training. Exemplarily, a nonlinear transformation strategy of deep learning is introduced to obtain a mathematical expression formula of the nonlinear transformation output for model training, so as to train a more accurate model and improve the accuracy of prediction and decision-making.
[0095] For example, the mathematical expression formula may be: Among them, U represents the input training sample set, h represents the weight of calculating the training sample, and L represents the bias coefficient.
[0096] In this embodiment, the historical engineering quantity data set can also be divided into multiple columns of data such as construction area, construction volume, construction quality and construction quantity, and small batches of each column of data are trained. The gradient is calculated and the model parameters are updated through the back propagation algorithm, and the performance of the model is optimized using the stochastic gradient descent optimization algorithm.
[0097] The technical solution of this embodiment trains the to-be-trained acceptance model based on the current training sample to determine the training attributes corresponding to the current training sample. Then, based on the training attributes and / or the similarity between the training samples, the sample attributes corresponding to the current training sample are evaluated, and the weight parameters corresponding to the current training sample in the to-be-trained acceptance model are adjusted based on the sample attributes, so as to achieve the technical effect of improving the model training effect and improving the accuracy of the model engineering quantity settlement acceptance.
[0098] Embodiment 4
[0099] Figure 5 1 is a schematic diagram of the structure of a device for assisting acceptance and settlement of engineering quantities based on deep learning and data mining according to Embodiment 4 of the present invention. Figure 5 As shown, the device includes: a data acquisition module 410 , an acceptance result determination module 420 , a fault attribute determination module 430 and a fault result determination module 440 .
[0100] Among them, the data acquisition module 410 is used to acquire the engineering quantity data to be accepted; the acceptance result determination module 420 is used to process the engineering quantity data based on the pre-trained engineering quantity acceptance model to obtain at least one acceptance result; the fault attribute determination module 430 is used to determine the fault attribute corresponding to the current acceptance result for each of the acceptance results based on the current acceptance result, the preset total number of fault categories and the fault characteristics; wherein the fault characteristic is at least one; the fault result determination module 440 is used to determine the fault result based on each of the fault attributes, and if the fault result is consistent with the preset fault result, a fault prompt information is generated and displayed.
[0101] The technical solution of this embodiment processes the engineering quantity data based on the engineering quantity acceptance model obtained by pre-training to obtain at least one acceptance result; determines the fault attribute corresponding to the current acceptance result based on the current acceptance result, the total number of preset fault categories and fault characteristics; wherein, there is at least one fault characteristic; determines the fault result based on each fault attribute, and if the fault result is consistent with the preset fault result, generates and displays fault prompt information, which solves the problem of low acceptance efficiency and poor accuracy caused by manual acceptance of engineering quantity settlement in the prior art, and realizes the processing of engineering quantity data by the engineering quantity acceptance model obtained by pre-training to determine the acceptance result, reduce the cost of engineering quantity acceptance settlement, and improve the real-time, accuracy and efficiency of engineering quantity acceptance settlement. At the same time, by introducing fault categories and fault characteristics, determining the fault attributes of the acceptance result, determining the fault result according to each fault attribute, and improving the real-time and accuracy of abnormal monitoring of engineering quantities.
[0102] On the basis of the above device, optionally, the fault attribute determination module 430 includes a first intermediate value determination unit, a second intermediate value determination unit and a fault attribute determination unit.
[0103] A first intermediate value determining unit, configured to determine a first intermediate value based on each fault feature and a current acceptance result;
[0104] A second intermediate value determining unit, configured to determine, for each of the fault features, a second intermediate value corresponding to the current fault feature based on the current fault feature, the first intermediate value, the current acceptance result, and the total number of fault categories;
[0105] A fault attribute determining unit is used to determine a fault attribute corresponding to the current acceptance result based on each of the second intermediate values.
[0106] On the basis of the above device, optionally, the second intermediate value determining unit includes a third intermediate value determining unit, a fourth intermediate value determining unit and a second intermediate value determining sub-unit.
[0107] a third intermediate value determining unit, configured to determine a third intermediate value based on a current fault feature and the first intermediate value;
[0108] a fourth intermediate value determining unit, configured to determine a fourth intermediate value based on a current acceptance result and the total number of fault categories;
[0109] The second intermediate value determining subunit is used to determine a second intermediate value corresponding to the current fault feature based on the third intermediate value and the fourth intermediate value.
[0110] On the basis of the above device, optionally, the device further comprises: a project quantity acceptance model training module. The project quantity acceptance model training module comprises: a project data acquisition unit, a project acceptance result determination unit, a training sample determination unit, and a model training unit.
[0111] A project data acquisition unit, used to acquire historical engineering project data;
[0112] A project acceptance result determination unit, used for processing the historical project data to obtain a plurality of historical engineering quantity data and a project acceptance result corresponding to each of the historical engineering quantity data;
[0113] A training sample determination unit, configured to obtain a plurality of training samples based on each of the historical engineering quantity data and the corresponding engineering acceptance results;
[0114] The model training unit is used to train the acceptance model to be trained based on the multiple training samples to obtain the engineering quantity acceptance model.
[0115] Based on the above device, optionally, the model training unit includes a training attribute determination unit, a sample attribute determination unit and a model training sub-unit.
[0116] A training attribute determination unit, configured to train the to-be-trained acceptance model for each training sample based on the current training sample, and determine a training attribute corresponding to the current training sample; wherein the training attribute includes training accuracy and training speed;
[0117] A sample attribute determination unit, configured to determine a sample attribute corresponding to the current training sample based on the training attribute and / or the similarity between the training samples;
[0118] The model training subunit is used to adjust the weight parameters corresponding to the current training sample in the acceptance model to be trained based on the sample attributes, and re-execute the operation of training the acceptance model to be trained based on the current training sample until the preset iteration stop condition is reached to obtain the engineering quantity acceptance model.
[0119] Based on the above device, optionally, the sample attribute determination unit includes a first attribute determination unit, a second attribute determination unit and a sample attribute determination sub-unit.
[0120] A first attribute determining unit, configured to determine a first attribute corresponding to the current training sample based on the training attribute;
[0121] A second attribute determining unit, configured to determine a second attribute corresponding to the current training sample based on the similarities between the training samples;
[0122] The sample attribute determination subunit is used to determine the sample attribute corresponding to the current training sample based on the first attribute and / or the second attribute.
[0123] Based on the above device, optionally, the first attribute determination unit includes: a theoretical parameter determination unit, a classification optimal solution determination unit and a first attribute determination subunit.
[0124] a theoretical parameter determination unit, configured to determine at least one theoretical parameter based on the training attribute;
[0125] A classification optimal solution determination unit, configured to determine a classification optimal solution based on the at least one theoretical parameter;
[0126] The first attribute determination subunit is used to determine a first attribute corresponding to the current training sample based on the classification optimal solution and a preset threshold.
[0127] Based on the above device, optionally, the second attribute determination unit includes: a similarity determination unit, a clustering unit and a second attribute determination sub-unit.
[0128] A similarity determination unit, used to determine the similarity between the training samples;
[0129] A clustering unit, configured to determine at least one cluster based on each of the similarities;
[0130] The second attribute determination unit is used to determine the second attribute of each training sample based on the similarity of at least one training sample in each cluster.
[0131] The device for assisted acceptance and settlement of engineering quantities based on deep learning and data mining provided in an embodiment of the present invention can execute the method for assisted acceptance and settlement of engineering quantities based on deep learning and data mining provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0132] Embodiment 5
[0133] Figure 6 It is a structural schematic diagram of an electronic device for implementing the engineering quantity auxiliary acceptance settlement method based on deep learning and data mining of an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0134] like Figure 6 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0135] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0136] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The processor 11 executes the various methods and processes described above, such as the engineering quantity auxiliary acceptance settlement method based on deep learning and data mining.
[0137] In some embodiments, the engineering quantity assisted acceptance and settlement method based on deep learning and data mining can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the engineering quantity assisted acceptance and settlement method based on deep learning and data mining described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the engineering quantity assisted acceptance and settlement method based on deep learning and data mining by any other appropriate means (for example, by means of firmware).
[0138] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0139] The computer program for implementing the method of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable engineering quantity auxiliary acceptance settlement device based on deep learning and data mining, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program can be executed entirely on the machine, partially on the machine, partially on the machine as an independent software package and partially on a remote machine, or entirely on a remote machine or server.
[0140] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0141] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0142] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0143] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0144] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0145] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for auxiliary acceptance and settlement of engineering quantities based on deep learning and data mining, characterized in that: include: Obtain the engineering quantity data to be accepted; Processing the engineering quantity data based on a pre-trained engineering quantity acceptance model to obtain at least one acceptance result; For each of the acceptance results, based on the current acceptance result, the total number of preset fault categories and fault characteristics, determine the fault attribute corresponding to the current acceptance result; wherein the fault characteristic is at least one; Based on each of the fault attributes, a fault result is determined, and if the fault result is consistent with a preset fault result, fault prompt information is generated and displayed; The determining of the fault attribute corresponding to the current acceptance result based on the current acceptance result, the preset total number of fault categories and the fault characteristics includes: Determine a first intermediate value based on each fault characteristic and a current acceptance result; For each of the fault features, determining a second intermediate value corresponding to the current fault feature based on the current fault feature, the first intermediate value, the current acceptance result, and the total number of fault categories; Based on each of the second intermediate values, determining a fault attribute corresponding to the current acceptance result; wherein the fault attribute is used to characterize the abnormality degree of the acceptance result; Wherein, determining the first intermediate value based on each fault feature and the current acceptance result includes: summing each fault feature to obtain a feature to be processed, and multiplying the feature to be processed and the current acceptance result to obtain the first intermediate value; Based on the current fault feature, the first intermediate value, the current acceptance result and the total number of fault categories, a second intermediate value corresponding to the current fault feature is determined, including: performing quotient processing on the current fault feature and the first intermediate value, and obtaining a logarithm of the quotient as a third intermediate value; performing quotient processing on the current acceptance result and the total number of fault categories to obtain a fourth intermediate value; performing product processing on the third intermediate value and the fourth intermediate value to obtain a second intermediate value corresponding to the current fault feature.
2. The method according to claim 1, characterized in that Also includes: The engineering quantity acceptance model is obtained by training; The training obtains a project quantity acceptance model, including: Obtain historical engineering project data; Processing the historical engineering project data to obtain a plurality of historical engineering quantity data and engineering acceptance results corresponding to each of the historical engineering quantity data; Based on the historical engineering quantity data and the corresponding engineering acceptance results, a plurality of training samples are obtained; The acceptance model to be trained is trained based on the multiple training samples to obtain a project quantity acceptance model.
3. The method according to claim 2, characterized in that The training of the to-be-trained acceptance model based on the multiple training samples comprises: For each training sample, training the to-be-trained acceptance model based on the current training sample, and determining a training attribute corresponding to the current training sample; wherein the training attribute includes training accuracy and training speed; Determining a sample attribute corresponding to the current training sample based on the training attribute and / or the similarity between the training samples; Based on the sample attributes, the weight parameters corresponding to the current training sample in the acceptance model to be trained are adjusted, and the operation of training the acceptance model to be trained based on the current training sample is re-executed until a preset iteration stop condition is reached to obtain the engineering quantity acceptance model.
4. The method according to claim 3, characterized in that The determining, based on the training attributes and / or the similarities between the training samples, a sample attribute corresponding to the current training sample comprises: Based on the training attribute, determining a first attribute corresponding to the current training sample; Determining a second attribute corresponding to the current training sample based on the similarities between the training samples; Based on the first attribute and / or the second attribute, a sample attribute corresponding to the current training sample is determined.
5. The method according to claim 4, characterized in that The determining, based on the training attribute, a first attribute corresponding to the current training sample comprises: Based on the training attributes, determining at least one theoretical parameter; Determining a classification optimal solution based on the at least one theoretical parameter; Based on the optimal classification solution and a preset threshold, a first attribute corresponding to the current training sample is determined.
6. The method according to claim 4, characterized in that The determining, based on the similarities between the training samples, a second attribute corresponding to the current training sample comprises: Determining the similarity between each of the training samples; Based on each of the similarities, determining at least one cluster; Based on the similarity of at least one training sample in each of the clusters, a second attribute of each of the training samples is determined.
7. A device for auxiliary acceptance and settlement of engineering quantities based on deep learning and data mining, characterized in that: include: A data acquisition module is used to obtain the engineering quantity data to be accepted; An acceptance result determination module is used to process the engineering quantity data based on a pre-trained engineering quantity acceptance model to obtain at least one acceptance result; A fault attribute determination module, for each of the acceptance results, based on the current acceptance result, the total number of preset fault categories and the fault feature, determines the fault attribute corresponding to the current acceptance result; wherein the fault feature is at least one; A fault result determination module is used to determine a fault result based on each of the fault attributes, and if the fault result is consistent with a preset fault result, generate and display fault prompt information; The fault attribute determination module includes a first intermediate value determination unit, a second intermediate value determination unit and a fault attribute determination unit; wherein, The first intermediate value determining unit is used to determine the first intermediate value based on each fault feature and the current acceptance result; The second intermediate value determining unit is configured to determine, for each of the fault features, a second intermediate value corresponding to the current fault feature based on the current fault feature, the first intermediate value, the current acceptance result, and the total number of fault categories; The fault attribute determination unit is used to determine the fault attribute corresponding to the current acceptance result based on each of the second intermediate values; wherein the fault attribute is used to characterize the abnormality degree of the acceptance result; The first intermediate value determination unit is specifically used to perform sum processing on each fault feature to obtain a feature to be processed, and perform product processing on the feature to be processed and the current acceptance result to obtain a first intermediate value; The second intermediate value determination unit is specifically used to perform quotient processing on the current fault feature and the first intermediate value, and obtain the logarithm of the quotient as the third intermediate value; perform quotient processing on the current acceptance result and the total number of fault categories to obtain a fourth intermediate value; perform product processing on the third intermediate value and the fourth intermediate value to obtain a second intermediate value corresponding to the current fault feature.
8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the engineering quantity assisted acceptance and settlement method based on deep learning and data mining as described in any one of claims 1-6.
Citation Information
Patent Citations
Distribution network electric power project checking and accepting method and system
CN106067101A
State maintenance and fault diagnosis method for power transformation equipment
CN108304931A
An engineering verification analysis method and device
CN109740965A
Diesel generator set fault diagnosis and detection device and method based on deep learning
CN110297178A
Rolling bearing oil throwing fault identification method based on deep learning
CN112364925A
