|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.cmu.minorthird.classify.sequential.CMMTweaker
public class CMMTweaker
Adjust the precision-recall of a CMM that is based on an array of hyperplanes, by adjusting the bias term of the hyperplane associated with the background (NEG) class. This is intended mainly for adjusting precision-recall performance of extractors learned by CollinsPerceptronLearner and CRFLearner.
| Field Summary |
|---|
| Fields inherited from interface edu.cmu.minorthird.classify.sequential.SequenceConstants |
|---|
HISTORY_FEATURE, NULL_CLASS_NAME |
| Constructor Summary | |
|---|---|
CMMTweaker()
|
|
| Method Summary | |
|---|---|
double |
newBias()
Return the value of bias term after tweaking. |
double |
oldBias()
Return the value of bias term before the last tweak. |
CMM |
tweak(CMM cmm,
double bias)
Return a copy of a CMM in which the one bias term, for the hyperplane corresponding to the NEG class, has been changed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CMMTweaker()
| Method Detail |
|---|
public double oldBias()
public double newBias()
public CMM tweak(CMM cmm,
double bias)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||