Skip to content

Conversation

lwsinclair
Copy link

Having + b in the calculation biases the results. It give you a regression like y = Wx + W2b + e where e~N(0,1). You effectively add the error term into the regression. The result looks a bit like having a hidden constant term in the model. Using regular linear regression, the coefficient estimate (W) is 0.36, and removing +b, you get exactly the same results with this tf version.

Having  + b in the calculation biases the results.  It give you a regression like y = W*x + W2*b + e where e~N(0,1). You effectively add the error term into the regression. The result looks a bit like having a hidden constant term in the model.  Using regular linear regression, the coefficient estimate (W) is 0.36, and removing +b, you get exactly the same results with this tf version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant