應用機器學習於小額修繕工程預算之預測

Applying Machine Learning to Predict Budgets for Small-Scale Repair Projects

檔案

全文未公開。

日期

2026

類型

語言

中文

摘要

建築物於使用過程中持續產生各類修繕需求,其中小額修繕工程具有單筆金額較低、發生頻率高及工項多樣等特性,累積支出對企業維護預算仍具有相當影響。傳統修繕預算編列多依據歷史支出與管理人員經驗進行推估,較難由大量且異質的修繕紀錄中辨識影響修繕金額的非線性關係。因此,本研究嘗試以機器學習方法改善小額修繕預算的編列與分配,並以某企業於2020–2023年間所累積共計4,905筆修繕紀錄為例進行分析。
本研究資料包括土木、水電以及空調等三類主要工種。首先進行資料清理與特徵處理,其中類別型特徵採用One-hot Encoding進行編碼,數值型特徵則進行標準化處理,再採用梯度提升樹(XGBoost)與支持向量回歸(SVR)兩種模型進行比較。研究設計上,每次將資料隨機切分為訓練集(80%)與測試集(20%),並於訓練集內採用重複K折交叉驗證(Repeated K-Fold Cross-Validation)搭配隨機搜尋(Randomized Search)進行模型超參數調整;上述訓練與測試程序共重複執行10次,以降低單次資料切分對模型評估結果之影響,並觀察模型預測效能之穩定性。評估指標包含平均絕對誤差(MAE)、均方誤差(MSE)、均方根誤差(RMSE)及判定係數(R²)。分析結果顯示,XGBoost與SVR對本研究小額修繕金額之預測效能整體有限,僅XGBoost於土木工種具相對較佳且穩定的解釋能力(平均R²為0.258),水電與空調工種之R²則接近於零或呈負值,反映現有資料庫特徵尚不足以掌握成本變異。因此,後續研究應優先補足與修繕成本直接相關之內部特徵(如使用頻率、損壞程度等)並結合外部因素(如氣候條件、材料價格等),以強化特徵完整性並提升模型預測價值。
Small-scale repair projects are generally low in cost but occur frequently and involve diverse work items, resulting in considerable cumulative impacts on corporate maintenance budgets. Traditional budget planning relies mainly on historical expenditures and managerial experience, making it difficult to capture nonlinear relationships in heterogeneous repair data. This study therefore applies machine learning methods to small-scale repair budget prediction using 4,905 repair records collected from a case company between 2020 and 2023.The dataset covers civil works, electrical and plumbing works, and air-conditioning works. After data cleaning and feature processing, XGBoost and Support Vector Regression (SVR) were compared. The data were randomly divided into 80% training and 20% testing sets. Repeated K-Fold Cross-Validation with Randomized Search was used for hyperparameter tuning, and the training and testing process was repeated ten times. Model performance was evaluated using MAE, MSE, RMSE, and R².The results show that both models had limited overall predictive performance. XGBoost performed relatively better and more consistently for civil works, with an average R² of 0.258, whereas the R² values for electrical and plumbing works and air-conditioning works were close to zero or negative. This indicates that the current database features are insufficient to adequately explain repair cost variations. Future research should therefore incorporate more cost-related internal features, such as usage frequency and damage severity, together with external factors such as climate conditions and material prices, to improve predictive performance.
顯示完整詮釋資料 統計資料

引用此條目

陳柏君 (2026). 應用機器學習於小額修繕工程預算之預測. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/90685

BibTeX RIS

引用文字依 APA 第 7 版格式自動產生,使用前請再核對。

分享

永久網址:https://thesis.lib.nycu.edu.tw/handle/20.500.14371/90685