Welcome to Salary Prediction GUI, an interactive project designed to predict salaries based on years of experience using linear regression. This project includes a user-friendly GUI for easy data loading, model training, and visualization of results.
This project includes two main components:
Number | Task | Description | Code |
---|---|---|---|
1. | 📈 Linear Regression Model | Predict salaries based on years of experience using a linear regression model. | Code |
2. | 🖥️ GUI Interface | Launch the GUI to load data, train the model, and visualize the results. | Code |
To try out the project, you can run it directly on Replit:
-
Run the Replit Project: Run Project on Replit
-
Load Data:
- Click on the "Load Data" button to select the CSV file containing the data.
-
Train Model:
- Click on the "Train Model" button to train the linear regression model and visualize the results.
-
Python: The primary programming language used for this project.
-
Scikit-learn: For machine learning models.
-
Matplotlib: For data visualization.
-
Tkinter: For the graphical user interface.
-
Scripts:
main.py
: Main script to load data, train the linear regression model, and visualize the results through the GUI.
Integrated the Dracula theme to enhance the visual appeal and usability of the GUI and plots. The colors have been customized for background, text, and plot elements to provide a consistent and pleasant user experience.
Interested in contributing? Fork the repository, create a new branch, and submit a pull request.
This project is open-source. Feel free to use and modify the code as needed.