Load Data and Train Neural Network Model - Deep Learning with PyTorch 6

Published: 12 June 2023
on channel: Codemy.com
43,234
1k

In this video we'll import the iris dataset and Train our Model!

We'll import the iris dataset as a CSV file, and then tweak the last column a bit.

Then we'll set up a Train/Test/Split and start to train the model using SKLearn and Pytorch.

#pytorch #codemy #JohnElder

Timecodes

0:00​​ - Introduction
0:51 - Import Matplot and Pandas
1:35 - Import our Iris Data
3:02 - Check DataFrame
3:31 - Change Last Column To Numbers
4:51 - Set X and y
5:51 - Convert X and y to Numpy Arrays
6:22 - Import SciKitLearn
6:45 - Train Test Split
8:14 - Convert To Tensors
9:56 - Set Criterion and Optimizer
13:38 - Train Our Model
16:28 - Keep Track of Losses
17:18 - Print Epochs and Losses
18:00 - Back Propagation
19:16 - Run The Training!
19:56 - Graph The Losses
21:55 - Conclusion


Watch video Load Data and Train Neural Network Model - Deep Learning with PyTorch 6 online without registration, duration hours minute second in high quality. This video was added by user Codemy.com 12 June 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 43,234 once and liked it 1 thousand people.