Learn practical skills, build real-world projects, and advance your career
Updated 3 years ago
Prediction using Supervised ML
To Predict the percentage of marks of the students based on the number of hours they studied
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
from sklearn.model_selection import train_test_split
from sklearn.linear_model import LinearRegression
from sklearn.metrics import mean_absolute_error
path_link="https://raw.githubusercontent.com/AdiPersonalWorks/Random/master/student_scores%20-%20student_scores.csv"
data=pd.read_csv(path_link)
data
#First 5 Records
data.head()