rankregr | R Documentation |
Feature ranking based on linear least squares regression coefficients
rankregr(X, Y, lambda = 0.01, nmax = 5)
X: |
input dataset |
Y: |
output dataset |
nmax: |
number of top returned features |
rankregr
Feature ranking based on linear least squares regression coefficients
Indices of nmax
top ranked features
Gianluca Bontempi Gianluca.Bontempi@ulb.be
Handbook Statistical foundations of machine learning available in https://tinyurl.com/sfmlh
N<-100
n<-5
neff<-3
R<-regrDataset(N,n,neff,0.1,seed=0)
X<-R$X
Y<-R$Y
real.features<-R$feat
ranked.features<-rankregr(X,Y,nmax=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.