Abstract
University construction projects often lack complete design information during the decision-making and schematic design stages, which makes it difficult to balance efficiency and accuracy in investment cost estimation. To improve the prediction and interpretation of unit area cost, this study develops a CatBoost-based investment cost estimation framework using 72 completed university construction projects. Eleven project indicators related to structural system, foundation type, seismic grade, number of floors, delivery standard, green building rating, fire door type, window type, and finishing configuration were initially considered as candidate input variables. Feature importance was evaluated using RF-MDI, permutation-MDA, and SHAP values derived from the CatBoost model within the repeated five-fold cross-validation framework, and delivery standard was excluded because it showed the lowest comprehensive contribution. The final CatBoost model was compared with RF, XGBoost, GBDT, LightGBM, and BP neural network models using repeated five-fold cross-validation. CatBoost achieved the best average performance among the compared models, with , RMSE = CNY/m2, and MAE = CNY/m2. The results suggest that CatBoost provides relatively better prediction accuracy under the current dataset and validation framework, while the relatively low values and performance fluctuations indicate that further validation using larger and more complete datasets is still required.
1. Introduction
Investment cost estimation is a crucial component of project investment decision-making and feasibility studies. Its core task is to quantitatively predict the required investment under limited information, providing a basis for scheme comparison, financing, and project approval decisions [1,2]. However, cost estimation exhibits strong stage-dependent characteristics: during conceptual and schematic design, project information has not yet been fully determined, and estimation can only be conducted based on limited project features and empirical indicators. As a result, large deviations are more likely to occur, which has become one of the key challenges in construction cost management [3,4].
Compared with general building projects, university construction projects present greater difficulties for investment estimation [5]. On the one hand, university buildings are typically multifunctional and diverse in building types, including teaching buildings, laboratory buildings, libraries, student dormitories, and sports facilities. Different building types vary significantly in structural form, space requirements, and technical configurations. On the other hand, campus construction often emphasizes green building standards, environmental quality, and cultural characteristics, causing construction costs to be jointly influenced by multiple standards and configuration schemes. These factors lead to stronger categorical characteristics, discreteness, and interactions among cost-influencing factors in university projects, making it difficult for traditional linear models or single-factor estimation methods to effectively capture the coupled relationships among “structural system–scale level–finishing standard–green configuration”, thereby limiting the reliability and stability of early-stage investment estimates [6,7,8,9,10,11].
In recent years, with improvements in construction cost informatization and the accumulation of historical data, machine learning-based parametric cost modeling has gradually become an important direction for improving the accuracy of early-stage investment estimation [12,13]. Existing studies have widely applied models such as Artificial Neural Networks (ANNs) [14,15,16,17], Radial Basis Function Neural Networks (RBFNNs) [18], Regression Analysis (RA) [19,20], Support Vector Machines (SVMs) [21,22], and Case-Based Reasoning (CBR) [23,24] to construction cost prediction. These approaches improve estimation efficiency and accuracy to some extent. Nevertheless, most studies focus on residential or general construction projects, whereas university construction projects have received relatively limited attention. These projects have various functional requirements and multiple types of categories, which increase the complexity of investment estimation.
Recent studies have further introduced ensemble learning and advanced boosting methods to improve the accuracy and robustness of construction cost prediction. Chakraborty et al. [25] proposed a hybrid LightGBM–NGBoost model for construction cost prediction and showed that boosting-based methods can improve point prediction while also providing uncertainty information. Park et al. [3] developed a stacking heterogeneous ensemble learning method for early-stage building construction cost prediction, demonstrating that integrating multiple base learners can improve estimation performance when project information is limited. These studies indicate that construction cost prediction is moving from single-model estimation toward ensemble and uncertainty-aware modeling frameworks. More recently, hybrid deep learning architectures have also been explored for construction-related cost prediction. Wang and Gu [26] proposed a fused-loss-enhanced hybrid GCN–GAT–MLP model for construction cost prediction, suggesting that graph neural network structures can capture complex relationships among project features. Wang et al. [27] developed a VMD–GRU framework with a multi-head self-attention mechanism for construction cost index prediction, highlighting the value of temporal decomposition and attention mechanisms in cost-related forecasting tasks. These studies show that recent construction cost modeling has increasingly emphasized nonlinear feature interaction, hybrid model structures, and more robust validation strategies.
Among various machine learning methods, ensemble learning models based on gradient boosting decision trees can capture the nonlinear relationship and feature interactions effectively and have significant potential to predict construction cost. Categorical Boosting (CatBoost) is an improved gradient boosting algorithm that has been reported to perform well in tabular prediction tasks with categorical features [28,29,30]. Moreover, as machine learning models are increasingly used for engineering decision-making, the interpretability of machine learning models becomes more and more attractive. SHapley Additive exPlanations (SHAP) based on game theory provides a unified framework to interpret complex models by quantifying the marginal effect of each input feature and is widely used in model interpretation in different fields of engineering, energy, and economic forecasting. In addition to prediction accuracy, model interpretability has become increasingly important because construction cost estimation directly supports investment decision-making, scheme comparison, and cost control. Recent studies have combined machine learning prediction with explainable artificial intelligence to improve the transparency and trustworthiness of data-driven decision-making in the construction sector [13,31]. This suggests that prediction accuracy alone is insufficient for practical cost management; engineers and decision-makers also need to understand how specific project characteristics contribute to predicted costs. However, compared with other algorithms such as neural networks and random forests (RFs), studies applying CatBoost in construction cost prediction are less diverse. In particular, for university construction projects with multiple categorical features and diverse functional characteristics, research specifically applying CatBoost to unit area cost estimation remains relatively limited.
Based on the above background, this study builds a CatBoost-based unit area cost prediction model for early-stage investment estimation of university construction projects. Although machine learning-based cost estimation has been widely studied, its application to university construction projects remains relatively limited, especially when the available project information is mainly composed of categorical and configuration-type indicators. Therefore, this study focuses on using available early-stage project descriptors, including structural type, foundation type, seismic grade, green building rating, window type, and finishing practices, to construct an interpretable cost estimation model. CatBoost is compared with RF, XGBoost, GBDT, LightGBM, and Back Propagation (BP) neural network models under a repeated five-fold cross-validation framework. Meanwhile, SHAP is used to explain the contribution of encoded project features to the predicted unit area cost. This study aims to develop and evaluate a data-driven and interpretable approach for preliminary unit area cost estimation of university construction projects when only limited early-stage project information is available.
2. Determination of Project Feature Indicators and Dataset Construction
2.1. Determination of Project Feature Indicators
Project features are the main technical and functional characteristics of a construction project that affect cost formation [32]. The initial project feature system was established based on data availability, cost relevance, and recording consistency. Since this study focuses on early-stage investment estimation rather than detailed bill-of-quantities-based cost calculation, the selected indicators should be available or approximately identifiable during the decision-making and schematic design stages. Meanwhile, they should reflect major cost-related aspects of university construction projects, including the structural system, foundation solution, seismic requirement, building scale, delivery/finishing standard, green building requirements, envelope configuration, and interior/exterior finishing practices. In addition, the indicators should be consistently recorded in the collected historical project documents so that they can be encoded for machine learning modeling.
Based on these considerations, 11 representative project indicators were initially selected as candidate input features: structural type, foundation type, seismic grade, number of floors, floor finish, exterior wall finish, interior wall finish, delivery standard, fire door type, window type, and green building rating. These indicators were not intended to fully represent all possible cost drivers. Instead, they were selected because they reflect the main design and configuration information that was consistently available in the current dataset and closely related to unit area cost variation in university construction projects. Variables such as gross floor area, detailed building function, MEP complexity, laboratory intensity, site conditions, project year, and regional price level were not included in the initial feature system because they were not consistently available or sufficiently standardized in the collected historical records. This limitation is further discussed in the Section 4.4.
The final modeling dataset contains 72 completed university construction projects. The project records were screened before modeling, and only samples with available unit area cost records and identifiable key project configuration indicators were retained. The cost variable used in this study is the recorded unit area cost of completed projects rather than a conceptual-stage estimated cost.
All prediction models were compared under the same dataset, preprocessing procedure, repeated cross-validation framework, and evaluation metrics. Project year, regional price level, procurement context, cost-basis details, and complete cost index information were not consistently available in the collected historical records. Therefore, cost deflation to a common price level or regional cost normalization was not performed in the current study. This limitation mainly affects the interpretation of unit area cost differences across projects and the broader transferability of the model results.
Some potentially important variables, including total gross floor area, detailed building function, MEP complexity, laboratory intensity, and site conditions, were not consistently available in the collected historical records. To avoid introducing unverifiable or incomplete variables into the model, these variables were not included as model inputs in the current study. This limitation is further discussed in the Section 4.4.
Both cost influencing factors and main categories of cost influencing factors of a university construction project are shown in Table 1. Structural type refers to the total load-bearing system and includes frame structure, brick concrete structure, steel structure, shear wall structure, and frame shear wall structure. Foundation type represents differences in foundation solutions, such as pile foundation, isolated footing, strip footing, and raft foundation. Seismic grade represents the level of seismic detailing requirements and is classified as Grade I, Grade II, and Grade III. The number of floors describes building scale and vertical development, with sample values ranging from two to ten floors. Delivery standard reflects the finishing level and includes basic finish and fine finish. Green building rating represents sustainability requirements and includes basic level, one star, and two star classifications.
Table 1.
Cost influencing indicators and main categories for university construction projects.
For building envelope and interior finishing systems, configuration indicators with relatively high cost sensitivity are further specified. Fire door type includes timber fire door, steel fire door, and not included. Window type includes aluminum alloy window, thermal break aluminum alloy window, unplasticized polyvinyl chloride window, double-glazed plastic window, fire-resistant window, metal louver window, and not included. Floor finish includes ceramic tile, ceramic tile and stone, cement mortar, cast in place terrazzo, and block paving. Interior wall finish includes facing tile, coating, latex paint, tile and coating, tile and latex paint, and bathroom wall tile and coating. Exterior wall finish includes coating, facing tile, real stone coating, curtain wall, cement mortar, and coating and facing tile.
2.2. Distribution of the Target Variable
Based on the established project feature indicator system, it is necessary to further examine the overall distribution of the modeling target variable y (unit area cost, CNY/m2) to provide a basis for selecting subsequent modeling methods. Figure 1 shows the probability density distribution of unit–area cost for the sampled university construction projects. The histogram is the empirical distribution of the observed data, while the Kernel Density Estimation (KDE) curve describes the overall distribution feature.
Figure 1.
Probability density distribution of unit area cost (CNY/m2) for sampled university construction projects (histogram and KDE).
The results indicate that unit area cost are concentrated in the range of 1500 to 3000 CNY/m2, with the high cost projects being relatively few. The overall distribution is right-skewed with a long tail on the higher value side. Such results show that the target variable is not a symmetric distributed variable and may exhibit great heterogeneity between projects. Therefore, modeling approaches that do not need strict assumptions of a normal distribution and that can capture nonlinear distribution relationships will be appropriate to subsequent modeling.
To further investigate the deviation from normality, we construct a normal Q–Q plot for the sample unit–area costs, shown in Figure 2. The observations are approximately located on the reference line in the central quantiles, and obviously deviate from the reference line at both lower and upper quantiles. Particularly, the upper tail deviates from the reference line more significantly, which indicates right skewness and heavy tail behaviour. This observation affirms the existence of right skewness and also confirms the departure of the distribution from normality.
Figure 2.
Normal Q–Q plot of unit–area cost (CNY/m2) for university construction projects. The red line represents the fitted reference line for the normal distribution.
2.3. Data Preprocessing and Dataset Construction
During data preprocessing, the raw project records were inspected to handle missing values, inconsistent text formats, and heterogeneous categorical expressions [33]. Data cleaning and encoding were performed to facilitate the consistency and suitability for machine learning modeling [34]. The data preprocessing involves the following steps:
- (1)
- Missing value handling and field standardization: Missing fields or empty data were all marked as “Not included” in a uniform manner to avoid information loss and keep consistency in the representation of categorical variables. In addition, text normalization was performed to get rid of inconsistencies in different punctuation, Chinese and English commas, enumerating symbols, and excessive blank spaces. Different textual expressions referring to the same category were standardized before encoding.
- (2)
- Encoding of categorical variables: As most project features are categorical variables, appropriate encoding strategies were adopted according to their data structure. Structural type, foundation type, delivery standard, and fire door type were treated as mutually exclusive categorical variables and transformed using one-hot encoding. Each category was expanded into a separate binary feature to avoid introducing artificial ordinal relationships. For variables that may contain multiple construction options in one project record, including window type, floor finish, interior wall finish, and exterior wall finish, a multi-hot encoding strategy was employed. In multi-hot encoding, each possible configuration component was transformed into an independent binary column, and multiple columns could take the value of 1 simultaneously when several construction options coexisted in the same project. This treatment preserves the co-occurrence information of combined configuration expressions.
- (3)
- Numerical transformation of ordinal variables: Several project features have explicit ordinal levels. Therefore, we labeled the whole scale of seismic grade and green building rating as ordinal numerical values to represent its ordinal relationship. Seismic grade Grade I, Grade II, and Grade III were labeled as 1, 2, and 3, respectively. Green building rating levels Basic, One star, and Two star were labeled as 0, 1, and 2, respectively. Numerical labeling retains their ordinality rather than implying a proportional quantitative difference among levels.
- (4)
- Dataset construction: After encoding, X was constructed as the feature matrix, and y was defined as the unit area cost of each university construction project. Together, they formed the structured dataset used for supervised learning. The final cost dataset has 72 samples with encoded categorical and ordinal features. The preprocessed data is the basis of model training; feature importance and comparison among different prediction models was performed later.
3. Correlation Analysis and Importance Ranking of Project Feature Indicators
3.1. Correlation Analysis of Project Feature Indicators
To explore the possible associations among the 11 selected project feature indicators, correlation analysis was carried out prior to feature importance assessment and prediction modeling. The aim was to examine the associations among indicators, identify whether substantial overlap existed, and improve the interpretability of subsequent modeling results.
Because the indicator system contains both numerically transformable variables (e.g., seismic grade, green building rating, and number of floors) and categorical variables (e.g., structural type, foundation type, window type, and finishing configurations), a single correlation coefficient is not suitable for all variable types. Therefore, a mixed correlation matrix was constructed. Appropriate association measures were selected according to variable-type combinations to generate a unified matrix for visualization and interpretation.
When both variables are numerical, the Spearman rank correlation coefficient was used to measure monotonic association [35]. The Spearman coefficient ranges from , where the sign indicates the direction of association and the absolute value indicates its strength:
where is the rank difference of the i-th sample between the two variables and n is the sample size. Since the purpose here is to evaluate association strength rather than direction, the absolute value of the Spearman coefficient was used in the mixed correlation matrix.
When both variables are categorical, Cramér’s V based on contingency tables is employed to assess association strength. This statistic is a normalized form of the chi-square measure, ranging from , where larger values indicate stronger dependence:
where is the chi-square statistic computed from the contingency table, n is the total number of samples, and r and c denote the numbers of rows and columns of the contingency table, respectively.
When one variable is numerical and the other is categorical, the correlation ratio is used to quantify how well category groupings explain the variance of the numerical variable. The correlation ratio ranges from ; larger values indicate more significant mean differences among categories and stronger discriminative ability:
where K denotes the number of categories; represents the number of samples in category k; is the mean of the numerical variable within category k; is the overall mean of the numerical variable; and denotes the value of the numerical variable for sample i.
Based on the three association measures described above, pairwise relationships among the 11 indicators are computed according to variable-type combinations and organized into a unified correlation matrix. Diagonal elements are assigned a value of 1 when . Spearman correlation is applied to numerical–numerical pairs, Cramér’s V to categorical–categorical pairs, and the correlation ratio to numerical–categorical pairs. The resulting mixed correlation matrix characterizes the strength of associations among project-feature indicators, as illustrated in Figure 3.
Figure 3.
Correlation analysis of different project feature indicators.
As shown in Figure 3, correlations among indicators mainly fall within the range of 0.10–0.45, indicating an overall weak-to-moderate association. This suggests that the indicator system contains complementary information, without serious multicollinearity risk caused by very strong correlations (>0.7). Among them, the correlation between structural type () and number of floors () is the highest at 0.651, indicating a coupling between structural system and building scale. Low-rise buildings more often adopt brick–concrete structures, while taller or larger buildings are more likely to use frame or shear-wall systems. The correlation between fire door type () and window type () is 0.640, reflecting the coordinated design of envelope components and fire safety configuration. Number of floors () is also correlated with interior wall finish () at 0.632 because projects with more floors and larger building volume often involve more standardized or complex interior finishing configurations.
Overall, the relatively higher associations among these indicators reflect logical coupling in university project configurations and do not indicate complete duplication. These indicators describe different aspects of project configuration and may still provide complementary information for cost prediction. Therefore, they were retained for subsequent modeling, while their potential associations were considered when interpreting the feature importance and SHAP results.
3.2. Importance Ranking of Project Feature Indicators
To quantitatively assess the relative contribution of each project indicator to unit area cost prediction while avoiding information leakage, feature importance analysis was embedded within the repeated five-fold cross-validation framework. In each fold, the training subset was used for data preprocessing, model fitting, and feature importance calculation, whereas the validation subset was kept unseen and used only for model evaluation. Therefore, the validation samples did not participate in feature ranking or feature-related decisions.
Three complementary feature importance measures were calculated, namely RF-MDI, permutation-MDA, and CatBoost-SHAP. RF-MDI evaluates the contribution of each feature to impurity reduction in the random forest model. Permutation-MDA measures the increase in prediction error after randomly permuting a feature and therefore reflects the model dependence on that feature. CatBoost-SHAP estimates the average absolute SHAP contribution of each feature in the fitted CatBoost model. For each method, the feature importance values were normalized within each fold, and the mean and standard deviation of normalized importance were calculated across the repeated folds.
Figure 4 presents the feature importance ranking based on RF-MDI. This measure reflects how much each project indicator contributes to impurity reduction during tree construction. Indicators with higher RF-MDI values are more frequently used for node splitting and show stronger discriminative ability within the random forest model. However, RF-MDI may be affected by the number of categories and the internal splitting structure of tree models. Therefore, the RF-MDI results are interpreted together with other importance measures rather than being used alone for feature selection.
Figure 4.
Feature importance of project indicators evaluated using the RF-MDI method. Error bars indicate the standard deviation of normalized importance across repeated five-fold cross-validation runs.
Figure 5 shows the feature ranking based on permutation-MDA. In this method, a larger importance value indicates a larger increase in prediction error after the corresponding feature is randomly permuted. Therefore, permutation-MDA reflects the extent to which the model prediction depends on each project indicator. It should be noted that permutation importance may be influenced by correlations among input variables, because the information of a perturbed feature may be partly represented by other related features.
Figure 5.
Feature importance of project indicators evaluated using the permutation-MDA method. Error bars indicate the standard deviation of normalized importance across repeated five-fold cross-validation runs.
Figure 6 shows the feature importance ranking obtained using the CatBoost-SHAP method. The importance score is calculated as the mean absolute SHAP value and reflects the average contribution of each indicator to the CatBoost prediction. SHAP analysis provides a model-specific interpretation under the adopted preprocessing strategy, coding scheme, and model structure. However, SHAP values do not eliminate the effects of categorical encoding choices or potential correlations among explanatory variables. Therefore, the SHAP results are interpreted as model attribution patterns rather than direct causal effects.
Figure 6.
Feature importance of project indicators evaluated using the CatBoost-SHAP method. Error bars indicate the standard deviation of normalized importance across repeated five-fold cross-validation runs.
To obtain a more stable overall ranking of project indicators, the normalized importance values obtained from RF-MDI, permutation-MDA, and CatBoost-SHAP were further integrated. Specifically, the importance values of each method were first normalized within each repeated cross-validation fold and then averaged across folds. The final comprehensive importance score was calculated as the average of the three method-specific normalized importance values. This comprehensive ranking was used to summarize the relative contribution of the initial 11 project indicators and to support the determination of the final input feature set.
As shown in Figure 7, delivery standard ranked lowest in the comprehensive importance evaluation among the 11 candidate indicators. This indicates that, under the current dataset and repeated cross-validation framework, delivery standard provided relatively limited additional information for unit area cost prediction compared with the other project indicators. Therefore, to simplify the input structure and reduce weakly informative variables, delivery standard was excluded from the final prediction model.
Figure 7.
Comprehensive ranking of project indicators based on RF-MDI, permutation-MDA, and CatBoost-SHAP. Error bars indicate the variation of normalized importance across the three feature importance measures.
The remaining ten project indicators were retained as model inputs: structural type, foundation type, seismic grade, number of floors, green building rating, fire door type, window type, floor finish, interior wall finish, and exterior wall finish. Based on these selected indicators, an investment estimation prediction model for university construction projects was further developed.
4. Development of Investment Estimation Prediction Models for University Construction Projects
4.1. Model Construction and Parameter Settings
Based on the final feature set determined from the comprehensive importance analysis, a supervised regression framework was established to predict the unit area cost of university construction projects. The output variable was the unit area cost of university construction projects (CNY/m2). The final input variables included ten project indicators: structural type, foundation type, seismic grade, number of floors, green building rating, fire door type, window type, floor finish, interior wall finish, and exterior wall finish. Delivery standard was excluded because it showed the lowest comprehensive importance among the initial 11 candidate indicators.
The input indicators were preprocessed according to their data characteristics. Structural type, foundation type, and fire door type were treated as mutually exclusive categorical variables and encoded using one-hot encoding. Window type, floor finish, interior wall finish, and exterior wall finish may contain multiple construction options in one project record; therefore, they were encoded using a multi-hot strategy. Seismic grade and green building rating were transformed into ordinal numerical labels according to the coding rules described in Section 2.3, while the number of floors was treated as a numerical variable. To avoid information leakage, all preprocessing operations were fitted only on the training subset within each cross-validation fold and then applied to the corresponding validation subset.
CatBoost was selected as the primary prediction model because it is a gradient boosting decision tree algorithm suitable for nonlinear tabular prediction problems involving categorical, ordinal, and numerical features. To provide a comprehensive benchmark comparison, five baseline models were constructed, including RF, XGBoost, GBDT, LightGBM, and BP neural network. RF represents a bagging-based ensemble method; XGBoost, GBDT, and LightGBM represent boosting-based tree models; and BP provides a neural network-based baseline. Together, these models provide a broad comparison framework for evaluating the predictive performance of CatBoost in university construction cost estimation.
To reduce the dependence of model evaluation on a specific data partition and to obtain a more reliable assessment under the limited sample size, repeated five-fold cross-validation was adopted. The five-fold cross-validation procedure was repeated ten times with different data partitions. In each fold, the model was trained on the training subset and evaluated on the corresponding validation subset. The final performance metrics were reported as the mean and standard deviation across all repeated validation folds.
During model training, Root Mean Square Error (RMSE) was adopted as the loss function:
where is the actual unit area cost of the i-th sample, is the model prediction, and n is the number of samples.
The main hyperparameters of CatBoost are listed in Table 2. The parameter settings were manually specified and kept the same across all repeated cross-validation folds to maintain a consistent model evaluation procedure.
Table 2.
Main parameter settings of the CatBoost model.
During CatBoost training, early stopping based on validation RMSE was applied within each validation fold. The model corresponding to the best validation iteration was retained for that fold, and the best iteration was recorded. For the final ten-indicator CatBoost model, the best iteration selected by early stopping ranged from 52 to 1412 across the 50 validation folds, with an average of 424.8 and a standard deviation of 287.3.
For a fair comparison, all benchmark models were trained and evaluated using the same input features, preprocessing strategy, cross-validation partitions, and evaluation metrics. The main settings of the benchmark models are summarized in Table 3. For tree-based models, the number of estimators was set to provide sufficient fitting capacity, while regularization-related parameters were used to reduce overfitting. For BP neural network, a two-hidden-layer structure was adopted, and early stopping was used to prevent excessive training.
Table 3.
Main settings of benchmark models.
The modeling procedure was implemented in Python 3.13.9 under the Anaconda environment. The main packages included scikit-learn 1.7.2 for data preprocessing, RF, GBDT, cross-validation, and evaluation; CatBoost 1.2.8 for the CatBoost model; XGBoost 3.1.2 and LightGBM 4.6.0 for the corresponding boosting baselines; and SHAP 0.50.0 for model interpretation.
Figure 8 shows the learning curve of CatBoost with early stopping. The validation RMSE decreases rapidly at the early stage and then gradually stabilizes, indicating that early stopping can help retain the model at an appropriate iteration. This figure is used only to illustrate the training process, while the final model performance was evaluated using repeated five-fold cross-validation.
Figure 8.
Learning curve of CatBoost with early stopping.
4.2. Prediction Results and Performance Comparison
Prediction performance was evaluated using the coefficient of determination (), RMSE, and Mean Absolute Error (MAE). For each model, these metrics were summarized as the mean and standard deviation across all repeated validation folds, which allows for both average prediction accuracy and performance variability to be assessed under the limited sample size. RMSE was calculated according to Equation (4).
The coefficient of determination is calculated as
and the mean absolute error is defined as
where denotes the observed unit area cost of sample i, represents the predicted value, is the mean of observed values in the validation fold, and n is the number of validation samples.
Table 4 presents the prediction performance of CatBoost and the benchmark models under repeated five-fold cross-validation. The compared models include RF, XGBoost, GBDT, LightGBM, and BP neural network. These models represent bagging-based ensemble learning, gradient boosting tree models, and neural network-based prediction, respectively, thereby providing a broader benchmark comparison for tabular construction cost prediction.
Table 4.
Comparison of prediction performance of different models under repeated five-fold cross-validation.
As shown in Table 4, CatBoost achieved the best average performance among the compared models, with the highest mean value of 0.253, the lowest RMSE of 696.53 CNY/m2, and the lowest MAE of 516.34 CNY/m2. RF ranked second, while XGBoost, LightGBM, and GBDT showed lower average values and larger prediction errors. BP produced the largest prediction errors among the compared models.
It should be noted that the average values are relatively low and the standard deviations are not negligible. This indicates that model performance varies across different validation partitions, which is expected given the limited sample size and the incomplete availability of explanatory variables. Therefore, the results should be interpreted within the scope of the current dataset and validation framework, and further validation with larger datasets is needed to evaluate broader applicability.
Figure 9 further illustrates the distribution of RMSE values across repeated validation folds. CatBoost shows a lower overall RMSE distribution than the benchmark models, whereas BP presents the largest prediction error and fluctuation range. The red points indicate the mean RMSE values of different models. The dispersion and overlap of the boxplots further indicate that repeated cross-validation is necessary for evaluating model performance under the limited sample size.
Figure 9.
Distribution of RMSE values for different models under repeated five-fold cross-validation.
To further examine whether the performance differences between CatBoost and the benchmark models were consistent across repeated validation folds, a paired Wilcoxon signed-rank test was conducted using the RMSE values obtained from the 50 validation folds. The Wilcoxon signed-rank test is a non-parametric paired test and does not require the paired error differences to follow a normal distribution. CatBoost was compared with each benchmark model, and the results are reported in Table 5.
Table 5.
Paired Wilcoxon signed-rank test of RMSE values between CatBoost and benchmark models.
As shown in Table 5, CatBoost achieved significantly lower RMSE than RF (), XGBoost (), GBDT (), LightGBM (), and BP neural network (). These results provide additional statistical evidence that CatBoost performs relatively better than the benchmark models under the current repeated cross-validation framework.
In summary, CatBoost showed relatively better average prediction accuracy than the benchmark models under the repeated cross-validation framework. Nevertheless, the relatively large standard deviations and the observed prediction deviations indicate that the model performance is still affected by data partitioning and sample representativeness. Therefore, the proposed CatBoost-based method should be regarded as a preliminary data-driven estimation tool for early-stage university construction cost prediction, and further validation using larger and more diverse project datasets is still required.
4.3. SHAP-Based Interpretation of the Final CatBoost Model
After the final input feature set was determined and model performance was evaluated, SHAP analysis was further conducted to interpret the prediction mechanism of the final CatBoost model. For post hoc interpretation, the CatBoost model was retrained using all available samples with the final selected input features, and SHAP values were calculated for all samples. This analysis explains how encoded project features influence the predicted unit area cost at the sample level, thereby improving the transparency of the final CatBoost model.
The SHAP beeswarm plot is based on encoded project features, while the comprehensive ranking in Section 3 summarizes feature importance at the original project-indicator level. Therefore, the beeswarm plot provides a more detailed view of the direction and sample-level distribution of encoded feature effects.
In the SHAP beeswarm plot, the horizontal axis represents SHAP values. A positive SHAP value indicates that the corresponding encoded feature increases the predicted unit area cost relative to the model baseline, whereas a negative SHAP value indicates a cost-decreasing contribution. Each colored dot corresponds to one project sample for the corresponding encoded feature. The dot color represents the feature value under the adopted coding scheme, with red indicating higher values and blue indicating lower values.
As shown in Figure 10, seismic grade, several window-type features, green building rating, number of floors, stone floor finish, and foundation-related encoded features show relatively large SHAP ranges. This indicates that these encoded features contribute noticeably to the CatBoost prediction of unit area cost at the sample level.
Figure 10.
SHAP summary beeswarm plot of the final CatBoost model.
For seismic grade, the numerical codes represent ordered category labels rather than continuous physical quantities. In this study, Grade I, Grade II, and Grade III were coded as 1, 2, and 3, respectively, and lower codes correspond to stricter seismic detailing requirements. Therefore, the SHAP pattern should be interpreted according to the engineering meaning of each seismic category.
To further clarify the coding direction of seismic grade, Figure 11 presents the SHAP dependence plot of this variable. The plot shows how different seismic-grade codes correspond to different SHAP contributions in the final CatBoost model.
Figure 11.
SHAP dependence plot of seismic grade.
4.4. Discussion
The results are generally consistent with recent studies showing that tree-based ensemble models are suitable for tabular construction cost prediction because they can capture nonlinear relationships and feature interactions. In this study, CatBoost was compared with RF, XGBoost, GBDT, LightGBM, and BP under repeated cross-validation, providing a more cautious evaluation of model performance for a small university project dataset. The results further support the applicability of boosting-based tree models to early-stage construction cost estimation with categorical and configuration-type project indicators.
The influence of removing delivery standard was further examined by comparing the full 11-indicator CatBoost model with the final 10-indicator CatBoost model under the same repeated five-fold cross-validation setting. The full 11-indicator model obtained , RMSE = CNY/m2, and MAE = CNY/m2, while the final 10-indicator model obtained , RMSE = CNY/m2, and MAE = CNY/m2. The two settings produced very similar prediction performance, indicating that removing delivery standard had only a limited influence on the reported model performance. Therefore, the final ten-indicator model was retained mainly to simplify the input structure.
From a practical perspective, the proposed framework can provide preliminary support for investment estimation and scheme comparison during the decision-making and schematic design stages. At these stages, detailed quantities and complete design parameters are often unavailable, but basic project configuration information, such as structural type, foundation type, seismic grade, number of floors, green building rating, window type, and finishing practices, can usually be identified. These indicators can be encoded according to the preprocessing procedure described in Section 2.3 and used as model inputs to obtain a preliminary unit area cost estimate. Meanwhile, the SHAP interpretation helps identify encoded features that contribute noticeably to unit area cost prediction, such as seismic grade, window type, green building rating, number of floors, floor finish, and foundation-related features. Therefore, the proposed model can be used as an auxiliary decision-support tool for early comparison of project schemes.
Several limitations should be acknowledged. First, the dataset contains only 72 completed university construction projects, and the results should be interpreted within the scope of the current sample and validation framework. Second, project year, regional price level, procurement context, building function, gross floor area, laboratory intensity, MEP complexity, and site conditions were not consistently available in the historical records. The absence of these variables may introduce omitted-variable bias and limit the explanatory completeness of the model. Third, the project costs were analyzed based on the available unit area cost records, and further normalization to a common price level would be needed if projects from different years and regions are included in a larger dataset. Although the models were compared under the same dataset and validation framework, the recorded unit area costs were not deflated or normalized because consistent project year, regional price, and cost index information was unavailable. Therefore, cost comparability across projects remains a limitation of the current dataset. Future work should expand the dataset and incorporate these variables to improve model transferability and practical applicability.
5. Conclusions
This study developed a CatBoost-based unit area cost estimation framework for university construction projects at the decision-making and schematic design stages. Eleven project indicators related to structural type, foundation type, seismic grade, number of floors, delivery standard, green building rating, fire door type, window type, and finishing configuration were initially considered. RF-MDI, permutation-MDA, and SHAP values derived from the CatBoost model were used to evaluate feature importance, and the results were integrated into a comprehensive ranking. Delivery standard showed the lowest comprehensive contribution and was therefore excluded from the final input feature set.
The methodological contribution of this study lies in providing an empirical modeling workflow for small-sample university construction cost estimation with mixed-type project indicators. Specifically, the workflow combines one-hot and multi-hot encoding for categorical and configuration-type variables, repeated five-fold cross-validation for model evaluation, multi-method feature-importance ranking for input selection, and SHAP-based interpretation for explaining encoded feature effects. This provides a more transparent modeling procedure for early-stage cost estimation when detailed quantities and complete design parameters are not yet available.
The final CatBoost model was compared with RF, XGBoost, GBDT, LightGBM, and BP neural network models under repeated five-fold cross-validation. CatBoost achieved the best average performance among the compared models, with , RMSE = CNY/m2, and MAE = CNY/m2. The Wilcoxon signed-rank test further indicated that CatBoost achieved significantly lower RMSE than the benchmark models under the current repeated validation framework. These results indicate that CatBoost provides relatively better prediction accuracy within the current dataset and validation framework.
Practically, the proposed framework can provide preliminary support for early-stage investment estimation and scheme comparison when only basic project configuration information is available. The relatively low average values and non-negligible standard deviations also indicate that model performance is still constrained by a limited sample size and incomplete project descriptors. Future studies should expand the dataset and incorporate project year, regional cost level, building function, gross floor area, MEP complexity, procurement context, and site conditions to improve model transferability and practical applicability.
Author Contributions
Conceptualization, Y.Z. and J.Z.; methodology, Y.Z. and J.Z.; software, J.Z.; validation, Y.Z. and J.Z.; formal analysis, Y.Z. and J.Z.; investigation, Y.Z. and J.Z.; resources, H.W.; data curation, Y.Z. and H.W.; writing—original draft preparation, Y.Z. and J.Z.; writing—review and editing, J.Z. and T.W.; visualization, Y.Z.; supervision, J.Z.; project administration, H.W.; funding acquisition, H.W. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by the Research Project of Xizang Minzu University, grant number 22MDY015.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The data presented in this study are available on request from the corresponding author. The data are not publicly available due to confidentiality restrictions.
Acknowledgments
During the preparation of this manuscript, the authors used DeepSeek-V4 for language editing and polishing. The authors reviewed and edited the output and take full responsibility for the content of this publication.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Elfaki, A.O.; Alatawi, S.; Abushandi, E. Using Intelligent Techniques in Construction Project Cost Estimation: 10-Year Survey. Adv. Civ. Eng. 2014, 2014, 107926. [Google Scholar] [CrossRef] [Scilit]
- Bala, K.; Ahmad Bustani, S.; Shehu Waziri, B. A computer-based cost prediction model for institutional building projects in NigeriaAn artificial neural network approach. J. Eng. Des. Technol. 2014, 12, 519–530. [Google Scholar] [CrossRef] [Scilit]
- Park, U.; Kang, Y.; Lee, H.; Yun, S. A Stacking Heterogeneous Ensemble Learning Method for the Prediction of Building Construction Project Costs. Appl. Sci. 2022, 12, 9729. [Google Scholar] [CrossRef] [Scilit]
- Castro Miranda, S.L.; Del Rey Castillo, E.; Gonzalez, V.; Adafin, J. Predictive Analytics for Early-Stage Construction Costs Estimation. Buildings 2022, 12, 1043. [Google Scholar] [CrossRef] [Scilit]
- Alshamrani, O.S. Construction cost prediction model for conventional and sustainable college buildings in North America. J. Taibah Univ. Sci. 2017, 11, 315–323. [Google Scholar] [CrossRef] [Scilit]
- Singh, S. Cost Model for Reinforced Concrete Beam and Slab Structures in Buildings. J. Constr. Eng. Manag. 1990, 116, 54–67. [Google Scholar] [CrossRef] [Scilit]
- Martin Skitmore, R.; Thomas Ng, S. Forecast models for actual construction time and cost. Build. Environ. 2003, 38, 1075–1083. [Google Scholar] [CrossRef] [Scilit]
- Li, H.; Shen, Q.; Love, P.E. Cost modelling of office buildings in Hong Kong: An exploratory study. Facilities 2005, 23, 438–452. [Google Scholar] [CrossRef] [Scilit]
- Trost, S.M.; Oberlender, G.D. Predicting Accuracy of Early Cost Estimates Using Factor Analysis and Multivariate Regression. J. Constr. Eng. Manag. 2003, 129, 198–204. [Google Scholar] [CrossRef] [Scilit]
- Lowe, D.J.; Emsley, M.W.; Harding, A. Predicting Construction Cost Using Multiple Regression Techniques. J. Constr. Eng. Manag. 2006, 132, 750–758. [Google Scholar] [CrossRef] [Scilit]
- Monteiro, F.P.; Sousa, V.; Meireles, I.; Oliveira Cruz, C. Cost Modeling from the Contractor Perspective: Application to Residential and Office Buildings. Buildings 2021, 11, 529. [Google Scholar] [CrossRef] [Scilit]
- Tayefeh Hashemi, S.; Ebadati, O.M.; Kaur, H. Cost estimation and prediction in construction projects: A systematic review on machine learning techniques. SN Appl. Sci. 2020, 2, 1703. [Google Scholar] [CrossRef] [Scilit]
- Chen, G.; Zheng, S.; He, X.; Liang, X.; Liao, X. Machine Learning-Based Cost Estimation Models for Office Buildings. Buildings 2025, 15, 1802. [Google Scholar] [CrossRef] [Scilit]
- Du, Z.; Li, B. Construction Project Cost Estimation Based on Improved BP Neural Network. In Proceedings of the 2017 International Conference on Smart Grid and Electrical Automation (ICSGEA); IEEE: New York, NY, USA, 2017; pp. 223–226. [Google Scholar] [CrossRef] [Scilit]
- Chandanshive, V.; Kambekar, A. Estimation of Building Construction Cost Using Artificial Neural Networks. J. Soft Comput. Civ. Eng. 2019, 3, 91–107. [Google Scholar] [CrossRef] [Scilit]
- Ji, S.H.; Ahn, J.; Lee, H.S.; Han, K. Cost Estimation Model Using Modified Parameters for Construction Projects. Adv. Civ. Eng. 2019, 2019, 8290935. [Google Scholar] [CrossRef] [Scilit]
- Li, C.; Xiao, Y.; Xu, X.; Chen, Z.; Zheng, H.; Zhang, H. Intelligent Forecast Model for Project Cost in Guangdong Province Based on GA-BP Neural Network. Buildings 2024, 14, 3668. [Google Scholar] [CrossRef] [Scilit]
- Jiang, Q. Estimation of construction project building cost by back-propagation neural network. J. Eng. Des. Technol. 2020, 18, 601–609. [Google Scholar] [CrossRef] [Scilit]
- Amin, M. Development of cost estimation model for residential building. Int. J. Civ. Struct. Eng. Res. 2017, 5, 1–4. [Google Scholar]
- Alshemosi, A.M.B.; Alsaad, H.S.H. Cost Estimation Process for Construction Residential Projects by Using Multifactor Linear Regression Technique. Int. J. Sci. Res. 2017, 6, 151–156. [Google Scholar] [CrossRef]
- Son, H.; Kim, C.; Kim, C. Hybrid principal component analysis and support vector machine model for predicting the cost performance of commercial building projects using pre-project planning variables. Autom. Constr. 2012, 27, 60–66. [Google Scholar] [CrossRef] [Scilit]
- Wang, Y.R.; Yu, C.Y.; Chan, H.H. Predicting construction cost and schedule success using artificial neural networks ensemble and support vector machines classification models. Int. J. Proj. Manag. 2012, 30, 470–478. [Google Scholar] [CrossRef] [Scilit]
- Kim, S. Hybrid forecasting system based on case-based reasoning and analytic hierarchy process for cost estimation. J. Civ. Eng. Manag. 2013, 19, 86–96. [Google Scholar] [CrossRef] [Scilit]
- Kim, S.; Shim, J.H. Combining case-based reasoning with genetic algorithm optimization for preliminary cost estimation in construction industry. Can. J. Civ. Eng. 2014, 41, 65–73. [Google Scholar] [CrossRef] [Scilit]
- Chakraborty, D.; Elhegazy, H.; Elzarka, H.; Gutierrez, L. A novel construction cost prediction model using hybrid natural and light gradient boosting. Adv. Eng. Inform. 2020, 46, 101201. [Google Scholar] [CrossRef] [Scilit]
- Wang, J.; Gu, Q.; Chileshe, N. Construction cost prediction using a fused loss–enhanced hybrid GCN–GAT–MLP approach. Eng. Constr. Archit. Manag. 2025; ahead of print. [CrossRef] [Scilit]
- Wang, J.; Qu, Z.; Skitmore, M. Predicting Construction Cost Index Using a VMD-GRU Framework with the MHSA Mechanism. J. Constr. Eng. Manag. 2026, 152, 04025236. [Google Scholar] [CrossRef] [Scilit]
- Prokhorenkova, L.; Gusev, G.; Vorobev, A.; Dorogush, A.V.; Gulin, A. CatBoost: Unbiased boosting with categorical features. In Proceedings of the Advances in Neural Information Processing Systems; Curran Associates, Inc.: Red Hook, NY, USA, 2018; Volume 31. [Google Scholar]
- Ibrahim, A.A.; Ridwan, R.L.; Muhammed, M.M.; Abdulaziz, R.O.; Saheed, G.A. Comparison of the CatBoost Classifier with other Machine Learning Methods. Int. J. Adv. Comput. Sci. Appl. 2020, 11, 738–748. [Google Scholar] [CrossRef] [Scilit]
- Hancock, J.T.; Khoshgoftaar, T.M. CatBoost for big data: An interdisciplinary review. J. Big Data 2020, 7, 94. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Ye, S.J.; Lee, K.T. An Explainable AI-Based Framework for Predicting Construction Firm Profitability and Capital Structure Considering Supply-Chain Volatility. Buildings 2026, 16, 840. [Google Scholar] [CrossRef] [Scilit]
- Omar, A.H.; Omar, N.H. Factors Affecting Construction Projects’ Cost Estimating. Fayoum Univ. J. Eng. 2022, 5, 26–41. [Google Scholar] [CrossRef] [Scilit]
- Lee, H.; Yun, S. Strategies for Imputing Missing Values and Removing Outliers in the Dataset for Machine Learning-Based Construction Cost Prediction. Buildings 2024, 14, 933. [Google Scholar] [CrossRef] [Scilit]
- Adanza Dopazo, D.; Mahdjoubi, L.; Gething, B. A Method to Enable Automatic Extraction of Cost and Quantity Data from Hierarchical Construction Information Documents to Enable Rapid Digital Comparison and Analysis. Buildings 2023, 13, 2286. [Google Scholar] [CrossRef] [Scilit]
- Sedgwick, P. Spearman’s rank correlation coefficient. BMJ 2014, 349, g7327. [Google Scholar] [CrossRef] [Scilit] [PubMed]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.










