Codemy avatar

Train / Test Split for Linear Regression - Pandas For Machine Learning 27

codemy

Published: 27 Mar 2023 › Updated: 27 Mar 2023Train / Test Split for Linear Regression - Pandas For Machine Learning 27

Train / Test Split for Linear Regression - Pandas For Machine Learning 27

In this video we'll start to dive into Linear Regression by setting up are Train / Test split.

We'll use Scikit-Learn to do the heavy lifting here.

First we'll place our data into X and y variables, then we'll create X_train, and X_test sets, as well as y_train and y_test sets.

We'll also look at the shapes of each of those things.

▶️ Watch The Entire Pandas Playlist
https://bit.ly/3wDKct8

✅ Subscribe To My YouTube Channel:
http://bit.ly/2IGzvOR

▶️ See More At:
https://Codemy.com

✅ Join My Facebook Group:
http://bit.ly/2GFmOBz

▶️ Learn to Code at https://Codemy.com
Take 50% off with coupon code: youtube50

✅ Buy a Codemy T-Shirt!
http://bit.ly/2VC9WUN

▶️ Get The Code!
https://bit.ly/3PXPJBt

Leave Train / Test Split for Linear Regression - Pandas For Machine Learning 27 to:

Written by

Learn to Code at Codemy.com

Read more #pandas posts


Best Posts From Codemy

We have not curated any of codemy's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From Codemy