ex1.data: Toy example data set used in smac

Description Usage Format References Examples

Description

This is a simulated toy example data set to illustrate the functionality of smac.

Usage

1

Format

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.

References

C. Zhang and Y. Liu (2014). Multicategory Angle-based Large-margin Classification. Biometrika, 101(3), 625-640.

Examples

1
2
3
4
5
data(ex1.data)
dim(ex1.data$ex1.x)
ex1.data$ex1.y
dim(ex1.data$ex1.new.x)
ex1.data$ex1.new.y

smac documentation built on May 1, 2019, 9:11 p.m.

Related to ex1.data in smac...