Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created May 19, 2021 14:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/15e6df8c334ec75bdfddd6f079088f8a to your computer and use it in GitHub Desktop.
Save amankharwal/15e6df8c334ec75bdfddd6f079088f8a to your computer and use it in GitHub Desktop.
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
from sklearn.model_selection import train_test_split
from sklearn.linear_model import LinearRegression
data = pd.read_csv("https://raw.githubusercontent.com/amankharwal/Website-data/master/advertising.csv")
print(data.head())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment