edu.cmu.minorthird.classify.relational
Class StackedGraphicalLearner.StackingParams

java.lang.Object
  extended by edu.cmu.minorthird.classify.relational.StackedGraphicalLearner.StackingParams
Enclosing class:
StackedGraphicalLearner

public static class StackedGraphicalLearner.StackingParams
extends java.lang.Object

Bundle of parameters for the StackedGraphicalLearner.


Field Summary
 Splitter<Example> splitter
           
 int stackingDepth
           
 boolean useConfidence
           
 boolean useLogistic
           
 boolean useTargetPrediction
           
 
Constructor Summary
StackedGraphicalLearner.StackingParams()
           
 
Method Summary
 int getCrossValSplits()
           
 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 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

stackingDepth

public int stackingDepth

useLogistic

public boolean useLogistic

useTargetPrediction

public boolean useTargetPrediction

useConfidence

public boolean useConfidence

splitter

public Splitter<Example> splitter
Constructor Detail

StackedGraphicalLearner.StackingParams

public StackedGraphicalLearner.StackingParams()
Method Detail

getUseLogisticOnConfidences

public boolean getUseLogisticOnConfidences()
If true, adjust all class confidences by passing them thru a logistic function


setUseLogisticOnConfidences

public void setUseLogisticOnConfidences(boolean flag)

getUseConfidences

public boolean getUseConfidences()
If true, use confidence in class predictions as weight for that feature.


setUseConfidences

public void setUseConfidences(boolean flag)

getUseTargetPrediction

public boolean getUseTargetPrediction()
If true, adjust all class confidences by passing them thru a logistic function


setUseTargetPrediction

public void setUseTargetPrediction(boolean flag)

getStackingDepth

public int getStackingDepth()
Number of iterations of stacking to use


setStackingDepth

public void setStackingDepth(int newStackingDepth)

getCrossValSplits

public int getCrossValSplits()

setCrossValSplits

public void setCrossValSplits(int newCrossValSplits)