Skip to content
/ tmu Public
forked from cair/tmu

Implements the Tsetlin Machine, Coalesced Tsetlin Machine, Convolutional Tsetlin Machine, Regression Tsetlin Machine, and Weighted Tsetlin Machine, with support for continuous features, drop clause, Type III Feedback, focused negative sampling, multi-task classifier, autoencoder, literal budget, and one-vs-one multi-class classifier. TMU is written

License

Notifications You must be signed in to change notification settings

akkadhim/tmu

 
 

Repository files navigation

Tsetlin Machine Unified (TMU) - One Codebase to Rule Them All

License Python VersionMaintenance

TMU is a comprehensive repository that encompasses several Tsetlin Machine implementations. Offering a rich set of features and extensions, it serves as a central resource for enthusiasts and researchers alike.

Features

📦 Installation

Prerequisites for Windows

Before installing TMU on Windows, ensure you have the MSVC build tools. Follow these steps:

  1. Download MSVC build tools
  2. Install the Workloads → Desktop development with C++ package. (Note: The package size is about 6-7GB.)

Dependencies

Ubuntu: sudo apt install libffi-dev

Installing TMU

To get started with TMU, run the following command:

pip install git+https://github.com/cair/tmu.git

🛠 Development

If you're looking to contribute or experiment with the codebase, follow these steps:

  1. Clone the Repository:

    git clone [email protected]:cair/tmu.git
  2. Set Up Development Environment: Navigate to the project directory and compile the C library:

    cd tmu && pip install develop .
  3. Starting a New Project: For your projects, simply create a new folder within 'examples' and initiate your development.

Modifying the C Codebase

If you make changes to the C codebase, ensure you recompile the code using:

pip install develop .

About

Implements the Tsetlin Machine, Coalesced Tsetlin Machine, Convolutional Tsetlin Machine, Regression Tsetlin Machine, and Weighted Tsetlin Machine, with support for continuous features, drop clause, Type III Feedback, focused negative sampling, multi-task classifier, autoencoder, literal budget, and one-vs-one multi-class classifier. TMU is written

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 50.8%
  • C 44.3%
  • Cuda 4.9%