Chapter 2Get Comfortable with Nx
In the previous chapter, you built your first machine learning model using Nx, Axon, Explorer, and Kino. You might have noticed that most of the code helped to wrangle the data into a form your algorithm could use—the Nx.Tensor. As you read through this book, you’ll see that much of your time will be spent working with data rather than writing algorithms, so you’ll need to be comfortable manipulating data with Nx. In this chapter, you’ll dive deeper into Nx and learn why Nx is the foundational library of the Elixir machine learning ecosystem.
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.