台灣半導體產業之景氣預測及營運指標:機器學習模型之應用
Taiwan Semiconductor Industry Cycles Forecasting and Operating Indicator: Using Machine Learning Models
摘要
本研究運用決策樹(DT)、 隨機森林(RF)、梯度提升機(GBM)、極限梯度提升(XGBoost)、輕量化梯度提升機(LGBM)及支援向量機(SVM)等6種機器學習方法,並採用隨機森林特徵重要性及極限梯度提升特徵重要性特徵選取方法,同時結合夏普利分析法(Shapley)來衡量模型中投入變數的解釋能力,用以找尋預測3、6、9、12、18、24 個月後上、中、下游台灣半導體產業景氣的領先指標,及影響3、6、9、12、18、24個月後上、中、下游台灣半導體企業營運的重要指標。本研究發現,預測台灣半導體產業景氣較有效的領先指標為台灣領先指標綜合指數、台灣M1B貨幣供應金額、台灣M2B貨幣供應金額、道瓊斯工業平均指數及中國領先經濟指數等;影響台灣半導體企業營運較有效的營運指標為不動產、廠房及設備金額、員工人數、研發費用、營業費用、存貨金額、總資產金額等。綜合比較各種機器學習方法的績效,在找尋預測台灣半導體產業景氣的領先指標(每條模型樣本 360 筆、投入變數 244 個)的模型方面,表現較佳為LGBM、XGBoost 及RF,最差為SVM;在找尋影響台灣半導體企業營運的重要指標(每
條模型樣本120筆、投入變數27個)的模型方面,表現較佳為XGBoost、RF及GBM,較差為SVM及LGBM。
條模型樣本120筆、投入變數27個)的模型方面,表現較佳為XGBoost、RF及GBM,較差為SVM及LGBM。
This study employs six machine learning techniques, Decision Tree (DT), Random Forest (RF), Gradient Boosting Machine (GBM), Extreme Gradient Boosting (XGBoost), Light Gradient Boosting Machine (LGBM) and Support Vector Machine (SVM), and incorporates Random Forest feature importance and XGBoost feature importance for feature selection, and integrates the Shapley value analysis (SHAP) to evaluate the explanatory power of input variables within the models. The objective is to identify the leading indicators for forecasting the business cycle of Taiwan’s upstream, midstream and downstream semiconductor industries 3, 6, 9, 12, 18 and 24 months ahead, as well as the key operational indicators affecting the performance of Taiwan’s upstream, midstream and downstream semiconductor firms over the
same forecasting horizons. The findings indicate that the most effective leading indicators for predicting Taiwan’s semiconductor industry business cycle include the Taiwan Composite Index of Leading Indicators, the Taiwan Monetary Aggregate M1B amount, the Taiwan
Monetary Aggregate M2B amount, the Dow Jones Industrial Average and the China Leading Economic Index. In terms of corporate operations, the most influential indicators affecting the performance of Taiwan’s semiconductor firms are property, plant, and equipment amount, number of employees, research and development expenses, operating expenses, inventory amount and total assets amount. A comprehensive comparison of model performance shows that: (1) Models for identifying leading indicators of Taiwan’s semiconductor industry business cycle, each model contains 360 observations and 244 input variables, LGBM, XGBoost and RF demonstrate superior performance, while SVM exhibit relatively weaker results. (2) Models for identifying key indicators affecting the operations of Taiwan’s semiconductor firms, each model contains 120 observations and 27 input variables, XGBoost, RF and GBM demonstrate superior performance, whereas SVM and LGBM exhibit relatively weaker results.
same forecasting horizons. The findings indicate that the most effective leading indicators for predicting Taiwan’s semiconductor industry business cycle include the Taiwan Composite Index of Leading Indicators, the Taiwan Monetary Aggregate M1B amount, the Taiwan
Monetary Aggregate M2B amount, the Dow Jones Industrial Average and the China Leading Economic Index. In terms of corporate operations, the most influential indicators affecting the performance of Taiwan’s semiconductor firms are property, plant, and equipment amount, number of employees, research and development expenses, operating expenses, inventory amount and total assets amount. A comprehensive comparison of model performance shows that: (1) Models for identifying leading indicators of Taiwan’s semiconductor industry business cycle, each model contains 360 observations and 244 input variables, LGBM, XGBoost and RF demonstrate superior performance, while SVM exhibit relatively weaker results. (2) Models for identifying key indicators affecting the operations of Taiwan’s semiconductor firms, each model contains 120 observations and 27 input variables, XGBoost, RF and GBM demonstrate superior performance, whereas SVM and LGBM exhibit relatively weaker results.