Python / Live sample
def train(model, data):
    for epoch in range(10):
        loss = model.learn(data)
        print(f"epoch {epoch}: {loss:.3f}")

train(neural_net, classroom_data)
Room310 / Study / Python

Learn Python,
then go deeper.

Start with the foundations, run the examples as you learn, then continue into data structures, testing, files, and object behavior.

Course 01

Python Foundations

Begin here if you are new to Python.

Ready after the foundations / New course

Learn deep learning with PyTorch.

Go from Python numbers to a small neural network you can explain. Six lessons cover neurons, gradients, tensors, training, testing, and saving your model. Advanced Python is not required.

Open the deep learning course โ†’
Course 02

Advanced Python

Continue with larger data structures, concise patterns, testing, files, decorators, and object behavior.