Skip to content
/ rsetlin Public

Toy rust implementation of a Tsetlin machine

Notifications You must be signed in to change notification settings

aleeve/rsetlin

Repository files navigation

RSetlin

Toy tsetlin machine implemented in rust, if you are looking something real please consider https://github.com/cair/tmu

Developer setup

  • Make sure you installed rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
brew install pipx
pipx ensure path

see https://pypa.github.io/pipx/installation/ for alternative methods

  • Then install maturin
pipx install maturin
  • Create a venv, for example at the root of the project
python3 -m venv .venv

Develop

  • Activate the venv
source .venv/bin/activate
  • Build the rust libs and and install them in the active venv
maturin develop

repeat this step when for testing new changes to the rust code

About

Toy rust implementation of a Tsetlin machine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published