Simple Usage
java -cp WILL.jar edu.wisc.cs.Boosting.RDN.RunBoostedRDN [Args]
Args
-l : Use this flag, if you want to enable learning.
-i : Use this flag, if you want to enable inference.
-noBoost : Use this flag, if you dont want to use Boosting.
-train <Training directory> : Path to the training directory
in WILL format.
-test <Testing directory> : Path to the testing directory in
WILL format.
-model <Model directory> : Path to the directory with the
stored models[or where they will be stored]. Default
location: "Training directory"/models
-target <target predicates> : Comma separated list of
predicates that need to be learned/inferred.
-trees <Number of trees>: Number of Boosting trees. Default: 20.
Ignored if noBoost is set.
-step <Step Length>: Default step length for functional
gradient. Default: 1.
-modelSuffix <suffix> All the trees/models are saved with this
suffix appended to the filenames.
-aucJarPath <path to auc.jar> If this is not set correctly,
AUC values are not computed.
-testNegPosRatio <Negative/Positive ratio>: Ratio of
negatives to positive for testing. Default: 2.
Set to -1 to disable sampling.
MLN-specific Args
-mln : Set this flag, if you want to learn MLNs instead of RDNs
-mlnClause : Set this flag, if you want to learn MLNs via clausal representation. If not set, the tree representation will be used.
-numMLNClause : If -mlnclause is set, set the number of clauses learned during each gradient step.
-mlnClauseLen : If -mlnclause is set, set the length of the clauses learned during each gradient step.