An open Algebraic Machine Learning (AML) engine for building models and performing inference. Designed for community-driven exploration and research in AML.
The current version has been tested on Linux.
cffinetworkx(only forexample03)matplotlib(only forexample03)
cd aml/aml_fast
python build_amlFastLibrary.pyFrom the root folder, where setup.py is placed, run the following command:
python -m pip install -e .Note that the command ends with a dot.
Detailed information and tutorials on the engine can be found at the AML Engine API webpage.
Interactive demos also available on Google Colab:
If you plan to run example04_mnist.py you will need to obtain the MNIST dataset and place the files in Examples/mnist_datasets (the path can be modified in MNIST.py):
- t10k-images-idx3-ubyte
- t10k-labels-idx1-ubyte
- train-images-idx3-ubyte
- train-labels-idx1-ubyte
The dataset can be downloaded from Yann Lecun MNIST database or Huggingface.
Work done with this engine should be cited with Algebraic Machine Learning: Learning as computing an algebraic decomposition of a task.
It is possible that AVX or SSE are not supported.
If that is the case, remove the following lines from build_amlFastLibrary.py.
"-msse2",
"-march=core-avx2",This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 952091.
