This Python code analyzes the relationship between students' study habits and their academic performance using linear regression. It begins by importing libraries such as NumPy, Pandas, and Plotly. The dataset "Student_Marks.csv" is loaded to visualize how study time and the number of courses affect marks through a scatter plot with a trendline. The data is split into training and testing sets (80% training, 20% testing), and a linear regression model is fitted to the training data. The model's accuracy is evaluated, and it is used to predict marks for a specific study time and number of courses, helping educators understand factors influencing student performance.
-
Notifications
You must be signed in to change notification settings - Fork 0
Ankush0286/Marks-Predictor-using-Plot
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published