edu.cmu.minorthird.classify.semisupervised
Interface SemiSupervisedActions

All Known Implementing Classes:
SemiSupervisedDataset

public interface SemiSupervisedActions

A set of semisupervised examples available for semi-supervised learning.

Author:
Edoardo Airoldi Date: Mar 15, 2004

Method Summary
 void addUnlabeled(Instance instance)
          Add a new semisupervised example to the dataset.
 boolean hasUnlabeled()
          Return whether the Dataset contains semisupervised examples available for semi-supervisedd learning.
 java.util.Iterator<Instance> iteratorOverUnlabeled()
          Return an iterator over all the semisupervised examples.
 int sizeUnlabeled()
          Return the number of semisupervised examples.
 

Method Detail

addUnlabeled

void addUnlabeled(Instance instance)
Add a new semisupervised example to the dataset.


iteratorOverUnlabeled

java.util.Iterator<Instance> iteratorOverUnlabeled()
Return an iterator over all the semisupervised examples. This iterator must always return examples in the order in which they were added, unless the data has been shuffled.


sizeUnlabeled

int sizeUnlabeled()
Return the number of semisupervised examples.


hasUnlabeled

boolean hasUnlabeled()
Return whether the Dataset contains semisupervised examples available for semi-supervisedd learning.