Giter Club home page Giter Club logo

ai_kit-rs's People

Contributors

dereklucas avatar joshmarlow avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

dereklucas

ai_kit-rs's Issues

Add documentation

  • Update README to describe project goals
    • Flexible and performant
  • Describe core traits
  • Document Datum and Rule
  • Document how to use core algorithms with Datum and Rule
    • Provide small example of using something other than Datum

Remove s-expression code

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.

Add features for including parts of the library

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

Constraints should express more than numerical relations

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.

Rule application should support more expressive logic

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.