epfl.experiment
Class P6VectorClassSizeAdapter

java.lang.Object
  |
  +--epfl.classifier.VectorClassSizeAdapter
        |
        +--epfl.experiment.P6VectorClassSizeAdapter
All Implemented Interfaces:
VectorReader

public class P6VectorClassSizeAdapter
extends VectorClassSizeAdapter

A double vector class size adapter for problem P6. For each read vector, the class index is decoded and put in currentClassIndex.


Constructor Summary
P6VectorClassSizeAdapter(VectorReader in)
          Creates a new size adapter
 
Methods inherited from class epfl.classifier.VectorClassSizeAdapter
close, currentClassIndex, currentClassRepresentation, nClasses, period, read, size
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

P6VectorClassSizeAdapter

public P6VectorClassSizeAdapter(VectorReader in)
Creates a new size adapter
Parameters:
in - the underlying vector reader The stream size is in.size() - 1