kernlab (version 0.9-4)

kha-class: Class "kha"

Description

The Kernel Hebbian Algorithm class

Arguments

Objects objects of class "kha"

Objects can be created by calls of the form new("kha", ...). or by calling the kha function.

See Also

kha, ksvm-class, kcca-class

Examples

Run this code
# another example using the iris
data(iris)
test <- sample(1:50,20)

kpc <- kha(~.,data=iris[-test,-5], kernel="rbfdot", kpar=list(sigma=0.2),features=2)

#print the principal component vectors
pcv(kpc)
kernelf(kpc)
eig(kpc)

Run the code above in your browser using DataCamp Workspace