A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
6
Task/Multiple-regression/J/multiple-regression-3.j
Normal file
6
Task/Multiple-regression/J/multiple-regression-3.j
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
mp=: +/ .* NB. matrix product
|
||||
NB. %.X is matrix inverse of X
|
||||
NB. |:X is transpose of X
|
||||
|
||||
(%.(|:X) mp X) mp (|:X) mp y
|
||||
128.814 _143.163 61.9606
|
||||
Loading…
Add table
Add a link
Reference in a new issue