Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## fr.lip6.kernel
Class GaussCh1<T extends MLVector<?>>

    java.lang.Object
      fr.lip6.kernel.Kernel<T>
          fr.lip6.kernel.GaussCh1<T>

Type Parameters:
  `T` -

    public class GaussCh1<T extends MLVector<?>>

extends Kernel<T>

Gaussian kernel using "Chi 1" distance :
k(x,y) = exp(d(x,y)), with d Chi1 distance. The Chi1 distance is similar to a Chi square distance, but with Math.abs() instead of Math.pow().

Author:
  dpicard

Constructor Summary
`GaussCh1()`

Method Summary
`double` | `valueOf(T t1)` kernel similarity to zero
`double` | `valueOf(T t1, T t2)` compute the kernel similarity between two element of input space

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### GaussCh1

    public GaussCh1()

Method Detail

### valueOf

    public double valueOf(T t1)

  Description copied from class: `Kernel`
  kernel similarity to zero

  Specified by:
    `valueOf` in class `Kernel<T extends MLVector<?>>`
  Parameters:
    `t1` - the element to compute the similarity to zero

### valueOf

    public double valueOf(T t1,
                          T t2)

  Description copied from class: `Kernel`
  compute the kernel similarity between two element of input space

  Specified by:
    `valueOf` in class `Kernel<T extends MLVector<?>>`
  Parameters:
    `t1` - first element
    `t2` - second element
  Returns:
    the kernel value

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD