Regression A prediction comes out within a range of any continuous value such as weight, age, speed. Linear Regression The purpose is finding one straight line that best fits the training data. And find the values of W and b for the best straight line. It is used for finding linear relationship between dependent and one or more predictors.x------>y affectx : affect to y, predictor or independent..