kpca
a new basis for the data is found.
The data can then be projected on the new basis.## S3 method for class 'formula':
kfa(x, data = NULL, na.action = na.omit, ...)## S3 method for class 'matrix':
kfa(x, kernel = "rbfdot", kpar = list(sigma = 0.1),
features = 0, subset = 59, normalize = TRUE, na.action = na.omit)
sigma
inverse kernel width for the Radial BNA
s are
found. The default action is na.omit
, which leads to rejection of cases
with missing values on any required variable. An alternative
is n
kfa
returns an object of class kfa
containing the
features selected by the algorithm.predict
function can be used to embed new data points into to the
selected feature base.kpca
, kfa-class
data(promotergene)
f <- kfa(~.,data=promotergene,features=2,kernel="rbfdot",kpar=list(sigma=0.01))
plot(predict(f,promotergene),col=as.numeric(promotergene[,1]))
Run the code above in your browser using DataLab