moses: (minor) its an estimate not an exact result
Merge github.com:/opencog/opencog into moses
lru_cache: assert on zero-sized cache.

Its gonna crash anyway, so at least add an informational message.
feat-sel algo: reduce complexity

Reduce the overall complexity of the implementation.
feat-sel: initialize fsel parameters

Set up the feature-selection parameters with some kind of non-insane
values, as otherwise the compiler will insert random crashproducing
values :-(
feat-sel: add debug prints to incremental

Help make sure passed parameters are not crazy.
fea-sel:  start enabling contin-based fsel

Its starting to work, kind-of. Expose it in the command.
feat-sel: start enabling contin feat-sel

Its starting to work, expose it in the user interface.  Beta.
Some more work needed.
feat-sel: when its a double use a double.

Do not treat doubles as ints. Under various cases, the compiler
can sometimes cause garbage bits to appear in lsb of doubles
when int is assigned. Avoid this.  Also, avoid any knife-edge
tests (do NOT compare to 0.0, as that can fail!)
feat-sel: do not print the final score

Do not print score.  Why?
1) Its totally misleading, since this computes the score of
   all of the terms, interacting together.
2) This can be a huge performance killer for the smd scorer.
   i.e this can takes vast amounts of cpu time,
3) The contin MI scorer does not support interaction terms > 1
feat-sel: enable contin unit-test

The contin feature-selection now seems to be working, so enable
the unit-test for it.  It actually passes.
combo table: remove debug prints.

The code is supposed to work, now, so remove the debug prints.
feat-sel: final fixes to pass the unit test

I dunnno. I am not convinced that the KLD code is working correctly.
The results seem to be kind-of wierd/unexpected.  I'll have to
investigate more, before we can really call contin fsel "done".
moses: Enable on-the-fly feature selection for all

Enable it for all problem types.  The goal here is to reduce time
wasted in knob building, which can spin out of control for big, nasty
problem types.
util counter: add a 'most frequent count' method.

Sometimes, one only wants the single most poular value counted
by the counter.  Add an easy-to-use method to return that.
moses: change the knob-building feat-sel algo

Change the knob-building feature selection algo so that it picks those
features that are most highly correlated with incorrect results from
the exemplar.  The hope is that theas features can then be incorporated
in such a way that they fix whatever is wrong.
moses: change default settings for integrated fsel

I think that the simple algo will provide a faster, more effective
set of features.  We'll let hill-climbing figure which ones really
are the best.
combo: clarify the documentation for infer_arity()

It does what I think it did. I checked. I exanded the documentation to
make this more clear.
moses: ctor args are const

They're const, may as wel declare them as such.
moses: use feature selection to expand the deme

Rathar than capping knob building to a fixed number of features,
instead, allow knob building to slowly expand the number of features
that it uses, each time, adding those most likely to be useful.