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

in #pandas2 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

Coin Marketplace

STEEM 0.13
TRX 0.24
JST 0.032
BTC 85285.95
ETH 2117.33
USDT 1.00
SBD 0.63