-
Book Overview & Buying
-
Table Of Contents
Mastering .NET Machine Learning
By :
Regressions attempt to predict one number given a set of different numbers. For example, imagine we had a box where we enter in a number and another number comes out:

I enter the number 1 into the box, and the number 6 comes out. Then, I enter another 1 into the box and the number 7 comes out. I do this five times and I get the following results:
1 -> 6 1 -> 7 1 -> 6 1 -> 5 1 -> 6
Before entering in another one, what do you think the output will be? You probably guessed 6. However, if I asked you whether you were 100% sure that 6 would come out, you would say, "no, but it will probably be 6." In fact, you might say that 6 has a 60% chance of coming out based on prior experience (three sixes in five total attempts).
What you are doing mentally is a kind of regression. Typically, linear regressions are written using a formula like this:
y = x0 + x1 + x2 + E
Here, y is the number you want to predict and x0, x1, and x2 are some numbers that might...
Change the font size
Change margin width
Change background colour