Can I read Salary Prediction via Experience Analysis on EtoBox?
Salary Prediction via Experience Analysis by Yagnesh Vyas is a document available to read on EtoBox.
What is Salary Prediction via Experience Analysis about?
The document presents a linear regression model to predict salary based on years of experience. It loads and explores the dataset, prepares the data by separating features and target, trains a linear regression model on 80% of the data, tests it on the remaining 20%, and achieves a high R2 score of 92.78% when comparing predicted vs actual salaries on the test data. Finally, it plots the actual and predicted salaries to visualize the model performance.
- Author
- Yagnesh Vyas
- Language
- EN