In the last section (Section 5: STEM activity), we used an excel function to find out the best-fitting line for the collected data. This method for finding the best fitting line is known as “Linear Regression”.
A screenshot of the Excel from section 5
As there may not exist a straight line that passes through all the given data points, we use a best-fitting line to represent the trend.
One of the applications of Artificial Intelligence (AI) is to find the pattern through the given data (or some refer to as “training data”) and use it to make predictions. For example, the relationship between the height of a person and the size of his shoes. To find the pattern, the computer is actually using linear regression. It finds the best-fitting line of the given data and uses the equation to make predictions.
However, it is very complicated to find the best-fitting line (you may read Mr Chan's article on page 65 of the School Mathematics Newsletter (Issue 23) for enrichment). Luckily, with what we have learnt on this website, we can make an estimation of the best-fitting line.
Please complete Worksheet AI1