File: kmmd-class.Rd

package info (click to toggle)
r-cran-kernlab 0.9-33-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,216 kB
  • sloc: cpp: 6,011; ansic: 935; makefile: 2
file content (65 lines) | stat: -rw-r--r-- 2,155 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
\name{kmmd-class}
\docType{class}
\alias{kmmd-class}
\alias{kernelf,kmmd-method}
\alias{H0,kmmd-method}
\alias{AsympH0,kmmd-method}
\alias{Radbound,kmmd-method}
\alias{Asymbound,kmmd-method}
\alias{mmdstats,kmmd-method}

\title{Class "kqr"}
\description{The Kernel Maximum Mean Discrepancy object class}
\section{Objects from the Class}{
Objects can be created by calls of the form \code{new("kmmd", ...)}.
    or by calling the \code{kmmd} function 
}
\section{Slots}{
  \describe{
    \item{\code{kernelf}:}{Object of class \code{"kfunction"} contains
      the kernel function used}
    \item{\code{xmatrix}:}{Object of class \code{"kernelMatrix"} containing the
      data used }
    \item{H0}{Object of class \code{"logical"} contains value of : is H0 rejected (logical)}
    \item{\code{AsympH0}}{Object of class \code{"logical"} contains
      value : is H0 rejected according to the asymptotic bound (logical)}
      \item{\code{mmdstats}}{Object of class \code{"vector"} contains the test statistics (vector of two)}
    \item{\code{Radbound}}{Object of class \code{"numeric"} contains the Rademacher bound}
    \item{\code{Asymbound}}{Object of class \code{"numeric"} contains the asymptotic bound}
    
  }
}
\section{Methods}{
  \describe{ 
      \item{kernelf}{\code{signature(object = "kmmd")}: returns the
      kernel function used}
    \item{H0}{\code{signature(object = "kmmd")}: returns the value of H0
      being rejected}
     \item{AsympH0}{\code{signature(object = "kmmd")}: returns the value of H0
      being rejected according to the asymptotic bound}
    \item{mmdstats}{\code{signature(object = "kmmd")}: returns the values
      of the mmd statistics}
    \item{Radbound}{\code{signature(object = "kmmd")}: returns the
      value of the Rademacher bound}
    \item{Asymbound}{\code{signature(object = "kmmd")}: returns the
      value of the asymptotic bound}
      }
}

\author{Alexandros Karatzoglou\cr \email{alexandros.karatzoglou@ci.tuwien.ac.at}}

\seealso{
  \code{\link{kmmd}}, 
}
\examples{
# create data
x <- matrix(runif(300),100)
y <- matrix(runif(300)+1,100)


mmdo <- kmmd(x, y)

H0(mmdo)

}
\keyword{classes}