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.classifier
Class ParzenClassifier<T>

    java.lang.Object
      fr.lip6.classifier.ParzenClassifier<T>

Type Parameters:
  `T` - type of input space

All Implemented Interfaces:
  Classifier<T>, java.io.Serializable

    public class ParzenClassifier<T>

extends java.lang.Object
implements Classifier<T>, java.io.Serializable

Classification tool using a Parzen window

Author:
  dpicard
See Also:
  Serialized Form

Constructor Summary
`ParzenClassifier(Kernel<T> kernel)`

Method Summary
`void` | `train(java.util.ArrayList<TrainingSample<T>> t)` Replace the current training and train the classifier
`void` | `train(TrainingSample<T> t)` Add a single example to the current training set and train the classifier
`double` | `valueOf(T e)` Computes the category of the provided example

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

Constructor Detail

### ParzenClassifier

    public ParzenClassifier(Kernel<T> kernel)

Method Detail

### train

    public void train(TrainingSample<T> t)

  Description copied from interface: `Classifier`
  Add a single example to the current training set and train the classifier

  Specified by:
    `train` in interface `Classifier<T>`
  Parameters:
    `t` - the training sample

### train

    public void train(java.util.ArrayList<TrainingSample<T>> t)

  Description copied from interface: `Classifier`
  Replace the current training and train the classifier

  Specified by:
    `train` in interface `Classifier<T>`
  Parameters:
    `t` - list of training samples

### valueOf

    public double valueOf(T e)

  Description copied from interface: `Classifier`
  Computes the category of the provided example

  Specified by:
    `valueOf` in interface `Classifier<T>`
  Parameters:
    `e` - example
  Returns:
    >0. if e belongs to the category, <0. if not.

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