netkit.classifiers.active
Class RandomLabeling

java.lang.Object
  extended by netkit.classifiers.active.PickLabelStrategyImp
      extended by netkit.classifiers.active.RandomLabeling
All Implemented Interfaces:
PickLabelStrategy, Configurable

public class RandomLabeling
extends PickLabelStrategyImp


Nested Class Summary
 
Nested classes/interfaces inherited from interface netkit.classifiers.active.PickLabelStrategy
PickLabelStrategy.LabelNode
 
Field Summary
 
Fields inherited from class netkit.classifiers.active.PickLabelStrategyImp
iteration, logger
 
Constructor Summary
RandomLabeling()
           
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 java.lang.String getShortName()
           
protected  PickLabelStrategy.LabelNode[] pickNodes(Estimate predictions, int maxPicks)
          Get the list of nodes to get labels for.
 
Methods inherited from class netkit.classifiers.active.PickLabelStrategyImp
configure, getAverageRank, getAverageRank, getDefaultConfiguration, getIterationNum, getNetworkLearner, getNodesToLabel, getRank, getSplit, initialize, peek, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RandomLabeling

public RandomLabeling()
Method Detail

pickNodes

protected PickLabelStrategy.LabelNode[] pickNodes(Estimate predictions,
                                                  int maxPicks)
Description copied from class: PickLabelStrategyImp
Get the list of nodes to get labels for.

Specified by:
pickNodes in class PickLabelStrategyImp
maxPicks - how many nodes should it pick at maximum (this iteration)
Returns:
An array of Node objects that should receive labels. null is returned if done.

getDescription

public java.lang.String getDescription()

getName

public java.lang.String getName()

getShortName

public java.lang.String getShortName()