predict.LFE {Immigrate} | R Documentation |
This function performs predion for LFE(Local Feature Extraction) algorithm.
## S3 method for class 'LFE' predict(object, xx, yy, newx, ...)
object |
weight |
xx |
model matrix of explanatory variables |
yy |
label vector |
newx |
model matrix to be preded |
... |
further arguments passed to or from other methods |
predicted labels
data(park) xx<-park$xx yy<-park$yy w<-LFE(xx,yy) pred<-predict(w,xx,yy,xx) print(pred)