Professional Documents
Culture Documents
Assignment 12 - Data Science Using Python
Assignment 12 - Data Science Using Python
1. Create a table in mysql databse with columns as ‘company name’, ‘emp_id’, ‘yr of
exp’ , ‘salary’ with emp_id as primary key
2. Insert some data from python to above table
3. Convert the above mysql table to cvs and save it to your machine
4. Check for the linearity in your data
5. Read that file and fit a Simple Linear regression model to find the salary of an
employee depending on yr of exp
6. Find RMSE and R2 score to find the accuracy and error .