Learn R Programming

qkerntool (version 1.19)

qsammon-class: Class "qsammon"

Description

The qKernel Sammon Mapping class

Arguments

Objects of class "qsammon"

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

Slots

dimRed:

Object of class "matrix" containing the matrix whose rows are embedded observations

cndkernf:

Object of class "function" containing the kernel function used

kcall:

Object of class "ANY" containing the function call

Methods

dimRed

signature(object = "qsammon"): returns the matrix whose rows are embedded observations

kcall

signature(object = "qsammon"): returns the performed call

cndkernf

signature(object = "qsammon"): returns the used kernel function

See Also

qsammon

Examples

Run this code
# NOT RUN {
  data(iris)
  train <- as.matrix(iris[,1:4])
  labeltrain<- as.integer(iris[,5])
  ## S4 method for signature 'matrix'
  qkpc <- qsammon(train, kernel = "rbfbase", qpar = list(sigma = 0.5, q = 0.9),
                   dims = 2, Initialisation = 'pca', MaxHalves = 50)

  cndkernf(qkpc)
  dimRed(qkpc)
  kcall(qkpc)
# }

Run the code above in your browser using DataLab