BoostSRL icon indicating copy to clipboard operation
BoostSRL copied to clipboard

No Boosting giving error

Open rodrigoazs opened this issue 8 years ago • 3 comments

Hello,

When I set the -noBoost paramenter I am getting the following error:

Exception in thread "main" edu.wisc.cs.will.Utils.WILLthrownError: Probability was not set at edu.wisc.cs.will.Utils.Utils.error(Utils.java:484) at edu.wisc.cs.will.Boosting.RDN.RegressionRDNExample.getProbOfExample(RegressionRDNExample.java:176) at edu.wisc.cs.will.ILP.Regression.RegressionInfoHolderForRDN.populateExamples(RegressionInfoHolderForRDN.java:111) at edu.wisc.cs.will.ILP.SingleClauseNode.getRegressionInfoHolder(SingleClauseNode.java:1840) at edu.wisc.cs.will.ILP.SingleClauseNode.regressionFit(SingleClauseNode.java:1503) at edu.wisc.cs.will.ILP.SingleClauseNode.regressionFit(SingleClauseNode.java:1405) at edu.wisc.cs.will.ILP.ScoreRegressionNode.scoreThisNode(ScoreRegressionNode.java:35) at edu.wisc.cs.will.stdAIsearch.OpenList.insertByScoreIntoOpenList(OpenList.java:107) at edu.wisc.cs.will.stdAIsearch.OpenList.insertByScoreIntoOpenList(OpenList.java:216) at edu.wisc.cs.will.ILP.InitializeILPsearchSpace.initializeOpen(InitializeILPsearchSpace.java:187) at edu.wisc.cs.will.stdAIsearch.StateBasedSearchTask.initialize(StateBasedSearchTask.java:373) at edu.wisc.cs.will.stdAIsearch.StateBasedSearchTask.performSearchIteration(StateBasedSearchTask.java:505) at edu.wisc.cs.will.stdAIsearch.StateBasedSearchTask.performSearch(StateBasedSearchTask.java:440) at edu.wisc.cs.will.ILP.LearnOneClause.performSearch(LearnOneClause.java:1684) at edu.wisc.cs.will.ILP.LearnOneClause.performSearch(LearnOneClause.java:1708) at edu.wisc.cs.will.ILP.ILPouterLoop.executeOuterLoop(ILPouterLoop.java:686) at edu.wisc.cs.will.Boosting.RDN.LearnBoostedRDN.getWILLTree(LearnBoostedRDN.java:396) at edu.wisc.cs.will.Boosting.RDN.LearnBoostedRDN.learnRDN(LearnBoostedRDN.java:234) at edu.wisc.cs.will.Boosting.RDN.LearnBoostedRDN.learnNextModel(LearnBoostedRDN.java:129) at edu.wisc.cs.will.Boosting.RDN.RunBoostedRDN.learn(RunBoostedRDN.java:390) at edu.wisc.cs.will.Boosting.Common.RunBoostedModels.learnModel(RunBoostedModels.java:77) at edu.wisc.cs.will.Boosting.RDN.RunBoostedRDN.runJob(RunBoostedRDN.java:42) at edu.wisc.cs.will.Boosting.Common.RunBoostedModels.main(RunBoostedModels.java:220)

What am I doing wrong?

Thank you.

rodrigoazs avatar Apr 21 '18 23:04 rodrigoazs

Hey @rodrigoazs, -noBoost has been broken since before we began using git. I don't think it's anything you're doing wrong, fixing it is on the list of TODOs.

hayesall avatar Apr 21 '18 23:04 hayesall

A suggestion is that you could instead run the code with numTrees set to 1 and maxTreeDepth to a larger number say 6-10. This will make sure that you still learn one regression tree.

We will fix this and push the code out in the next week. Thanks for bringing this to our attention.

Thanks Sriraam

On Apr 21, 2018, at 6:29 PM, Alexander L. Hayes <[email protected]mailto:[email protected]> wrote:

Hey @rodrigoazshttps://github.com/rodrigoazs, -noBoost has been broken since before we began using git. I don't think it's anything you're doing wrong, fixing it is on the list of TODOs.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/starling-lab/BoostSRL/issues/16#issuecomment-383341117, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXip1bH9y4KC032yyfbkhvhMZY_tdI94ks5tq8DTgaJpZM4TeqCr.

boost-starai avatar Apr 22 '18 13:04 boost-starai

I was about to ask if they were equivalent. Thank you.

rodrigoazs avatar Apr 23 '18 12:04 rodrigoazs