Question: Imagine you are going to start working as a data scientist in a company. One of your tasks is to check if you can form
Imagine you are going to start working as a data scientist in a company. One of your tasks is to check if you can form a linear/polynomial regression model for a small dataset which has an independent variable and a dependent variable. As you have a small dataset, you would first plot the data and see the following relationship between your dependent and independent dataset.


plt. scatter (independent, dependent plt. xlabel( ' independent variable" ) pit. ylabel( "dependent variable" ) pit. show( ) 30 70 dependent variable 10 10 4 -10 -20 30 10 15 20 30 independent variable\f
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
