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

in pandas •  2 years ago 

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

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE BLURT!