Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Data Science using Python assignments

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 .

     

You might also like