An object of class multinom.spls
with the following attributes
Coefficientsa (p+1) x (nclass-1) matrix containing the linear
coefficients associated to the predictors and intercept in the multinomial
model
explaining the response Y.
hatYthe (ntrain) vector containing the estimated response value on
the train set Xtrain
.
hatYtestthe (ntest) vector containing the predicted labels
for the observations from Xtest
(if provided).
DeletedColthe vector containing the indexes of columns with null
variance in Xtrain
that were skipped in the procedure.
Aa list of size nclass-1 with predictors selected by the procedures
for each set of coefficients in the multinomial model (i.e. indexes of the
corresponding non null entries in each columns of Coefficients
. Each
elements of A
is a subset of 1:p.
A.fullunion of elements in A, corresponding to predictors
selected in the full model.
AnamesVector of selected predictor names, i.e. the names of the
columns from Xtrain
that are in A.full
.
convergeda {0,1} value indicating whether the RIRLS algorithm did
converge in less than maxIter
iterations or not.
X.scorelist of nclass-1 different (n x ncomp) matrices being
the observations coordinates or scores in the new component basis produced
for each class in the multinomial model by the SPLS step (sparse PLS),
see Durif et al. (2017) for details.
X.weightlist of nclass-1 different (p x ncomp) matrices being
the coefficients of predictors in each components produced for each class
in the multinomial model by the sparse PLS,
see Durif et al. (2017) for details.
X.score.fulla ((n x (nclass-1)) x ncomp) matrix being the
observations coordinates or scores in the new component basis produced
by the SPLS step (sparse PLS) in the linearized multinomial model, see
Durif et al. (2017). Each column t.k of X.score
is a SPLS component.
X.weight.fulla (p x ncomp) matrix being the coefficients of predictors
in each components produced by sparse PLS in the linearized multinomial
model, see Durif et al. (2017). Each column w.k of
X.weight
verifies t.k = Xtrain x w.k (as a matrix product).
lambda.ridgethe Ridge hyper-parameter used to fit the model.
lambda.l1the sparse hyper-parameter used to fit the model.
ncompthe number of components used to fit the model.
Vthe (ntrain x ntrain) matrix used to weight the metric in the
sparse PLS step. V
is the inverse of the covariance matrix of the
pseudo-response produced by the RIRLS step.
probathe (ntrain) vector of estimated probabilities for the
observations in code Xtrain
, that are used to estimate the
hatY
labels.
proba.testthe (ntest) vector of predicted probabilities for the
new observations in Xtest
, that are used to predict the
hatYtest
labels.