Let Data Speak Using Regression & Plots
from pathlib import Path
DATA_DIR = Path("/kaggle/input")
if (DATA_DIR / "ucfai-core-fa18-linear-regression").exists():
DATA_DIR /= "ucfai-core-fa18-linear-regression"
else:
# You'll need to download the data from Kaggle and place it in the `data/`
# directory beside this notebook.
# The data should be here: https://kaggle.com/c/ucfai-core-fa18-linear-regression/data
DATA_DIR = Path("data")