Skip to content

The library for the revised Cobweb family: the incremental concept formation system and its variations.

License

Notifications You must be signed in to change notification settings

Teachable-AI-Lab/cobweb

Repository files navigation

Very Fast Cobweb

See (cobweb/README.md)

Installation

Some of the modules depend on Eigen3, which can be installed on mac with the following: brew install eigen.

It can be installed on ubuntu with the following: sudo apt install libeigen3-dev

Afterwards navigate to the project root directory and run pip install .

Extra features in Very Fast Cobweb

Intergrated Rapidjson for fast model loading

Attribute types are now changed to int from CachedString

Use wandb to profile the ifit function.

You can set mode in ifit function

  • mode=0: evaluating all four tree operations everytime
  • mode=1: using insert (BEST) operation only
  • mode=2: randomly select one of the four operations after identifying two best children
  • mode=3: using insert (BEST) operation, and with a small probability, use mode=0 to get current tree operation

Todos

[] Support streamline json model saving [] Investigate high memory usage during inference

Test

About

The library for the revised Cobweb family: the incremental concept formation system and its variations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •