Supervised machine learning

Adil Maqsood

0

Data Modelling Analyst

Data Scientist

ML Engineer

Jupyter Notebook

Python

scikit-learn

Summary
first imported necessary libraries, including pandas, numpy, matplotlib, and scikit-learn.
than loaded and explored the dataset, which contains information about students' study hours and their corresponding scores.
than visualized the relationship between study hours and scores using a scatter plot, which revealed a clear positive linear correlation.
and prepared the data for training by separating it into independent variable (study hours) and dependent variable (scores).
after that, split the data into training and testing sets, with 80% used for training and 20% for testing.
than trained a simple linear regression model using scikit-learn's LinearRegression class.
I made predictions on the testing data using the trained model.
I calculated the predicted score for a student who studies for 9.25 hours per day.
To visualize the results, I created a scatter plot of the data points and overlaid the regression line generated by the model.
Like this project
0

Posted Oct 11, 2023

GRIP tasks of "data science and business analytics" on supervised machine learning.

Likes

0

Views

0

Tags

Data Modelling Analyst

Data Scientist

ML Engineer

Jupyter Notebook

Python

scikit-learn

Adil Maqsood

Interactive Dashboard & ML Expert

GitHub - adilmaqsood1/Data-Science-Projects: EDA and data scien…
GitHub - adilmaqsood1/Data-Science-Projects: EDA and data scien…
Samsung electronics stock historical prices
Samsung electronics stock historical prices