English

Comparing neural network training performance between Elixir and Python

Machine Learning 2022-10-26 v1 Programming Languages

Abstract

With a wide range of libraries focused on the machine learning market, such as TensorFlow, NumPy, Pandas, Keras, and others, Python has made a name for itself as one of the main programming languages. In February 2021, Jos\'e Valim and Sean Moriarity published the first version of the Numerical Elixir (Nx) library, a library for tensor operations written in Elixir. Nx aims to allow the language be a good choice for GPU-intensive operations. This work aims to compare the results of Python and Elixir on training convolutional neural networks (CNN) using MNIST and CIFAR-10 datasets, concluding that Python achieved overall better results, and that Elixir is already a viable alternative.

Cite

@article{arxiv.2210.13945,
  title  = {Comparing neural network training performance between Elixir and Python},
  author = {Lucas C. Tavano and Lucas K. Amin and Adolfo Gustavo Serra-Seca-Neto},
  journal= {arXiv preprint arXiv:2210.13945},
  year   = {2022}
}
R2 v1 2026-06-28T04:27:25.057Z