joshmarlow / ai_kit-rs Goto Github PK
View Code? Open in Web Editor NEWA library of classic AI algorithms that aim to be ergonomic and easily used.
License: MIT License
A library of classic AI algorithms that aim to be ergonomic and easily used.
License: MIT License
PApply
- (how) does it relate to Apply
? Probably not.
If we allow Apply::apply
to return multiple results, then we could just encode the probabilities into each U
that is constructed.
Rule application should support more expressive logic
Constraints should express more than numerical relations
Not all features of the library will be needed by all application. Features that would be nice to add:
with-planner
- controls if the planner
module is built
with-inference
- controls if the infer
module is built
with-datum
- controls if the datum
module is built
with-constraint
- controls if the constraints
module is built
with-pedigree
- controls if the pedigree
module is built
Currently infer::Rule implements the Apply trait's apply method by just checking if all arguments match the provided data.
This effectively means that the preconditions for a Rule form a conjunction. It would be better if we could express all of boolean logic - conjunctions, disjunctions and negations to capture more complex rules.
I'm leaning toward a rule always having a fixed list of 'inputs', and some logic indicating 'trigger' patterns for those inputs.
Probably Travis CI
Make it faster! The initial implementation was built as fast as possible and so uses a probably very inefficient algorithm.
Investigate using Skeptic to ensure that code examples are buildable https://github.com/brson/rust-skeptic
Datum
and Rule
Datum
and Rule
Datum
This will allow implementation of many-to-many relationships in a triple store.
Currently there is some ugly s-expression parsing/generation code that I would like to replace with serde
for serialization/deserialization.
This will involve reworking many tests.
Currently we can only specify the relations among numbers in the constraint library.
It would be nice if we could handle cases like this:
Ensure that one datetime is greater than another.
Ensure that the difference between two datetimes is greater than some amount.
Ensure that two variable values (as strings) are not the same.
This can probably be done by replacing the Unify
trait with a custom ConstraintValue
trait. Ideally we could just lean into PartialOrd
, Add
, etc traits for this. However, the fact that datetimes cannot be added (but time deltas can be!) complicates this. ConstraintValue
might should just wrap datetime handling, but the semantics of adding datetimes is not obvious.
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.