Reader small image

You're reading from  Deep Learning with MXNet Cookbook

Product typeBook
Published inDec 2023
Reading LevelBeginner
PublisherPackt
ISBN-139781800569607
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Andrés P. Torres
Andrés P. Torres
author image
Andrés P. Torres

Andrés P. Torres, is the Head of Perception at Oxa, a global leader in industrial autonomous vehicles, leading the design and development of State-Of The-Art algorithms for autonomous driving. Before, Andrés had a stint as an advisor and Head of AI at an early-stage content generation startup, Maekersuite, where he developed several AI-based algorithms for mobile phones and the web. Prior to this, Andrés was a Software Development Manager at Amazon Prime Air, developing software to optimize operations for autonomous drones.
Read more about Andrés P. Torres

Right arrow

Training for classification models

In this recipe, we will visit the basic concepts of training a model to solve a classification problem. We will apply them to optimize the classification model we previously defined in this chapter, combined with the usage of the loss functions and evaluation metrics we discussed.

We will predict the iris class of flowers using the dataset seen in the second recipe, Toy dataset for classification – load, manage, and visualize Iris dataset, from Chapter 2, Working with MXNet and Visualizing Datasets: Gluon and DataLoader.

Getting ready

In this recipe, we will follow a similar pattern as we did in Chapter 3, Solving Regression Problems, in the third recipe, Training for regression models, so it will be interesting to revisit the concepts of the loss function, optimizer, dataset split, epochs, and batch size.

How to do it...

In this recipe, we will create our own training loop and we will evaluate how each hyperparameter influences...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Deep Learning with MXNet Cookbook
Published in: Dec 2023Publisher: PacktISBN-13: 9781800569607

Author (1)

author image
Andrés P. Torres

Andrés P. Torres, is the Head of Perception at Oxa, a global leader in industrial autonomous vehicles, leading the design and development of State-Of The-Art algorithms for autonomous driving. Before, Andrés had a stint as an advisor and Head of AI at an early-stage content generation startup, Maekersuite, where he developed several AI-based algorithms for mobile phones and the web. Prior to this, Andrés was a Software Development Manager at Amazon Prime Air, developing software to optimize operations for autonomous drones.
Read more about Andrés P. Torres