建構分支切割演算法求解支援向量機零一損失函數之模型訓練問題

A Branch-and-cut Algorithm for Support Vector Machines with 0-1 Loss Function

檔案

日期

2020

類型

語言

英文

摘要

機器學習之模型訓練目的為找出模型參數設定以獲得最佳預測結果,其中支援向量機模型主要透過特徵空間之超平面用於二元分類問題,目標函式定義為最小化超平面之法向量長度與訓練誤差,目前大多數文獻主要透過連續型損失函數計算訓練誤差,而模型預測能力往往與連續型損失函數選用有關,無一特定損失函數可通用於不同資料集,再者,將預測值與實際值之間的差距轉換為進似二元分類的作法,模型易受到離群值之雜訊干擾,影響分類器的整體表現。本研究目的為建構整數支援向量機模型以廣泛運用於不同資料集,將損失函數定義為零一非連續函數,為求解二次混整數規劃問題,本研究建置分支切割法,其中線性放鬆之子問題雖為二次但為凸函式,因此可快速得解,本研究實作各種節點選擇與分支變數策略,並優化平行求解程序以加速求解效能。實驗比較研究提出方法與線性損失函數之支援向量機模型,結果發現對於小型訓練資料集,本研究所提出方法可於時效內可取得最佳解,且模型預測能力與線性損失函數相同,而針對中、大型資料集,雖無法收斂至最佳,但模型預測能力仍有不錯表現。
The model training problem in machine learning is to find parameter values to obtain the best prediction result. The support vector machine (SVM) is mainly used for binary classification problems via a pair of parallel hyperplanes defined on the feature space, in which the parameter tuning problem is a quadratic program with an objective function to minimize the length of the orthogonal vector on the hyperplane and training errors. Most literature calculated the training error through various continuous loss functions, but model performances are often challenged by the selection of loss function. Also, noises in the training data set profoundly affect the parameter tuning results and the overall performance of the classifier. This study developed an integer SVM to apply for different data sets broadly. The loss function was defined as a zero-one discontinuous function. A branch-and-cut (B&C) algorithm was developed to solve the quadratic mixed integer programming, where the linear program relaxation of sub-problems is convex quadratic and can be solved quickly. We implemented various node selection and branching variable strategies and designed a structure to solve sub-problems in parallel. The experiment compared both discrete and continuous loss functions of SVMs. The result found that for small training data set instances, the B&C algorithm can obtain the optimal solution for integer SVMs in time. Also, the integer SVM prediction performed as well as the one used linear loss functions. For the medium and large data sets, although the developed algorithm cannot converge to the optimal, the sub-optimal solution still outperformed than the linear loss function model in most testing cases.
顯示完整詮釋資料 統計資料

引用此條目

Ho, Y.-C. (2020). A Branch-and-cut Algorithm for Support Vector Machines with 0-1 Loss Function. https://thesis.lib.nycu.edu.tw/handle/20.500.14371/74441

BibTeX RIS

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

分享

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