Construction project cost analysis method and system based on big data analysis

By optimizing the parameters of the DBSCAN algorithm and combining K-means and the elbow method, the influencing factors and importance of construction project cost documents are calculated, which solves the problem of difficult parameter selection of the DBSCAN algorithm in construction project cost analysis and improves the accuracy of clustering results. Accuracy and credibility of cost forecasts.

CN118333666BActive Publication Date: 2024-09-27LIAONING YUNYE INTELLIGENT INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410774413.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-09-27
Estimated Expiration
2044-06-17

AI Technical Summary

Technical Problem

Due to the difficulty in parameter selection in construction project cost analysis, the existing DBSCAN density clustering algorithm has poor clustering results and affects the accuracy of cost analysis.

Method used

By obtaining the information dimension sequence in the construction project cost document, calculate the influence factors and importance, adjust the clustering distance, determine the appropriate neighborhood radius and minimum number of samples, combine K-means and the elbow method to optimize the clustering results, and Build a random forest model for prediction.

Benefits of technology

It improves the accuracy of clustering results and the credibility of cost prediction, ensuring the accuracy of construction project cost analysis and the stability of prediction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118333666B
    Figure CN118333666B
Patent Text Reader

Abstract

The present invention relates to the field of data processing technology, and in particular to a construction project cost analysis method and system based on big data analysis, including: obtaining a plurality of information dimension sequences from a plurality of construction project cost documents, and then obtaining the influencing factors and importance of each information dimension sequence on the construction project cost, thereby performing clustering operations on all construction project cost documents to obtain clustering results, and constructing a random forest model according to the clustering results, all information dimension sequences, and the construction project values ​​in all construction project cost documents, inputting all information dimensions of future construction projects into the random forest model, and outputting the construction project cost prediction value of the future construction project. The present invention obtains the preferred clustering distance between construction project cost documents, calculates the appropriate neighborhood radius and the minimum number of samples, thereby obtaining an accurate clustering result to ensure the accuracy of the subsequent construction project cost prediction value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a construction project cost analysis method and system based on big data analysis. Background Art

[0002] In order to pursue benefits, construction companies will continue to improve the level of project cost management and enhance the economic benefits of construction projects. This has also led to the construction industry's pursuit of sustainable development. In addition, the construction market also requires that in large or complex engineering projects, it is recommended that construction companies have the ability to independently complete the preparation, review and management of engineering costs. However, the number of engineering cost engineers in my country is not enough to meet the market demand, so an automated cost analysis system has more important practical value and strategic significance.

[0003] In the process of construction project cost analysis, it is necessary to perform cluster analysis on the collected data, that is, to classify data representing similar project types or cost characteristics into one category. The currently commonly used algorithm is the DBSCAN density clustering algorithm. The DBSCAN algorithm has strong scalability and is well compatible with large-scale data sets and data with multiple dimensions. In addition, the DBSCAN algorithm can effectively handle outliers. However, due to the strong adaptability of the DBSCAN density clustering algorithm, the selection of the neighborhood radius and the minimum number of samples in the algorithm has a greater impact on the clustering results. When these two parameters are not selected appropriately, the clustering effect will be poor, which may lead to inaccurate results of construction project cost analysis. Summary of the invention

[0004] The present invention provides a construction project cost analysis method and system based on big data analysis to solve existing problems.

[0005] The construction project cost analysis method and system based on big data analysis of the present invention adopts the following technical solutions:

[0006] An embodiment of the present invention provides a construction project cost analysis method based on big data analysis, the method comprising the following steps:

[0007] From a number of construction project cost documents, an information dimension sequence under each dimension is obtained; wherein each construction project cost document corresponds to a data value and a construction project cost value in each information dimension sequence;

[0008] According to the difference between the data values ​​in each information dimension sequence and the difference between the construction project values ​​in all construction project cost files, the influence factor of each information dimension sequence on the construction project cost is obtained;

[0009] According to the differences between all information dimension sequences and the influencing factors of each information dimension sequence on the construction project cost, the importance of each information dimension sequence on the construction project cost is obtained;

[0010] According to the importance of each information dimension sequence to the construction project cost, the initial clustering distance between the construction project cost files is adjusted to obtain the preferred clustering distance between the construction project cost files; according to the preferred clustering distance between the construction project cost files, the neighborhood radius and the minimum number of samples are obtained respectively; according to the neighborhood radius and the minimum number of samples and the preferred clustering distance between the construction project cost files, all the construction project cost files are clustered to obtain the clustering results;

