ClassExReg: Classification Extrapolation with Regression (and bootstrap...

Description Usage Arguments

View source: R/ClassExReg.R

Description

Classification Extrapolation with Regression (and bootstrap model selection)

Usage

1
2
ClassExReg(pmat, i_chosen, basis_sets, Ktrain = 2:ncol(pmat), nboot = 25,
  nonnegative = TRUE)

Arguments

pmat

Matrix of margins m_y(x) for test instances, rows are observations and columns are labels.

i_chosen

True labels.

basis_sets

a list of bases obtained e.g. using lapply and get_gaussian_basis_mat. If there is only one element in the list, then model selection is not applied.

Ktrain

the number of classes k for which we have computed average test accuracies ATA_k.

nboot

Number of bootstrap samples to use in model selection.

nonnegative

constrain coefficients of basis to be nonnegative? default TRUE.


snarles/ClassEx documentation built on May 6, 2019, 9:55 a.m.