Skip to content
New issue

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

MOSES fails to run when boosting is enabled #63

Open
Habush opened this issue Sep 22, 2018 · 2 comments
Open

MOSES fails to run when boosting is enabled #63

Habush opened this issue Sep 22, 2018 · 2 comments

Comments

@Habush
Copy link

Habush commented Sep 22, 2018

I am trying to run MOSES with the --boost option set to true(1) to enable boosting. However, MOSES keeps failing by throwing the following exception:

terminate called after throwing an instance of 'opencog::AssertionException'
what(): bscore error not implemented for bscorer N7opencog5moses19ctruth_table_bscoreE (/home/xabush/moses/moses/moses/scoring/scoring_base.cc:116)

Here the full command line options that I used:

  moses -i train_temp_5b910dc42ae73d236f57cc08 -o 5b910dc42ae73d236f57cc08_fold_0_seed_941 --random-seed=941  '--balance=1' 
 '--boost=1'  '--boost-promote=2'  '--enable-fs=1'  '--fs-algo=simple'  '--fs-target-size=4'  '--hc-widen-search=1'  '--reduct-knob-building-effort=1'  '--result-count=100'  -W1  -j 8 -m 10000
@chamorajg
Copy link

Can I take up this issue and work on it ?

@linas
Copy link
Member

linas commented Jul 13, 2020

That code used to work, so, sure. Looks like there is some shared-library linkage problem; the executable wasn't linked correctly.

The meta-issue is that boosting, as a feature in moses, is not very useful. It sounds good, if you blur your eyes and don't think about it much, but, due to the nature of how moses works, boosting is nearly useless/harmful (unlike other machine-learning algos where it makes a big difference). It only works in a corner-case of the parameter space, and that corner is unused in real-world usage scenarios.

Since the boost code introduces extra complexity, while being effectively useless, it might be better to just #ifdef it out or remove entirely. This might be of particular interest for as-moses -- FYI -- @Habush

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants