Learn practical skills, build real-world projects, and advance your career

Problem Statement : Using simple linear regression find What will be predicted score if a student studies for 9.25 hrs/ day?

Importing the Libraries

import pandas as pd
import numpy as np
from matplotlib import pyplot as plt
import seaborn as sns
%matplotlib inline

Importing Dataset

dataset="https://raw.githubusercontent.com/AdiPersonalWorks/Random/master/student_scores%20-%20student_scores.csv"
df=pd.read_csv(dataset)
df