[0011] According to the clustering results, all information dimension sequences and the construction project values ​​in all construction project cost documents, the construction project cost forecast value of future construction projects is predicted.

[0012] Furthermore, the method of obtaining the influence factor of each information dimension sequence on the construction project cost according to the difference between the data values ​​in each information dimension sequence and the difference between the construction project cost values ​​in all construction project cost files includes the following specific steps:

[0013] Each construction project cost document is recorded as a data point;

[0014] Among all information dimension sequences, any one information dimension sequence is recorded as the target sequence, and the other information dimension sequences except the target sequence are recorded as reference sequences;

[0015] Use the elbow method to The reference sequence is operated and the The optimal number of clusters for each reference sequence;

[0016] According to The optimal number of clusters for the reference sequence is calculated using the K-means clustering algorithm. All data values ​​in a reference sequence are clustered to obtain several clusters;

[0017] Among all the reference sequences, one cluster is randomly selected from all the clusters corresponding to each reference sequence to form a cluster combination, and all the clusters corresponding to all the reference sequences are fully permuted and combined to obtain several different cluster combinations;

[0018] When The data values ​​in all reference columns corresponding to the data points are in the When all reference sequences in the cluster combination are in the cluster corresponding to the cluster, the data point, denoted as The mapping data points of cluster combinations;

[0019] Selecting a number of main mapping data points from all mapping data points of each cluster combination;

[0020] According to the difference between the construction project values ​​corresponding to the main mapping data points of each cluster combination and the difference between the data values ​​in the target sequence corresponding to the main mapping data points, the influence factor of the target sequence on the construction project cost is obtained.

[0021] Furthermore, the method of selecting a plurality of main mapping data points from all mapping data points of each cluster combination includes the following specific steps:

[0022] Use the first-order derivative method to derive the target column and obtain several extreme values ​​in the target column;

[0023] Among the data values ​​in the target sequence corresponding to all the mapping data points of each cluster combination, the mapping data points corresponding to the extreme data values ​​are recorded as the main mapping data points.

[0024] Furthermore, the influencing factor of the target sequence on the construction project cost includes the following specific calculation formula:

[0025]

[0026] in, is the influencing factor of the target sequence on the construction project cost, is the number of cluster combinations, For the The number of all main mapping data points of cluster combinations, For the The first cluster combination and The difference in construction project value corresponding to the main mapping data points, For the The first cluster combination and The difference between the data values ​​in the target sequence corresponding to the main mapping data points, is the absolute value function.

[0027] Furthermore, the importance of each information dimension sequence to the construction project cost is obtained according to the differences between all information dimension sequences and the influence factor of each information dimension sequence on the construction project cost, and the specific steps include the following:

[0028] Each construction project cost document is recorded as a data point;

[0029] Among all information dimension sequences, any one information dimension sequence is recorded as the target sequence, and the other information dimension sequences except the target sequence are recorded as reference sequences;

[0030] The horizontal axis is the data value of the target sequence corresponding to the data point, and the horizontal axis is the data value of the target sequence corresponding to the data point. The data value of the reference sequence is the vertical axis, and the construction project value corresponding to the data point is the vertical axis. The three-dimensional data space of the reference sequence;

[0031] In the three-dimensional data space of the target sequence and each reference sequence, all data points with the same abscissa value form a two-dimensional data space;

[0032] According to the influencing factor of each information dimension sequence on the construction project cost and the number of data points in the two-dimensional data space divided by the three-dimensional data space of the target sequence and each reference sequence, the importance of the target sequence to the construction project cost is obtained.

[0033] Furthermore, the importance of the target sequence to the construction project cost includes the following specific calculation formula:

[0034]

[0035] in, is the importance of the target sequence to the construction project cost, is the number of three-dimensional data spaces of the target sequence and all reference sequences, For the The factors affecting the construction cost of the reference sequence are: The target sequence and The number of two-dimensional data spaces divided by the three-dimensional data space of the reference sequence, The target sequence and The first division of the three-dimensional data space of the reference sequence The number of data points in the two-dimensional data space, The target sequence and The number of data points in the three-dimensional data space of the reference sequence, The target sequence and The first division of the three-dimensional data space of the reference sequence The first The construction value corresponding to each data point is The target sequence and The first division of the three-dimensional data space of the reference sequence The mean value of the construction project value corresponding to all data points in a two-dimensional data space.

[0036] Furthermore, the initial clustering distance between the construction project cost files is adjusted according to the importance of each information dimension sequence to the construction project cost to obtain the preferred clustering distance between the construction project cost files, and the specific steps included are as follows:

[0037] Each construction project cost document is recorded as a data point;

[0038] With the data value of each information dimension sequence corresponding to the data point as the vertical axis and the construction project value corresponding to the data point as the horizontal axis, a plane coordinate system for each information dimension sequence corresponding to all data points is constructed;

[0039] According to the importance of each information dimension sequence to the construction project cost and the initial clustering distance of any two data points on the plane coordinate system of each information dimension sequence, the clustering distance between any two data points is obtained.

[0040] Furthermore, the cluster distance between any two data points includes the following specific calculation formula:

[0041]

[0042] in, For the and The preferred clustering distance of data points, For the The importance of the information dimension sequence to the construction project cost, is the number of information dimension sequences, For the The plane coordinate system of the information dimension sequence and The initial clustering distance of each data point.

[0043] Furthermore, the neighborhood radius and the minimum number of samples are obtained according to the preferred clustering distance between the construction project cost documents, and the specific steps include the following:

[0044] Each construction project cost document is recorded as a data point;

[0045] The mean of the preferred clustering distances between any two data points is recorded as the neighborhood radius;

[0046] Will be with The preferred clustering distance of a data point is smaller than that of all other data points in the neighborhood radius, denoted as Neighborhood data points of data points;

[0047] Count the number of neighborhood data points of each data point, and round up the mean of the number of neighborhood data points of all data points to an integer, which is recorded as the minimum sample number.

[0048] The present invention also proposes a construction project cost analysis system based on big data analysis, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program stored in the memory to implement the steps of the aforementioned construction project cost analysis method based on big data analysis.

[0049] The beneficial effects of the technical solution of the present invention are:

[0050] In the embodiment of the present invention, several information dimension sequences are obtained from several construction project cost documents, and then the influencing factors and importance of each information dimension sequence on the construction project cost are obtained, so that all construction project cost documents are clustered to obtain clustering results, thereby obtaining accurate and reliable influencing factors and importance through data analysis of multiple information dimensions, thereby ensuring the accuracy of obtaining the preferred clustering distance between construction project cost documents, and the applicability of the neighborhood radius and the minimum number of samples obtained, so as to improve the accuracy of the clustering results. According to the clustering results, all information dimension sequences and the construction project cost values ​​in all construction project cost documents, a random forest model is constructed, and the accurate clustering results make the data representing similar project types or cost characteristics classified into one category, thereby improving the stability and generalization ability of the constructed random forest model, and ensuring the credibility of the construction project cost prediction value. Several information dimensions in a future construction project are obtained, and all information dimensions in the future construction project are input into the random forest model, and the construction project cost prediction value of the future construction project is output. The present invention obtains the optimal clustering distance between construction project cost files, calculates the appropriate neighborhood radius and the minimum number of samples, and thus obtains accurate clustering results to ensure the accuracy of the subsequent construction project cost forecast value. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. 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 paying creative work.

[0052] Figure 1 This is a flowchart of the steps of the construction project cost analysis method based on big data analysis of the present invention;

[0053] Figure 2This is a flowchart for obtaining the predicted value of the construction project cost of the future construction project in this embodiment. DETAILED DESCRIPTION

[0054] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the construction project cost analysis method and system based on big data analysis proposed by the present invention, its specific implementation method, structure, features and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0055] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0056] The specific scheme of the construction project cost analysis method and system based on big data analysis provided by the present invention is described in detail below with reference to the accompanying drawings.

[0057] See also Figure 1 , which shows a flowchart of a construction project cost analysis method based on big data analysis provided by an embodiment of the present invention, the method comprising the following steps:

[0058] Step S001: Obtain an information dimension sequence under each dimension from a number of construction project cost documents; wherein each construction project cost document corresponds to a data value and a construction project cost value in each information dimension sequence.

[0059] Since there are too many factors that affect the construction cost when establishing the construction project cost model, it is difficult to determine the neighborhood radius and the minimum number of samples of the DBSCAN density clustering algorithm. When clustering data points, directly using the Euclidean distance to calculate the distance between data points will ignore factors that have a greater or lesser impact on the cost, resulting in inaccurate estimates when this model is used for cost estimation. Therefore, this embodiment ensures the credibility of the distance between data points by adaptively adjusting the distance between data points, thereby calculating the neighborhood radius and the minimum number of samples based on the adaptive distance to ensure the accuracy of clustering.

[0060] Among them, the DBSCAN density clustering algorithm (Density-Based Spatial Clustering of Applications with Noise) is a well-known technology, and the specific method is not introduced here.

