public final class CRFState
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
GroundFindFormulaMap |
formFinder |
GroundingLimits |
groundingLimits |
LearningState |
learningState |
CheckNegatedGround |
negGrnd |
FormulaFindGroundRand |
posGrnd |
SimpleTransaction |
transaction |
Constructor and Description |
---|
CRFState() |
Modifier and Type | Method and Description |
---|---|
void |
addFormula(Formula f) |
void |
addObjective(double objective) |
void |
addWeight(double w) |
void |
addWeight(Learnable l,
double w) |
java.util.ArrayList<ScanTerm> |
allMatch(ATerm... probe) |
void |
beginDelta() |
boolean |
endDelta() |
void |
evidence(ScanTerm t) |
static CRFState |
getCRFState(java.lang.String fileContents) |
CRFDescription |
getDescription() |
FocusIndicatorState |
getFocusIndicators() |
double |
getObjectiveScore() |
ATerm[] |
getQuicksave() |
double |
getWeight() |
IDeltaWeight |
getWorldWeight() |
boolean |
isTrue(ScanTerm t) |
void |
loadDescription(CRFDescription desc) |
void |
loadParamters(java.lang.String parameterContents) |
void |
mapInference(MaximumAPost map,
int proposalCount,
double epsilon) |
void |
mapInference(MaximumAPost map,
int proposalCount,
double epsilon,
int reportEvery) |
void |
marginalInference(int burnIn,
int proposalCount,
IMarginal marginal) |
void |
newProblem() |
void |
newValue(ProposalFunction f,
double value) |
double |
nowFalse(ScanTerm t) |
double |
nowTrue(ScanTerm t) |
void |
printTruth() |
void |
removeFormula(Formula f) |
java.lang.String |
stringParameters() |
TrainingAnalysis |
train(int burnIn,
int proposalCount,
double minAccept,
com.ibm.bluej.util.common.FunST<ScanTerm,java.lang.Boolean> trackImprovementIn) |
public FormulaFindGroundRand posGrnd
public CheckNegatedGround negGrnd
public GroundFindFormulaMap formFinder
public SimpleTransaction transaction
public LearningState learningState
public GroundingLimits groundingLimits
public static CRFState getCRFState(java.lang.String fileContents)
public void loadDescription(CRFDescription desc)
public CRFDescription getDescription()
public ATerm[] getQuicksave()
public void addFormula(Formula f)
public void removeFormula(Formula f)
public FocusIndicatorState getFocusIndicators()
public void loadParamters(java.lang.String parameterContents)
public java.lang.String stringParameters()
public double getWeight()
public IDeltaWeight getWorldWeight()
public void addWeight(Learnable l, double w)
public void addWeight(double w)
public void beginDelta()
public boolean endDelta()
public void addObjective(double objective)
public double getObjectiveScore()
public TrainingAnalysis train(int burnIn, int proposalCount, double minAccept, com.ibm.bluej.util.common.FunST<ScanTerm,java.lang.Boolean> trackImprovementIn)
public void marginalInference(int burnIn, int proposalCount, IMarginal marginal)
public void mapInference(MaximumAPost map, int proposalCount, double epsilon)
public void mapInference(MaximumAPost map, int proposalCount, double epsilon, int reportEvery)
public boolean isTrue(ScanTerm t)
public double nowTrue(ScanTerm t)
public double nowFalse(ScanTerm t)
public void evidence(ScanTerm t)
public void newValue(ProposalFunction f, double value)
public void newProblem()
public void printTruth()