|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PickLabelStrategy
Nested Class Summary | |
---|---|
static class |
PickLabelStrategy.LabelNode
|
Method Summary | |
---|---|
java.lang.String |
getDescription()
|
java.lang.String |
getName()
|
PickLabelStrategy.LabelNode[] |
getNodesToLabel(DataSplit currentSplit,
Estimate currentPredictions,
int maxPicks)
Get the list of nodes to get labels for. |
double |
getRank(DataSplit currentSplit,
Estimate currentPredictions,
Node node)
Get the rank of the given node if the strategy were to pick the node. |
java.lang.String |
getShortName()
|
void |
initialize(NetworkLearner nl,
DataSplit split)
Initialize the label strategy by providing a reference to the NetworkLeaner object that calls the strategy, thereby giving it access to all information it is likely to need. |
PickLabelStrategy.LabelNode[] |
peek(DataSplit currentSplit,
Estimate currentPredictions,
int numPeek)
Get the list of nodes to get labels for... |
Methods inherited from interface netkit.util.Configurable |
---|
configure, getDefaultConfiguration |
Method Detail |
---|
PickLabelStrategy.LabelNode[] peek(DataSplit currentSplit, Estimate currentPredictions, int numPeek)
currentSplit
- Current datasplitcurrentPredictions
- Current predictions of the classifiernumPicks
- how many nodes should it peek at
null
is returned if done.
java.lang.UnsupportedOperationException
- if this is not supporteddouble getRank(DataSplit currentSplit, Estimate currentPredictions, Node node)
currentSplit
- Current datasplitcurrentPredictions
- Current predictions of the classifiernode
- the node whose rank is requested
java.lang.UnsupportedOperationException
- if this is not supportedPickLabelStrategy.LabelNode[] getNodesToLabel(DataSplit currentSplit, Estimate currentPredictions, int maxPicks)
currentSplit
- Current datasplitcurrentPredictions
- Current predictions of the classifiermaxPicks
- how many nodes should it pick at maximum (this iteration)
null
is returned if done.void initialize(NetworkLearner nl, DataSplit split)
nl
- The NetworkLearner object that will be calling this strategy.split
- The initial train/test split that this will be used onjava.lang.String getShortName()
java.lang.String getName()
java.lang.String getDescription()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |