LOTlib has been deprecated in favor of LOTlib3.
Please use LOTlib3 instead:
Lanugage of Thought (LOT) models in Python.
License: Other
LOTlib has been deprecated in favor of LOTlib3.
Please use LOTlib3 instead:
Testing proposals is out of date.
This is out of date with bound variable names and grammar.log_probability(). It needs a rewrite.
CCG example out of date
Quantifier example out of date.
It looks like there was a change in LOTlib.Evaluation.Eval.evaluate_expression that breaks the FunctionalNodeDemo. Error below
Traceback (most recent call last):
File "FunctionNodeDemo.py", line 106, in <module>
f = evaluate_expression(t, args=['x'])
TypeError: evaluate_expression() got an unexpected keyword argument 'args'
hi there,
is this project still supported and if so could I help by getting this on pypi so people can install it in a more usual way? (e.g., pip install lotlib
)
Hello,
I'm tinkering with the decay model outlined in MemoryDecay.py in the LOT examples. I'm getting a deprecation error when running the code:
"*** Use of 'args' is deprecated. Use display='...' instead."
at the line:
h0 = MyHypothesis(grammar, ll_decay=1.0, rrAlpha=1.0, args=['x'])
-Ian
This kind of thing should be allowed but currently is not:
grammar.add_rule('FUNCTION', 'lambda', ['START'], 1.0, bv_type='OBJECT')
grammar.add_rule('FUNCTION', 'lambda', ['START'], 1.0, bv_type='BOOL', bv_args=['OBJECT'])
grammar.add_rule('FUNCTION', 'lambda', ['START'], 1.0, bv_type='BOOL', bv_args=['OBJECT', 'OBJECT'])
A workaround is
grammar.add_rule('FUNCTION', 'lambda', ['START1'], 1.0, bv_type='OBJECT')
grammar.add_rule('FUNCTION', 'lambda', ['START2'], 1.0, bv_type='BOOL', bv_args=['OBJECT'])
grammar.add_rule('FUNCTION', 'lambda', ['START3'], 1.0, bv_type='BOOL', bv_args=['OBJECT', 'OBJECT'])
grammar.add_rule('START1', '', ['START'], 1.0)
grammar.add_rule('START2', '', ['START'], 1.0)
grammar.add_rule('START3', '', ['START'], 1.0)
but this should be fixed eventually.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.