Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Preparing the Iris Dataset | Section
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
PyTorch Essentials for ML Engineer

bookChallenge: Preparing the Iris Dataset

Task

Swipe to start coding

  1. Create a TensorDataset.
  2. Wrap the TensorDataset in a DataLoader with a batch size of 32 and shuffling enabled.

Solution

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 16
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

close

bookChallenge: Preparing the Iris Dataset

Swipe to show menu

Task

Swipe to start coding

  1. Create a TensorDataset.
  2. Wrap the TensorDataset in a DataLoader with a batch size of 32 and shuffling enabled.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 16
single

single

some-alt