Learn practical skills, build real-world projects, and advance your career
!pip install jovian --upgrade --quiet

This simple linear regression task is to predict the percentage of a student based on the number of study hours. This task involves only 2 variables.

# Importing all libraries required in this notebook
import pandas as pd
import numpy as np  
import matplotlib.pyplot as plt  
%matplotlib inline

Import data from remote file

# Reading data from remote link
url = "http://bit.ly/w-data"
a_data = pd.read_csv(url)
print("Data imported successfully")

a_data.head(10)
Data imported successfully