|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.cmu.minorthird.classify.sequential.StackedSequenceLearner.StackingParams
public static class StackedSequenceLearner.StackingParams
Bundle of parameters for the StackedSequenceLearner.
Field Summary | |
---|---|
int |
futureSize
|
int |
historySize
|
Splitter<Example[]> |
splitter
|
int |
stackingDepth
|
boolean |
useConfidence
|
boolean |
useLogistic
|
boolean |
useTargetPrediction
|
Constructor Summary | |
---|---|
StackedSequenceLearner.StackingParams()
|
Method Summary | |
---|---|
int |
getCrossValSplits()
|
int |
getFutureSize()
Number of instances after the current target for which the predicted class will be used as a feature. |
int |
getHistorySize()
Number of instances before the current target for which the predicted class will be used as a feature. |
int |
getStackingDepth()
Number of iterations of stacking to use |
boolean |
getUseConfidences()
If true, use confidence in class predictions as weight for that feature. |
boolean |
getUseLogisticOnConfidences()
If true, adjust all class confidences by passing them thru a logistic function |
boolean |
getUseTargetPrediction()
If true, adjust all class confidences by passing them thru a logistic function |
void |
setCrossValSplits(int newCrossValSplits)
|
void |
setFutureSize(int newFutureSize)
|
void |
setHistorySize(int newHistorySize)
|
void |
setStackingDepth(int newStackingDepth)
|
void |
setUseConfidences(boolean flag)
|
void |
setUseLogisticOnConfidences(boolean flag)
|
void |
setUseTargetPrediction(boolean flag)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int historySize
public int futureSize
public int stackingDepth
public boolean useLogistic
public boolean useTargetPrediction
public boolean useConfidence
public Splitter<Example[]> splitter
Constructor Detail |
---|
public StackedSequenceLearner.StackingParams()
Method Detail |
---|
public int getHistorySize()
public void setHistorySize(int newHistorySize)
public int getFutureSize()
public void setFutureSize(int newFutureSize)
public boolean getUseLogisticOnConfidences()
public void setUseLogisticOnConfidences(boolean flag)
public boolean getUseConfidences()
public void setUseConfidences(boolean flag)
public boolean getUseTargetPrediction()
public void setUseTargetPrediction(boolean flag)
public int getStackingDepth()
public void setStackingDepth(int newStackingDepth)
public int getCrossValSplits()
public void setCrossValSplits(int newCrossValSplits)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |