transformKernel: Transforms a Kernel matrix as specified by a linkinfo object

Description Usage Arguments Author(s) References See Also Examples

View source: R/functions.R

Description

Transforms a Kernel matrix as specified by a linkinfo object

Usage

1
2
3
## S4 method for signature 'matrix'
transformKernel(kern, linkinfo, type=c("none", "simple", "extended"), 
		linkfun=function(x) x^(1/6), notlinkfun=function(x) {1 - (1-x)^(1/6)})

Arguments

kern

the kernel matrix to transform

linkinfo

linkinfo object that specifies the similarities to transform

type

among c("none", "simple", "extended"), see reference for explanation

linkfun

function applied to similarities that match the linkinfo$link relation

notlinkfun

function applied to similarities that match the linkinfo$notlink relation

Author(s)

Pierrick Bruneau
pbruneau@gmail.com

References

Pierrick Bruneau and Benoit Otjacques
An Interactive, Example-Based, Visual Clustering System
Tech Report, CRP Gabriel Lippmann, 2013
http://hal.archives-ouvertes.fr/hal-00797367

See Also

linkinfo

Examples

1
2
3
4
5
6
7
data(iris)

krn <- computeKernel(iris[,1:4])
lk <- linkinfo(krn)
lk <- add(lk, 1, 5, "link")
lk <- add(lk, 3, 55, "notlink")
krn <- transformKernel(krn, lk, "extended")

semisupKernelPCA documentation built on May 29, 2017, 8:59 p.m.