FluxML Course




What's in this preview?

We want you to get the feel for typical Groxio content and the reasons we provide each type of content. Each Groxio module comes in four scheduled releases consisting of the central PDF, videos, and resource links. Later releases have projects as well. You can see part of the first release here.

Elegant Machine Learning for Julia



Buy Course Today!



Preview PDF!




Release Schedule: 2021-03-01 through 2021-05-10

Version: March 22, 2021


Just $70.00, A La Carte
(other options available)




Programmer Passport FluxML






Why a book?

The scientific teaching method we follow is the Dreyfus learning model. Books provide the metaphors experts need to build context, step-by-step instructions for beginners, and the exercises that intermediates need to learn.

Itinerary


1. Explore Flux: FizzBuzz

2. Price Prediction, Math (March 22)

3. Tailoring Flux (April 19)

4. Image Recognition (May 10)

Why an itinerary?

The itinerary is a virtual guide. This optional list describes the highlights of each release to maximize your learning time.

Description

The FluxML machine learning library is an umbrella for several different Julia ML libraries. These cutting edge Auto Differentiation libraries mean your models will learn faster with less training, You can use FluxML to solve computer vision problems, classify data, or predict prices based on working examples from the model zoo, and tailor solutions to your own use. FluxML gives you the option of piecing together predefined loss functions, optimizers, activation functions, and model layers or crafting pieces yourself since it is Julia all the way down.


Put them together and you get an environment that’s purpose built for high performance without sacrificing elegance.

History

The rise of complexity of ML solutions has led to a greater adoption of general purpose languages, but such solutions had to sacrifice either performance or productivity. Julia was created to step into this gap. FluxML makes use of much of the power of Julia. Language features enable Zygote to rapidly compute the gradients that are the heart of ML systems. Processor compilation support for GPUs and TPUs gives FluxML high performance out of the box without any additional support. Julia’s elegant multiple dispatch allows models, otpimizers, and data processing to resemble the math they are based on.




Course Objectives

Groxio courses focus on concepts rather than features. Since Groxio’s audience has more programmers than data scientists, we’ll spend most of our time focusing on breaking through the dense math concepts that are woven through the FluxML documentation to help you build a strong intuition for the concepts behind the curtain.


We’ll start with a FizzBuzz project to demonstrate the concepts of neural networks and FluxML.


When you’re done, you’ll be able to:

  1. Shape your data for FluxML.

  2. Construct layered FluxML models, matching dimensions and including activation functions.

  3. Train a FluxML model to report progress.

  4. Identify the type of ML problems you’re solving, and apply the appropriate FluxML example to problems ranging from home pricing, image detection, classification, and text processing.

Videos

Public & Private




Why videos?

Groxio language modules have two kinds of videos. Our overview videos set the history and context of a language, or wrap up the work we've done, and are free to support language ecosystems. Our coding instruction videos, mostly starting with the second release, are paid content, and each one offers a live coding project.

Every learning level benefits from pair programming. Our videos are professional, but do not scrub away every tiny mistake. That way, you can see how experienced programmers deal with errors and changes in code organization.

Video

1. FluxML: Why Julia?

FluxML is a machine learning library. The Julia Language plays a huge role in its success. In this video, you'll learn why language choice is important, and the role that performance, productivity, and transparency play in the process.
Subscriber content

Video

2. Machine Learning Stages

The machine learning (ML) cycle. This video explores the process you'll use in a ML project at a high level. You will learn how to recognize the key elements of the cycle, from modeling, to the training process, and making predictions, and we'll introduce some FluxML code.
Subscriber content

Video

3. Machine Learning Math

FluxML models and training depend on several important mathematical concepts. You don't have to learn them all overnight, but you do need to know about them so you have a basic understanding of the concepts at play. This video focuses on math sugar in FluxML.
Subscriber content

Video

4. Evaluate and Optimize Stages

The L in ML means learning. The mechanisms under the hood are evaluation and optimization functions. After watching this video, you'll gain a high level understanding of how those concepts work together in a neural net.
Subscriber content

Video

5. Explore a Project in the Console

Dissect a FluxML model from the model zoo from the console. The best way to learn coding concepts is to explore code from experienced developers. You'll go through one of the introductory models to see a working FluxML example.
Subscriber content

6. FluxML in Pluto Notebooks

Explore a model from the FluxML model zoo from the console. The best way to learn coding concepts is to explore code from experienced developers. The Pluto notebook lets you do so while pausing to enter code as you go.

Video

7. Housing as a Linear Regression

One of the most common data models is a linear regression. Take a basic linear regression and solve it with Flux. Many simple Julia solutions exist, but building and training a Flux model step by step in Pluto will build your intuition for how Dense layers work under the hood.
Subscriber content

Video

8. Housing with Flux Abstractions

Rewrite key parts of the housing linear regression example in Pluto to use Flux abstractions for modeling, loss, and training. First, replace the model with an off-the-shelf Dense model. Then, use the MSE Flux loss function to compute mean squared error. Finally, use a classic Flux training loop.
Subscriber content

Video

9. ML Math, Simple Data

This video builds the intuition for what's happening in machine learning on the model side. Start with a simple line, and see how tailoring a model works by tailoring the slope and bias constants. That understanding will pay dividends when it's time to solve more sophisticated problems in the future.
Subscriber content

10. ML Math, Multidimensional Data

This video picks up the basic linear example, and adds in multidimensional data. See how operators work with multidimensional data. Learn metaphors to help you think through how matrix multiplication works, and how the dimensions will impact each layer of the solution. Then, see how Flux manages dimensions across layers.

Julia, Flux, and AD - Chris Rackauckas

In this short video Bruce Tate, author of Seven More Languages in Seven Weeks and Groxio founder, interviews Chris Rackauckas, builder of the scientific machine learning FluxML library for the Julia Language.

Community Resources

Cool quick trips for FluxML




Why resource links?

Each new chapter has a set of links, separated into three categories. The categories reflect different competency levels and resources that match that stage of learning, for each Groxio release.

Learn It

These resources will get you on the path to learning with background information, tooling and exercises.

Do It

You decide how deep to go. These resources are exercises and projects to cement your learning.

Grok It

These resources will help you put your new knowledge into context so you'll be better at your everyday job.

Projects

Longer Excursions (chapters 3 and 4)






Why projects?

The Dreyfus model is originally instruction for pilots. A typical pilot course is based on reading material to understand context, and then flying a plane. Our videos and PDFs are important, but in the end, programmers need to program in order to learn. Our projects offer different levels of assistance, from "give me the answer" to "make this test pass".