3.1. Factors Affecting the Project Cost
After extensively reviewing a large number of literature and books related to project cost, it is found that there are mainly 23 factors that affect project cost, as shown below: (1) total building area, (2) ground floor area, (3) underground building area, (4) average floor height, (5) building height, (6) unit price of wood, (7) roof waterproofing grade, (8) number of floors on the ground, (9) base structure, (10) pile foundation category, (11) main structure type, (12) seismic strength, (13) the green coverage, (14) earthwork processing, (15) seismic fortification intensity, (16) interior wall decoration materials, (17) exterior wall decoration materials, (18) concrete price, (19) installation level of water supply and drainage equipment, (20) installation level of weak current and intelligent equipment, (21) floor decoration materials, (22) types of door and window, and (23) insulation material. Based on the collected case data, we calculate the percentages of the 23 factors mentioned above in the project cost, respectively. We find that the following 19 factors account for a relatively high percentage of the project cost, namely: total construction area (F1), ground floor area (F2), underground building area (F3), building height (F4), number of floors on the ground (F5), fortification intensity (F6), average floor height (F7), unit price of wood (F8), afforested area (F9), roof waterproofing grade (F10), main structure type (G1), infrastructure (G2), installation level of weak current and intelligent equipment (G3), installation level of water supply and drainage equipment (G4), interior wall decoration materials (G5), floor decoration materials (G6), exterior wall decoration materials (G7), door and window types (G8), and insulation material (G9). This indicates that these 19 factors are the main influencing factors. So, this study analyzes these 19 factors by the AHP.
3.2. Construction of Forecasting Model Indicator System
This paper selects the main structure type, total building area, above-ground building area, underground building area, foundation structure, building height, above-ground floors, and fortification intensity as input feature parameters for the neural network forecasting model. This section proposes the quantification principles for eight feature parameters, as follows:
- (1)
Total construction area
The total construction area refers to the total area of all floors of a building, including the area of all indoor spaces on the ground and the area of possible basements and attic spaces. The unit of total building area in this study is “m2”.
- (2)
Infrastructure
Infrastructure refers to the classification of basic structures used in construction projects to support and bear buildings. These basic structures are usually located between the building foundation and the building, serving as the load-bearing units between the two. The quantitative principles for this study are as follows: box foundation is 1, strip foundation is 2, independent foundation is 3, raft foundation is 4, and grid foundation is 5.
- (3)
Ground floor area
The above-ground building area refers to the total area of all parts of a building above-ground level, including the indoor space of all floors and possible other protruding parts such as bay windows or balconies. The unit of ground floor area in this study is “m2”.
- (4)
Underground building area
The underground construction area refers to the total construction area below the ground level of a building, including the sum of underground spaces such as basements and parking lots. The unit of underground building area in this study is “m2”.
- (5)
Main structure type
The main structural types include brick concrete structure, frame structure, shear wall structure, and frame shear structure. The quantitative principles for this study are as follows: the frame structure is quantified as 1, the frame shear structure as 2, the shear wall structure as 3, and the brick concrete structure as 4. Convert each structural type into a numerical value for comparison and analysis, and dimensionless methods can ensure accurate comparisons between these numerical values.
- (6)
Building height
Building height refers to the vertical distance from the ground or base of a building to its highest point. The unit of building height in this study is “m”.
- (7)
Number of floors on the ground
The number of floors above-ground refers to the number of floors above the ground level of a building, calculated from the ground level onwards. For example, if a building has 9 floors, quantify it as “9”.
- (8)
Fortification intensity
The fortification intensity refers to the degree of vibration intensity felt on the surface during an earthquake. The fortification intensity is usually divided into 12 levels according to the seismic intensity standard, represented by Roman numerals I to XII, with each level representing different seismic intensities and degrees of impact. For example, if the fortification intensity is level one, it is quantified as “1”.
3.3. Determine Characteristic Parameters Based on the AHP
- (1)
Determination of characteristic parameters
When establishing a project cost forecasting model based on a BP neural network, the selection of input feature parameters has a crucial impact on the performance of the forecasting model. Choosing too many input feature parameters may cause overfitting, low training efficiency, and high complexity in the forecast model. Choosing too few input feature parameters may result in underfitting and limited generalization ability of the forecast model. So, when establishing a forecast model based on a BP neural network, it is necessary to carefully select the number of input feature parameters. It is necessary to ensure that the number of input features is sufficient to fully reflect the essence and complexity of the problem while avoiding problems such as overfitting and low training efficiency caused by too many input features. This paper uses the AHP to select input feature parameters for a neural network.
We have classified the 19 factors that have a significant impact on project cost into quantitative (
Table 2) and qualitative (
Table 3) factors. Quantitative indicators mainly include total construction area (
F1), ground floor area (
F2), underground building area (
F3), building height (
F4), number of floors on the ground (
F5), fortification intensity (
F6), average floor height (
F7), unit price of wood (
F8), afforested area (
F9), and roof waterproofing grade (
F10). Qualitative indicators mainly include main structure type (
G1), infrastructure (
G2), installation level of weak current and intelligent equipment (
G3), installation level of water supply and drainage equipment (
G4), interior wall decoration materials (
G5), floor decoration materials (
G6), exterior wall decoration materials (
G7), door and window types (
G8), and insulation material (
G9).
- (2)
Establish a judgment matrix
After careful research and analysis, we have established a judgment matrix for quantitative and qualitative indicators, as shown in
Table 4 and
Table 5.
- (3)
Calculate the maximum eigenvalue and CI of quantitative indicators
According to the quantitative indicator judgment matrix, calculate the maximum eigenvalue and CI value of the quantitative indicator, as shown in
Table 6. The normalization process is conducted on each column of the judgment matrix (
Table 4 and
Table 5). Subsequently, the normalized matrix is summed row by row to obtain a new vector. This newly obtained vector is then normalized to derive the weight vector. By multiplying the weights of the scheme layer relative to the criterion layer by the weights of the criterion layer relative to the target layer, the combined weights of the scheme layer relative to the target layer can be obtained. Based on the judgment matrix, a characteristic polynomial f(λ) can be constructed, where
f(λ) = |λ
E −
A|, with
A being the judgment matrix and
E being the identity matrix. The characteristic equation is obtained by setting the characteristic polynomial equal to zero, i.e.,
f(λ) = 0. Solving the characteristic equation yields all the eigenvalues
λ1,
λ2, …,
λn, and the largest eigenvalue among them is the desired maximum eigenvalue (
λmax). For each eigenvalue
λi, solving the linear system of equations (
A −
λi
E) ×
x = 0 yields the corresponding eigenvector
αi. Based on the maximum eigenvalue (λmax) and the order (
n) of the judgment matrix, CI can be computed using Equation (4).
- (4)
Consistency test of quantitative indicators
From
Table 6, it can be seen that the weights corresponding to quantitative indicators 1–10 are 32.559%, 20.857%, 15.495%, 9.207%, 5.119%, 4.958%, 4.445%, 2.546%, 2.408%, and 2.408%, respectively. In order to ensure the rationality of the conclusions obtained using the AHP, it is necessary to conduct strict consistency checks on people’s qualitative analysis judgments. The calculation formula for the consistency index (CI) is as follows:
where λmax is the maximum eigenvalue of the judgment matrix,
n is the order of the judgment matrix (Dimension of the matrix). CI is a consistency indicator. If CI equals 0, it indicates complete consistency; if CI is close to 0, it indicates satisfactory consistency; if CI is large, it indicates inconsistency. In addition, to verify whether the judgment matrix has satisfactory consistency, it is necessary to compare CI with RI together, that is, to test the coefficient CR:
where RI is a random consistency index, which is a constant related to the order of the judgment matrix.
If the consistency ratio (CR) is less than 1.0, it is considered that the judgment matrix has passed the consistency test and is considered to have satisfactory consistency. If CR > 1.0, it is considered that the judgment matrix cannot pass the satisfactory consistency test and needs to be adjusted to ensure that it is more reasonable and consistent. According to the results of the quantitative indicator hierarchy analysis, the consistency test results are shown in
Table 7.
- (5)
Calculate the maximum eigenvalue and CI of qualitative indicators
Generally, the smaller the CR value, the better the consistency of the judgment matrix. If the CR value is less than 0.1, it is judged that the matrix satisfies the consistency test. However, if the CR value is greater than 0.1, it indicates that there is no consistency, and the judgment matrix should be adjusted appropriately before reanalysis. The calculated CI value for the 10th order judgment matrix is 0.032, and the RI value is 1.490 according to the table. Therefore, the calculated CR value is 0.022 < 0.1, indicating that the judgment matrix in this study meets the consistency test and the calculated weights are consistent.
According to the qualitative indicator judgment matrix, calculate the maximum eigenvalue and CI value of the qualitative indicator, as shown in
Table 8:
From
Table 8, it can be seen that the weights corresponding to qualitative indicators 1–9 are 42.46%, 13.93%, 13.93%, 7.03%, 6.29%, 4.80%, 4.75%, 3.41%, and 3.41%, respectively.
- (6)
Consistency testing of qualitative indicators
According to the results of the qualitative indicator hierarchy analysis, the consistency test results are shown in
Table 9:
The calculated CI value for the ninth order judgment matrix is 0.045, and the RI value is 1.460 according to the table. The calculated CR value is 0.031 < 0.1, indicating that the judgment matrix in this study meets the consistency test and the calculated weights are consistent with the standard.
- (7)
Determination of characteristic parameters
Figure 5 shows the weight calculation results of quantitative indicators based on the AHP. The numbers 1–10 in
Figure 5 represent the total construction area, ground floor area, underground building area, building height, number of floors on the ground, fortification intensity, average floor height, unit price of wood, afforested area, and roof waterproofing grade. Among the quantitative factors, the total construction area has the highest weight, with a weight value of 32.56%, followed by the ground floor area (20.86%), underground building area (15.49%), building height (9.21%), number of floors on the ground (5.12%), fortification intensity (4.96%), average floor height (4.45%), unit price of wood (2.25%), afforested area (2.41%), and roof waterproofing grade (2.41%).
Figure 6 shows the weight calculation results of qualitative indicators based on the AHP. The numbers 1–9 in the figure represent the main structure type, infrastructure, installation level of weak current and intelligent equipment, installation level of water supply and drainage equipment, interior wall decoration materials, floor decoration materials, exterior wall decoration materials, door and window types, and insulation material, respectively. Among the quantitative factors, the main structure type has the highest weight, with a weight value of 42.46%, followed by infrastructure (13.93%), installation level of weak current and intelligent equipment (13.93%), installation level of water supply and drainage equipment (7.03%), interior wall decoration materials (6.29%), floor decoration materials (4.80%), exterior wall decoration materials (4.75%), door and window types (3.41%), and insulation material (3.41%).
When all influencing factors are considered in the project cost forecasting model, it may lead to increased model complexity, significantly heightened computational consumption, reduced model interpretability, and potentially cause overfitting on the training data, ultimately leading to a decrease in the accuracy of the forecasting model. On the other hand, if fewer influencing factors are taken into account in the project cost forecasting model, the model may fail to capture the characteristics of the relevant data and adequately reflect the mapping relationship between data, leading to underfitting and ultimately resulting in deteriorated model stability and reduced forecasting accuracy. On this basis, this project combines domestic and foreign research results and multiple experimental tests to select the first six quantitative influencing factors and the first two qualitative influencing factors as input feature parameters for the neural network. There are a total of eight feature parameters, namely: total building area, above-ground building area, underground building area, building height, above-ground floors, fortification intensity, and main structure type and foundation structure.