SE Radio 594: Sean Moriarity on Deep Learning with Elixir and Axon

Topics covered
Popular Clips
Episode Highlights
Creation Purpose
Axon was born out of a need to demonstrate the capabilities of the NX project within the Elixir ecosystem. explains that the project began as a collaboration with Josef Alim, focusing on creating Elixir bindings for Google's XLA, a linear algebra compiler 1. The goal was to showcase the potential of deep learning by building Axon, which served as a practical application of NX's functionality. Sean emphasizes that deep learning is essentially a way to learn hierarchical representations of inputs, transforming them into structured outputs through layers of linear algebra 2.
Deep learning, I would say, is best described as a way to learn hierarchical representations of inputs.
---
This approach allows for complex problem-solving, such as image classification, by breaking down inputs into manageable components.
Functionality Features
Axon simplifies complex machine learning tasks in Elixir by leveraging minimal dependencies and focusing on essential components like Nx and Polaris. highlights that Axon uses gradient-based optimization techniques, such as stochastic gradient descent, to train models efficiently 3. The process involves creating a training loop that applies these optimizations to update model parameters iteratively. Sean notes that the majority of machine learning work involves data preparation, with model training being a smaller part of the process 4.
There's like a common trope in machine learning that like 90% of the work is working with data.
---
This approach ensures that Axon remains accessible and efficient for users, allowing them to focus on refining their models.
Integration Elixir
Axon integrates seamlessly with Elixir, leveraging its functional programming strengths to offer a robust machine learning framework. points out that Elixir's immutability posed challenges but also inspired innovative solutions, drawing from frameworks like Keras and PyTorch 5. This integration allows Axon to be familiar to users transitioning from Python, while still taking advantage of Elixir's unique capabilities. Sean asserts that the Elixir machine learning ecosystem is competitive with Python's, enabling developers to achieve significant results without relying on external libraries 6.
You can do a ton with a little in the Elixir ecosystem.
---
This makes Axon a powerful tool for developers looking to harness the power of machine learning within the Elixir environment.
Related Episodes


SE-Radio Episode 313: Conor Delanbanque on Hiring and Retaining DevOps
Answers 383 questions

SE-Radio-Episode-286-Katie-Malone-Intro-to-Machine-Learning
Answers 383 questions

SE Radio 611: Ines Montani on Natural Language Processing
Answers 383 questions

SE Radio 585: Adam Frank on Continuous Delivery vs Continuous Deployment
Answers 383 questions

SE-Radio Episode 288: DevSecOps
Answers 383 questions

SE Radio 625: Jonathan Schneider on Automated Refactoring with OpenRewrite
Answers 383 questions

SE Radio 619: James Strong on Kubernetes Networking
Answers 383 questions

SE-Radio Episode 296: Type Driven Development with Edwin Brady
Answers 383 questions

SE Radio 567: Dave Cross on GitHub Actions
Answers 383 questions

SE Radio 648: Matthew Adams on AI Threat Modeling and Stride GPT
Answers 383 questions

SE Radio 561: Dan DeMers on Dataware
Answers 383 questions

549-william-falcon-optimizing-deep-learning-models
Answers 383 questions

SE Radio 592: Jaxon Repp on Distributed Data Infrastructure
Answers 383 questions

SE Radio 600: William Morgan on Kubernetes Sidecars and Service Mesh
Answers 383 questions














