基於多臂吃角子老虎機學習策略並利用置信區間上界與特徵排序進行特徵選擇
Feature Selection by UCB and Feature Ordering on Multi-armed Bandit Learning Strategies
摘要
近年來,隨著科技的發達,蒐集資料時能取得的特徵有所增長。良好的特徵選擇
有助於在訓練機器學習模型時節省訓練時間、減少儲存空間並提升精確度。在本研究
中,我們將特徵選擇的過程拆分為十次預選,每一次預選運用多臂吃角子老虎機學習
各個特徵是否該被選擇,並在十次預選結束後使用 (1) 被選擇次數排序和 (2) 平均價值
差排序,兩種方法統整出特徵的重要性排序。
測試時,利用特徵的重要性排序可以選擇任意特徵數來計算精確度。經過三個資
料集的測試,我們的平均價值差排序能在只選擇 64.11% 特徵的情況下提升 5.34% 的分
類精確度。此外我們還提供一種計分法來推薦選擇特徵數,使用者可以透過調整參數
cost 來決定選擇特徵時的代價,計分法會根據設定的代價自動推薦最適合選擇的特徵
數。
有助於在訓練機器學習模型時節省訓練時間、減少儲存空間並提升精確度。在本研究
中,我們將特徵選擇的過程拆分為十次預選,每一次預選運用多臂吃角子老虎機學習
各個特徵是否該被選擇,並在十次預選結束後使用 (1) 被選擇次數排序和 (2) 平均價值
差排序,兩種方法統整出特徵的重要性排序。
測試時,利用特徵的重要性排序可以選擇任意特徵數來計算精確度。經過三個資
料集的測試,我們的平均價值差排序能在只選擇 64.11% 特徵的情況下提升 5.34% 的分
類精確度。此外我們還提供一種計分法來推薦選擇特徵數,使用者可以透過調整參數
cost 來決定選擇特徵時的代價,計分法會根據設定的代價自動推薦最適合選擇的特徵
數。
In resent years, the growth of technologies has led to siginificant growth in dimensionality
of the harvested data. A good feature selection method can give rise to improvement of the
machine learning models in terms of learning speed, storage sapce and accuracy of classification.
In our approach, we model the feature selection problem as a multiarmed bandit problem. N
bandits are expected to learn that whether each of the n features should be selected. We preselect
the features ten times and then integrate the ten results to generate a feature ordering. The two
ways of generating the feature ordering are sorting the features based on (1) the number of
selections of a feature and (2) the average difference of values.
After obtaining the feature ordering, we can test it by selecting any number of features to
calculate the accuracy of classification. By testing our methods on three datasets, we can select
only 64.11% of the features and simultaneously improve the accuracy by 5.34% on average.
Besides, we propose a scoring method to recommend the best number of features to be selected.
Users can evaluate the cost they have to pay when selecting more features and then tune the parameter cost based on the cost. Our scoring method automatically recommends the best number
of features to be selected according to the parameter cost.
of the harvested data. A good feature selection method can give rise to improvement of the
machine learning models in terms of learning speed, storage sapce and accuracy of classification.
In our approach, we model the feature selection problem as a multiarmed bandit problem. N
bandits are expected to learn that whether each of the n features should be selected. We preselect
the features ten times and then integrate the ten results to generate a feature ordering. The two
ways of generating the feature ordering are sorting the features based on (1) the number of
selections of a feature and (2) the average difference of values.
After obtaining the feature ordering, we can test it by selecting any number of features to
calculate the accuracy of classification. By testing our methods on three datasets, we can select
only 64.11% of the features and simultaneously improve the accuracy by 5.34% on average.
Besides, we propose a scoring method to recommend the best number of features to be selected.
Users can evaluate the cost they have to pay when selecting more features and then tune the parameter cost based on the cost. Our scoring method automatically recommends the best number
of features to be selected according to the parameter cost.