EXPERIMENT2
EXPERIMENT2
2237804
CODE:
Conclusion:
Simple Linear Regression is an effective technique for modeling relationships between two
variables. In this experiment, we successfully trained and deployed a linear regression model
to predict salaries based on years of experience. The model's performance was evaluated
using MSE and R-squared score, demonstrating its accuracy in making predictions. Data
exploration steps further helped in understanding the dataset characteristics before applying
the model.
2237804