edu.cmu.minorthird.classify
Class RandomAccessDataset

java.lang.Object
  extended by edu.cmu.minorthird.classify.BasicDataset
      extended by edu.cmu.minorthird.classify.RandomAccessDataset
All Implemented Interfaces:
Dataset, Visible, Saveable, java.io.Serializable

public class RandomAccessDataset
extends BasicDataset

A dataset which supports random access to the examples.

Author:
William Cohen
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class edu.cmu.minorthird.classify.BasicDataset
BasicDataset.SimpleDatasetViewer
 
Nested classes/interfaces inherited from interface edu.cmu.minorthird.classify.Dataset
Dataset.Split
 
Field Summary
 
Fields inherited from class edu.cmu.minorthird.classify.BasicDataset
classNameSet, examples, featureFactory, unlabeledExamples
 
Constructor Summary
RandomAccessDataset()
           
 
Method Summary
 Example getExample(int i)
           
 java.lang.String toString()
          A string view of the dataset
 
Methods inherited from class edu.cmu.minorthird.classify.BasicDataset
add, add, addUnlabeled, getExtensionFor, getFeatureFactory, getFormatNames, getSchema, hasUnlabeled, iterator, iteratorOverUnlabeled, main, restore, saveAs, shallowCopy, shuffle, shuffle, size, sizeUnlabeled, split, toGUI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RandomAccessDataset

public RandomAccessDataset()
Method Detail

getExample

public Example getExample(int i)

toString

public java.lang.String toString()
Description copied from class: BasicDataset
A string view of the dataset

Overrides:
toString in class BasicDataset