I have a data set of one feature as x ( no. Of years of experience) and output (salary in thousand dollars) as y
I have data from 1 year of experience to 17 years salary data and want to compute the salary after 25 years of experience. How can i calculate the function to solve the above problem on paper
I want to so this in my university exam
Yes this is a supervised machine learning task.
I would suggest you use a linear regression algorithm where you get the prediction by using gradient descent to obtain values for your weight and bias that minimise the cost function J(weight, bias).
I am available for more questions if you have any. Thanks