![]() |
#1
|
|||
|
|||
![]()
For our linear regression implementation, do we include x0 in as part of our original X matrix? If we do, that means our original vector X=(x0, x1, x2) would then be transposed to XT=(x2, x1, x0).
|
#2
|
||||
|
||||
![]()
Transposition changes column to row and vice versa, but not the order of the elements within the column/row.
__________________
Where everyone thinks alike, no one thinks very much |
#3
|
|||
|
|||
![]()
That makes more sense to me! So I assume we are including our constant (x0) in our matrix since we want the final results to provide three weight values?
|
#4
|
||||
|
||||
![]() Quote:
In the mathematical formulation, ![]() ![]() ![]() ![]()
__________________
Where everyone thinks alike, no one thinks very much |
#5
|
|||
|
|||
![]()
Without x0=1, our line (or hyperplane) would be constrained to go through the origin, which would very rarely be useful.
|
![]() |
Thread Tools | |
Display Modes | |
|
|