[0061] From several construction project cost documents, the information dimension sequence under each dimension is obtained to obtain several information dimension sequences and a construction project value in each construction project cost document, wherein each construction project cost document corresponds to a data value in each information dimension sequence. Each construction project cost document is recorded as a data point.

[0062] It should be noted that the information dimensions in this embodiment include project location, project scale, project duration, project equipment cost, material selection, bill of quantities and construction method, which are described as an example. For example: the information dimension sequence corresponding to the project location is a sequence of project locations in all construction project cost files, and the sequence is sorted according to the creation time of the construction project cost files. And the text data in the construction project cost files is converted into numerical features through natural language processing (NLP) technology, where natural language processing (NLP) technology is a well-known technology and the specific method is not introduced here. Therefore, each information dimension sequence is a numerical sequence.

[0063] Step S002: According to the differences between the data values ​​in each information dimension sequence and the differences between the construction project costs in all construction project cost files, the influence factor of each information dimension sequence on the construction project cost is obtained.

[0064] When other information dimensions are similar, the smaller the change of a single information dimension, the greater the change in the project cost, indicating that the information dimension has a greater impact on the project cost. However, all information dimensions may affect each other, so it is necessary to examine the impact of a single dimension on the project cost without the influence of other dimensions. Therefore, the information dimensions are combined in pairs. When one information dimension remains unchanged, the greater the fluctuation of the project cost on the other information dimension, and the denser the data distribution on this information dimension, the higher the credibility of the information dimension. After excluding the influence of the unchanged information dimension on the information dimension, the importance of the information dimension to the project cost can be determined. The weighted distance between data points can be calculated based on the importance.

[0065] Preferably, in one embodiment of the present invention, a method for obtaining a plurality of mapping data points of each cluster combination includes:

[0066] Among all information dimension sequences, any one information dimension sequence is recorded as a target sequence, and other information dimension sequences except the target sequence are recorded as reference sequences.

[0067] First For example, the elbow method is used to The reference sequence is operated and the The optimal number of clusters for the reference sequence. The optimal number of clusters for the reference sequence is calculated using the K-means clustering algorithm. All data values ​​in a reference sequence are clustered to obtain several clusters. The elbow method and K-means clustering algorithm are both well-known technologies, and the specific methods are not introduced here.

[0068] According to the above method, several clusters corresponding to each reference sequence are obtained.

[0069] Among all the reference sequences, one cluster is randomly selected from all the clusters corresponding to each reference sequence to form a cluster combination, and all the clusters corresponding to all the reference sequences are fully permuted and combined to obtain several different cluster combinations.

[0070] First data points and As an example, in the Among the data values ​​in all reference columns corresponding to the data points, Traverse one by one, when the The data point corresponding to The data value in the reference column is in The first When the cluster corresponding to the reference sequence is data point, denoted as The mapping data points of cluster combinations. is the number of reference sequences. That is, when The data values ​​in all reference columns corresponding to the data points are in the When all reference sequences in the cluster combination are in the cluster corresponding to the cluster, the data point, denoted as The mapping data points of the cluster combination.

[0071] According to the above method, several mapping data points of each cluster combination are obtained.

[0072] It should be noted that full permutation and combination is a well-known technology. An example of obtaining cluster combinations and mapping data points of cluster combinations is that if the reference sequence A is divided into cluster A1, cluster A2 and cluster A3, the reference sequence B is divided into cluster B1 and cluster B2, and the reference sequence C is divided into cluster C1 and cluster C2, then after full permutation and combination of all clusters corresponding to the reference sequences A, B and C, all the cluster combinations obtained are {A1, B1, C1}, {A1, B1, C2}, {A1, B2, C1}, {A1, B2, C2}, {A2, B1, C1}, {A2, B1, C2}, {A2, B2, C1}, {A2, B2, C2}, {A3, B1, C1}, {A3, B1, C2}, {A3, B2, C1} and {A3, B2, C2}, totaling 12 cluster combinations. When the data in reference sequence A corresponding to any data point is in cluster A1, the data in reference sequence B is in cluster B1, and the data in reference sequence C is in cluster C1, the data point is the mapping data point of the cluster combination {A1, B1, C1}.

[0073] Preferably, in one embodiment of the present invention, the method for obtaining the influencing factor of each information dimension sequence on the construction project cost includes:

[0074] The target sequence is derived using the first-order derivative method to obtain several extreme values ​​in the target sequence. The first-order derivative method is a well-known technique, and the specific method is not introduced here.

[0075] Among the data values ​​in the target sequence corresponding to all the mapping data points of each cluster combination, the mapping data points corresponding to the extreme data values ​​are recorded as the main mapping data points.

[0076] It should be noted that when the main mapping data points of a cluster combination are less than 2, the cluster combination is not used in the calculation of the impact factor. When the information of other dimensions is similar, as the data in the target sequence changes, the greater the fluctuation of the project cost, the greater the impact of the target sequence on the project cost.

[0077] Therefore, the calculation formula for the impact factor of the target sequence on the construction project cost is:

[0078]

[0079] in, is the influencing factor of the target sequence on the construction project cost, is the number of cluster combinations, For the The number of all main mapping data points of cluster combinations, For the The first cluster combination and The difference in construction project value corresponding to the main mapping data points, For the The first cluster combination and The difference between the data values ​​in the target sequence corresponding to the main mapping data points, is the absolute value function.

[0080] What needs to be explained is: Indicates The influence degree of the mapping data points of the cluster combination on the construction project cost in the target sequence, the greater the influence degree, the The more the mapping data points of the cluster combination in the target sequence change, the more drastic the change in the construction project cost will be. The data points corresponding to the data values ​​of all reference sequences corresponding to the cluster combination have a greater impact on the project cost in the target sequence. It represents the influence of the mapping data points of all cluster combinations on the construction project cost in the target sequence, that is, The larger the value is, the greater the influence of the corresponding mapping data points on the construction cost in the target sequence is. Therefore, the target sequence itself has an influence factor on the construction cost. The larger it is, the more important the target sequence is.

[0081] According to the above method, the influencing factor of each information dimension sequence on the construction project cost is obtained.

[0082] Step S003: According to the differences between all information dimension sequences and the influencing factors of each information dimension sequence on the construction project cost, the importance of each information dimension sequence to the construction project cost is obtained.

[0083] Since information dimensions such as project scale, construction method, material selection, project location and construction cost influence each other, changes in one dimension will affect changes in other dimensions, that is, each information dimension is not an independent variable. Therefore, it is difficult to accurately complete the cost forecast of construction projects based on the impact of a single dimension on the project quotation. Therefore, it is necessary to further determine the importance of each information dimension to the project cost based on the differences in the distribution of data points in the data space formed by the combination of the two information dimensions.

[0084] Preferably, in one embodiment of the present invention, a method for obtaining the importance of each information dimension sequence to the construction project cost includes:

[0085] The target sequence and For example, the data value of the target sequence corresponding to the data point is taken as the horizontal axis, and the data value of the target sequence corresponding to the data point is taken as the horizontal axis. The data value of the reference sequence is the vertical axis, and the construction project value corresponding to the data point is the vertical axis. The three-dimensional data space of a reference sequence.

[0086] According to the above method, a three-dimensional data space of the target sequence and each reference sequence is obtained, that is, the three-dimensional data space of the target sequence and each reference sequence only replaces the data value of each reference sequence corresponding to the vertical axis.

[0087] In the three-dimensional data space of the target sequence and each reference sequence, all data points with the same horizontal coordinate value constitute a two-dimensional data space, thereby dividing the three-dimensional data space into several two-dimensional data spaces.

[0088] According to the distribution difference between the same data point and nearby data points in several two-dimensional data spaces and the change rate of each information dimension, the importance of each information dimension to the project cost is determined. Under the influence of other information dimensions, the denser the distribution of data points, the more important the impact of this information dimension on the project cost, and the greater the fluctuation of data points, the greater the impact on the project cost.

[0089] Therefore, the calculation formula for the importance of the target sequence to the construction project cost is:

[0090]

[0091] in, is the importance of the target sequence to the construction project cost, is the number of three-dimensional data spaces of the target sequence and all reference sequences, For the The factors affecting the construction cost of the reference sequence are: The target sequence and The number of two-dimensional data spaces divided by the three-dimensional data space of the reference sequence, The target sequence and The first division of the three-dimensional data space of the reference sequence The number of data points in the two-dimensional data space, The target sequence and The number of data points in the three-dimensional data space of the reference sequence, The target sequence and The first division of the three-dimensional data space of the reference sequence The first The construction value corresponding to each data point is The target sequence and The first division of the three-dimensional data space of the reference sequence The mean value of the construction project value corresponding to all data points in a two-dimensional data space.

[0092] What needs to be explained is: Indicates the target sequence and The first division of the three-dimensional data space of the reference sequence The fluctuation range of the construction project value corresponding to the data points in the two-dimensional data space. The larger the fluctuation range, the greater the impact of the information dimension represented by the target sequence on the project cost and the higher its importance. Indicates the target sequence and The first division of the three-dimensional data space of the reference sequence The degree of aggregation of data points in a two-dimensional data space. The higher the degree of aggregation, the greater the credibility of the two-dimensional data space. This is used as the weight. Indicates the target sequence and The weighted average of the fluctuation range of the construction project value corresponding to the data points in all the two-dimensional data spaces divided by the three-dimensional data space of the first reference sequence is used to avoid the impact of individual abnormal data on the construction cost. In the three-dimensional data space of a reference sequence, when The smaller it is, the more important the information dimension corresponding to the target sequence in the three-dimensional data space is. Indicates the target sequence and The importance of the target sequence in the three-dimensional data space of the reference sequences is averaged, and the importance of the target sequence in the three-dimensional data space of the target sequence and all reference sequences is obtained to obtain the importance of the target sequence to the construction project cost. , The larger it is, the more important the target sequence is to the construction project cost.

[0093] According to the above method, the importance of each information dimension sequence to the construction project cost is obtained.

[0094] Step S004: According to the importance of each information dimension sequence to the construction project cost, the initial clustering distance between the construction project cost files is adjusted to obtain the preferred clustering distance between the construction project cost files; according to the preferred clustering distance between the construction project cost files, the neighborhood radius and the minimum number of samples are obtained respectively; according to the neighborhood radius and the minimum number of samples and the preferred clustering distance between the construction project cost files, all the construction project cost files are clustered to obtain the clustering results.

[0095] Preferably, in one embodiment of the present invention, a method for obtaining the cluster distance between any two data points includes:

[0096] With the data value of each information dimension sequence corresponding to the data point as the vertical axis and the construction project value corresponding to the data point as the horizontal axis, a plane coordinate system for each information dimension sequence corresponding to all data points is constructed.

[0097] Taking two data points as an example, according to the importance of each information dimension sequence to the construction project cost, the cluster distance between any two data points is obtained, and the corresponding calculation formula is:

[0098]

[0099] in, For the and The preferred clustering distance of data points, For the The importance of the information dimension sequence to the construction project cost, is the number of information dimension sequences, For the The plane coordinate system of the information dimension sequence and The initial clustering distance of each data point.

[0100] It should be noted that the initial clustering distance between data points during the clustering operation is generally the Euclidean distance, Manhattan distance, Chebyshev distance or Minkowski distance between data points. This is a well-known technology. In this embodiment, the Euclidean distance between data points on the plane coordinate system is used as the initial clustering distance. In this embodiment, the importance of each information dimension sequence to the construction project cost is used as the weight, and the distance between data points on the plane coordinate system of the information dimension sequence is weighted. The greater the importance, the more important the information dimension sequence is, that is, the more credible the distance between data points on the plane coordinate system of the information dimension sequence is, and a larger weight should be given, thereby obtaining the first and The preferred clustering distance of data points .

[0101] According to the above method, the optimal clustering distance between any two data points is obtained.

[0102] Preferably, in one embodiment of the present invention, the method for obtaining clustering results includes:

[0103] The mean of the preferred clustering distances between any two data points is recorded as the neighborhood radius.

[0104] First For example, the data point The preferred clustering distance of a data point is smaller than that of all other data points in the neighborhood radius, denoted as The neighborhood data points of a data point.

[0105] According to the above method, several neighborhood data points of each data point are obtained.

[0106] Count the number of neighborhood data points of each data point, and round up the mean of the number of neighborhood data points of all data points to an integer, which is recorded as the minimum sample number.

[0107] It should be noted that: this embodiment analyzes the impact of a single dimension on the project cost, combines the impact of multiple dimensions on the project cost, and determines the importance of each information dimension to the project cost, which is used to calculate the preferred clustering distance between data points. Based on the preferred clustering distance, the neighborhood radius and the minimum number of samples are calculated to ensure that the values ​​of the neighborhood radius and the minimum number of samples are applicable to the clustering operation of all data points in this embodiment.

[0108] According to the neighborhood radius, the minimum number of samples, and the preferred clustering distance between any two data points, use Density clustering algorithm performs clustering operations on all data points to obtain clustering results.

[0109] Step S005: predict the construction cost forecast value of future construction projects based on the clustering results, all information dimension sequences and the construction project values ​​in all construction project cost files.

[0110] Preferably, in one embodiment of the present invention, a method for obtaining a predicted value of a construction project cost of a future construction project includes:

[0111] A random forest model is constructed based on the clustering results of all data points, all information dimension sequences, and the construction project values ​​in all construction project cost documents.

[0112] Obtain several information dimensions of a future construction project, input all the information dimensions of the future construction project into the random forest model, and output the predicted value of the construction cost of the future construction project. The process of obtaining the predicted value of the construction cost of the future construction project is as follows: Figure 2 shown.

[0113] What needs to be explained is that several information dimensions of future construction projects are the same as the information dimensions in the construction project cost file in this embodiment. The construction of the random forest model is a well-known technology, and the specific method will not be introduced here. Among them, by accurately clustering the data points, the data representing similar project types or cost characteristics can be classified into one category, so that the sample distribution within each cluster is relatively balanced, reducing the impact of class imbalance on the training of the random forest model, and improving the stability and generalization ability of the random forest model. And by clustering the data, we can better understand the inherent structure and characteristics of the data, discover the relationship and laws between different categories, and provide a deeper understanding and guidance for the subsequent construction and interpretation of the random forest model. Thereby ensuring the accuracy of the random forest model in predicting the construction project value of future construction projects.

[0114] So far, the present invention is completed.

[0115] In summary, in an embodiment of the present invention, several information dimension sequences are obtained from several construction project cost documents, and then the influencing factors and importance of each information dimension sequence on the construction project cost are obtained, so as to perform clustering operations on all construction project cost documents to obtain clustering results, and a random forest model is constructed according to the clustering results, all information dimension sequences, and the construction project cost values ​​in all construction project cost documents to obtain several information dimensions in a future construction project, and all information dimensions in the future construction project are input into the random forest model, and the construction project cost prediction value of the future construction project is output. The present invention obtains the preferred clustering distance between construction project cost documents, calculates the appropriate neighborhood radius and the minimum number of samples, and thus obtains accurate clustering results to ensure the accuracy of the subsequent construction project cost prediction value.

[0116] The present invention also provides a construction project cost analysis system based on big data analysis, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program stored in the memory to implement the steps of the aforementioned construction project cost analysis method based on big data analysis.

[0117] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.

Claims

1. Construction project cost analysis method based on big data analysis, It is characterized in that The method comprises the following steps: From a number of construction project cost documents, an information dimension sequence under each dimension is obtained; wherein each construction project cost document corresponds to a data value and a construction project cost value in each information dimension sequence; the information dimensions include project location, project scale, project duration, project equipment cost, material selection, bill of quantities, and construction method; According to the difference between the data values ​​in each information dimension sequence and the difference between the construction project values ​​in all construction project cost files, the influence factor of each information dimension sequence on the construction project cost is obtained; According to the differences between all information dimension sequences and the influencing factors of each information dimension sequence on the construction project cost, the importance of each information dimension sequence on the construction project cost is obtained; According to the importance of each information dimension sequence to the construction project cost, the initial clustering distance between the construction project cost files is adjusted to obtain the preferred clustering distance between the construction project cost files; the initial clustering distance is the Euclidean distance; according to the preferred clustering distance between the construction project cost files, the neighborhood radius and the minimum number of samples are obtained respectively; according to the neighborhood radius and the minimum number of samples and the preferred clustering distance between the construction project cost files, the neighborhood radius and the minimum number of samples are obtained respectively. The density clustering algorithm performs clustering operations on all construction project cost documents to obtain clustering results; According to the clustering results, all information dimension sequences and the construction project values ​​in all construction project cost documents, a random forest model is constructed, and the construction project cost forecast value of the future construction project is predicted using the random forest model; The specific steps of obtaining the influence factor of each information dimension sequence on the construction project cost according to the difference between the data values ​​in each information dimension sequence and the difference between the construction project cost values ​​in all construction project cost files are as follows: Each construction project cost document is recorded as a data point; Among all information dimension sequences, any one information dimension sequence is recorded as the target sequence, and the other information dimension sequences except the target sequence are recorded as reference sequences; Use the elbow method to The reference sequence is operated and the The optimal number of clusters for each reference sequence; According to The optimal number of clusters for the reference sequence is calculated using the K-means clustering algorithm. All data values ​​in a reference sequence are clustered to obtain several clusters; Among all the reference sequences, one cluster is randomly selected from all the clusters corresponding to each reference sequence to form a cluster combination, and all the clusters corresponding to all the reference sequences are fully permuted and combined to obtain several different cluster combinations; When The data values ​​in all reference columns corresponding to the data points are in the When all reference sequences in the cluster combination are in the cluster corresponding to the cluster, the data point, denoted as The mapping data points of cluster combinations; Selecting a number of main mapping data points from all mapping data points of each cluster combination; According to the difference between the construction project values ​​corresponding to the main mapping data points of each cluster combination and the difference between the data values ​​in the target sequence corresponding to the main mapping data points, the influence factor of the target sequence on the construction project cost is obtained; The specific steps of selecting a plurality of main mapping data points from all mapping data points of each cluster combination are as follows: Use the first-order derivative method to derive the target column and obtain several extreme values ​​in the target column; Among the data values ​​in the target sequence corresponding to all the mapping data points of each cluster combination, the mapping data point corresponding to the data value with the extreme value is recorded as the main mapping data point; The importance of each information dimension sequence to the construction project cost is obtained according to the differences between all information dimension sequences and the influence factor of each information dimension sequence on the construction project cost, and the specific steps include the following: The horizontal axis is the data value of the target sequence corresponding to the data point, and the horizontal axis is the data value of the target sequence corresponding to the data point. The data value of the reference sequence is the vertical axis, and the construction project value corresponding to the data point is the vertical axis. The three-dimensional data space of the reference sequence; In the three-dimensional data space of the target sequence and each reference sequence, all data points with the same abscissa value form a two-dimensional data space; According to the influencing factor of each information dimension sequence on the construction project cost and the number of data points in the two-dimensional data space divided by the three-dimensional data space of the target sequence and each reference sequence, the importance of the target sequence to the construction project cost is obtained; The method of adjusting the initial clustering distance between the construction engineering cost files according to the importance of each information dimension sequence to the construction engineering cost to obtain the optimal clustering distance between the construction engineering cost files includes the following specific steps: With the data value of each information dimension sequence corresponding to the data point as the vertical axis and the construction project value corresponding to the data point as the horizontal axis, a plane coordinate system for each information dimension sequence corresponding to all data points is constructed; According to the importance of each information dimension sequence to the construction project cost and the initial clustering distance of any two data points on the plane coordinate system of each information dimension sequence, the clustering distance between any two data points is obtained; The cluster distance between any two data points includes the following specific calculation formula: in, For the and The preferred clustering distance of data points, For the The importance of the information dimension sequence to the construction project cost, is the number of information dimension sequences, For the The plane coordinate system of the information dimension sequence and The initial clustering distance of data points; The specific steps of obtaining the neighborhood radius and the minimum number of samples according to the preferred clustering distance between the construction project cost documents are as follows: The mean of the preferred clustering distances between any two data points is recorded as the neighborhood radius; Will be with The preferred clustering distance of a data point is smaller than that of all other data points in the neighborhood radius, denoted as Neighborhood data points of data points; Count the number of neighborhood data points of each data point, and round up the mean of the number of neighborhood data points of all data points to an integer, which is recorded as the minimum sample number.

2. According to the construction project cost analysis method based on big data analysis according to claim 1, It is characterized in that The influencing factors of the target sequence on the construction project cost include the following specific calculation formulas: in, is the influencing factor of the target sequence on the construction project cost, is the number of cluster combinations, For the The number of all main mapping data points of cluster combinations, For the The first cluster combination and The difference in construction project value corresponding to the main mapping data points, For the The first cluster combination and The difference between the data values ​​in the target sequence corresponding to the main mapping data points, is the absolute value function.

3. According to the construction project cost analysis method based on big data analysis as claimed in claim 1, It is characterized in that The importance of the target sequence to the construction project cost includes the following specific calculation formula: in, is the importance of the target sequence to the construction project cost, is the number of three-dimensional data spaces of the target sequence and all reference sequences, For the The factors affecting the construction cost of the reference sequence are: The target sequence and The number of two-dimensional data spaces divided by the three-dimensional data space of the reference sequence, The target sequence and The first division of the three-dimensional data space of the reference sequence The number of data points in the two-dimensional data space, The target sequence and The number of data points in the three-dimensional data space of the reference sequence, The target sequence and The first division of the three-dimensional data space of the reference sequence The first The construction value corresponding to each data point is The target sequence and The first division of the three-dimensional data space of the reference sequence The mean value of the construction project value corresponding to all data points in a two-dimensional data space.

4. A construction engineering cost analysis system based on big data analysis, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the computer program is executed by a processor, the steps of the construction project cost analysis method based on big data analysis as described in any one of claims 1 to 3 are implemented.