Learning with Elixir
With your problem scoped, it’s time to dive into the code. First, you’ll need to have a working installation of Elixir. This is a book on machine learning in Elixir, so you’ll need Elixir to run the code! For the examples in this book to work, you’ll need at least Elixir version 1.14. The easiest way to install Elixir is through a version manager like asdf.[2] If you have asdf installed, you’ll first need to install Erlang:
| $ asdf install erlang 25.0.2 |
This installs Erlang/OTP version 25.0.2. Next, you can install Elixir:
| $ asdf install elixir 1.14.3 |
This will install Elixir version 1.14.3. You can verify everything worked by running this:
| $ elixir --version |
And you’ll see the following:
| Erlang/OTP 25 [erts-13.0.2] [source] ... |
Get Machine Learning in Elixir now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.