TEIL C Library

The C Library is available to download at: https://github.com/asergiobranco/teil-c/releases.

Available ML Algorithms

Algorithm Task Documentation
Decision Tree Classification readthedocs
Decision Tree Regression readthedocs
Multi-Layer Percepton Classification readthedocs
Multi-Layer Percepton Regression readthedocs
SVM (Linear) Classification readthedocs
SVM (Linear) Regression readthedocs
SVM (RBF) Classification readthedocs
SVM (RBF) Regression readthedocs
SVM (Polynomial) Classification readthedocs
SVM (Polynomial) Regression readthedocs
PCA Dimensionality Reduction / Decomposition
Gaussian Naive Bayes Classification
Multinomial Naive Bayes Classification

Compile the Code

One approach, if you are uing GCC, is to use the following command to compile your code and add TEIL

gcc -I /path/to/src *.c /path/to/teil.a -o main -lm

Docker

We provide an official Docker image to easily compile any model. To pull the image please use the following command:

docker pull asergiobranco/teil-gcc

This will pull the compiling image (note that the python package is not included in this).

Once downloaded, one can run the container with:

docker run -it -v ./:/workspace asergiobranco/teil-gcc

This will open the bash, which allows your to compile the model using the command:

root:/workspace$ gcc *.c -o main -lm -lteil

URL
Download https://github.com/asergiobranco/teil-c/releases
Github https://github.com/asergiobranco/teil-c
Documentation https://teil.readthedocs.io
Issues