MATH-1167
Use user-specified threshold to allow detection of singular matrix. [Reported, with fix, by Neil Ireson.]
This commit is contained in:
parent
9786ad4de8
commit
301ad59214
|
@ -73,6 +73,10 @@ Users are encouraged to upgrade to this version as this release not
|
|||
2. A few methods in the FastMath class are in fact slower that their
|
||||
counterpart in either Math or StrictMath (cf. MATH-740 and MATH-901).
|
||||
">
|
||||
<action dev="erans" type="fix" issue="MATH-1167" due-to="Neil Ireson">
|
||||
"o.a.c.m.stat.regression.OLSMultipleLinearRegression": Use threshold
|
||||
when performing "QRDecomposition".
|
||||
</action>
|
||||
<action dev="tn" type="fix" issue="MATH-1165" due-to="Pashutan Modaresi">
|
||||
"FuzzyKMeansClusterer" has thrown an exception in case one of the data
|
||||
points was equal to a cluster center.
|
||||
|
|
|
@ -233,7 +233,7 @@ public class OLSMultipleLinearRegression extends AbstractMultipleLinearRegressio
|
|||
@Override
|
||||
protected void newXSampleData(double[][] x) {
|
||||
super.newXSampleData(x);
|
||||
qr = new QRDecomposition(getX());
|
||||
qr = new QRDecomposition(getX(), threshold);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue