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

TASK 1: PREDICTION USING SUPERVISED MACHINE LEARNING

GRIP@ THE SPARKS FOUNDATION

AUTHOR:ABHISHEK BINDHANI

Predicting the percentage of a student expected to score based on the number of study hours using simple linear regression as it involves just two variables

Technical Stack:- Scikit Learn, Numpy Array, Pandas, Matplotlib

# IMPORTING ALL THE REQUIRED LIBRARIES
from sklearn.model_selection import train_test_split 
from sklearn.linear_model import LinearRegression
import matplotlib.pyplot as plt
import pandas as pd
import numpy as np

Step 1 Reading the data from the source