ex1.data {smac} | R Documentation |
This is a simulated toy example data set to illustrate the functionality of smac.
data(ex1.data)
Two matrices consisting of predictors, and their corresponding label vectors.
ex1.x
The training matrix consisting of 2 predictors and 100 observations.
ex1.y
The label for the training data.
ex1.new.x
The testing matrix consisting of 2 predictors and 100 observations.
ex1.new.y
The label for the testing data.
C. Zhang and Y. Liu (2014). Multicategory Angle-based Large-margin Classification. Biometrika, 101(3), 625-640.
data(ex1.data) dim(ex1.data$ex1.x) ex1.data$ex1.y dim(ex1.data$ex1.new.x) ex1.data$ex1.new.y