The software was last updated in 30 Jul 2017.
This software package is for solving the distance weighted discrimination problem of the following form:
where is the sample size, is the feature dimension, and is the penalty parameter. Here, the input is a matrix whose columns are the feature vectors, and is a vector containing binary classification label . The notation is defined to be .
The main algorithm for solving is a symmetric Gauss-Seidel based ADMM method. It will output the result for which is a hyperplane separating the two classes of data and is a slack variable to allow the possibility that the positive and negative data points may not be separated cleanly by the hyperplane.
For more details, please see the 'README' file in the package.
Lam, X.Y., Marron, J.S., Sun, D.F., and Toh, K.C. (2018), Fast algorithms for large scale generalized distance weighted discrimination, Journal of Computational and Graphical Statistics, 27(2), 368-379.
You can download the package here: DWDLarge.zip
User's guide is included in the package. Below are some basic setup guide:
Unpack the software
The software requires a few mex-files that you may need to compile in MATLAB. To do so, run MATLAB in the directory "DWDLarge", then type:
After that, to see whether you have installed the software correctly, type the following in MATLAB:
By now, the DWDLarge package should be ready for use.