We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Good first part to #28 : Extract a small API to set the modes directly in Java instead of loading them from a file every time.
Running something like this:
package edu.wisc.cs.will; import edu.wisc.cs.will.Boosting.Common.RunBoostedModels; public class RunToyCancer { public void runToyCancerLearnInfer() { String[] trainArgs = {"-l", "-train", "/toy_cancer/train/", "-target", "cancer", "-trees", "10"}; RunBoostedModels.main(trainArgs); String[] testArgs = {"-i", "-model", "/toy_cancer/train/models/", "-test", "/toy_cancer/test/", "-target", "cancer"}; RunBoostedModels.main(testArgs); } }
Passes a list of _pos, _neg, _facts, and _bk files between objects, eventually ending up as buffered readers in ILPOuterLoop and LearnOneClause.
_pos
_neg
_facts
_bk
ILPOuterLoop
LearnOneClause
Start with something like this:
public void runTC() { String newline = System.getProperty("line.separator"); String localModes = String.join( newline, "usePrologVariables: true.", "mode: friends(+person,-person).", "mode: friends(-person,+person).", "mode: smokes(+person).", "mode: cancer(+person)." ); // Fill // String[] trainArgs = {""}; RunBoostedModels.newMain(trainArgs, localModes); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Good first part to #28 : Extract a small API to set the modes directly in Java instead of loading them from a file every time.
Running something like this:
Passes a list of
_pos
,_neg
,_facts
, and_bk
files between objects, eventually ending up as buffered readers inILPOuterLoop
andLearnOneClause
.Start with something like this:
The text was updated successfully, but these errors were encountered: