Skip to content

ishakhoud/DSA_problem_predictor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“Š DSA Progress Prediction using Simple Linear Regression

This project uses Simple Linear Regression to predict how many problems can be solved based on the number of days of practice.


๐Ÿš€ Project Idea

The goal of this project is to understand and implement a basic Machine Learning model that predicts:

๐Ÿ“ˆ Number of problems solved (output)
based on
โณ Number of days practiced (input)


๐Ÿง  Concepts Used

  • Simple Linear Regression
  • Data Visualization (Matplotlib)
  • Train-Test Split
  • Model Training & Prediction

๐Ÿ“‚ Dataset

The dataset is manually created and represents a learning pattern over time.

Days Problems Solved
1 1
2 6
4 10
... ...

โš™๏ธ Tech Stack

  • Python ๐Ÿ
  • Pandas
  • NumPy
  • Matplotlib
  • Scikit-learn

๐Ÿ“ˆ Model Workflow

  1. Load dataset using Pandas
  2. Split data into training and testing sets
  3. Train model using LinearRegression()
  4. Visualize results using scatter plot + regression line
  5. Predict future outcomes

๐Ÿ”ฎ Example Prediction

model.predict([[23]])

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors