p3(run.go): actually call explicit least squares
This commit is contained in:
parent
97cf99e988
commit
49359cc549
@ -54,6 +54,14 @@ func run() error {
|
||||
|
||||
thetaT := lrls.TransposeTheta(theta)
|
||||
|
||||
// explicit method does not return theta and errs directly, instead
|
||||
// it's computed by a Matlab script and the resulting data is saved in
|
||||
// `./data`.
|
||||
_, _, err = lrls.Estimate(0, data[u], data[y])
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
log.Printf("len(data): %d", len(data[u]))
|
||||
|
||||
log.Printf("means - u: %v, y: %v", meanU, meanY)
|
||||
|
Loading…
Reference in New Issue
Block a user