$24.99
CST8233: Lab #9
Simple Linear regression
Objective
The objective of this lab is to familiarize the student with the theory topics covered in
Week 8. Mainly, this lab focuses on Simple Linear regression
Earning
To earn your mark for this lab, each student should finish the lab’s requirements within the
lab session and demonstrate the working code to the instructor.
Discussion
Write a program to implement the simple least fit linear regression algorithm.
The program asks the user to input the data then prints the predicted equation.
Your output should be like the following example :