Quantcast
Channel: Math.NET Numerics
Viewing all articles
Browse latest Browse all 971

New Post: How to do a weighted polynomial fit?

$
0
0
Thanks Christoph,
that is exactly what I needed ;-)


Optimization hint (not sure):
In WeightedRegression the lines like
return x.TransposeThisAndMultiply(w*x).Cholesky().Solve(x.Transpose()*(w*y));
can be rewritten to
return x.TransposeThisAndMultiply(w*x).Cholesky().Solve(x.TransposeThisAndMultiply(w*y));
Also DiagonalMatrixStorage shouldn't be used at the moment, as they are not optimized and therefor slow.

Viewing all articles
Browse latest Browse all 971

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>