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.type
Class TrainingSample<T>

    java.lang.Object
      fr.lip6.type.TrainingSample<T>

Type Parameters:
  `T` -

All Implemented Interfaces:
  java.io.Serializable

    public class TrainingSample<T>

extends java.lang.Object
implements java.io.Serializable

Simple class of training sample that contains the generic of sample and the associated label.

Author:
  dpicard
See Also:
  Serialized Form

Field Summary
`int` | `label`
`T` | `sample`

Constructor Summary
`TrainingSample(T t, int l)`

Method Summary

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

Field Detail

### sample

    public T sample

### label

    public int label

Constructor Detail

### TrainingSample

    public TrainingSample(T t,
                          int l)

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