example.multiclass | R Documentation |
The simulated data contains 600 observations, 800 predictors, 10 covariates, and an multiclass outcome with three categories. The external information Z contains five indicator prior covariates.
data(example.multiclass)
The example.multiclass
object is a list containing three elements:
X: A simulated 600 by 800 matrix
Y: Categorical outcome with three levels
U: Covariates matrix with 600 by 10 dimension, will be forced in the model
Z: A 800 by 5 matrix with indicator entries.
data(example.multiclass)
X <- example.multiclass$X
Y <- example.multiclass$Y
U <- example.multiclass$U
Z <- example.multiclass$Z
fit <- xtune(X = X,Y = Y, U = U, Z = Z, family = "multiclass", c = 0.5)
fit$penalty.vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.