- Timestamp:
- 07/18/16 12:26:03 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CrossPare/src/de/ugoe/cs/cpdp/dataselection/MahalanobisOutlierRemoval.java
r117 r135 97 97 RealMatrix inverseCovariance; 98 98 try { 99 inverseCovariance = 100 new LUDecomposition(new Covariance(values).getCovarianceMatrix()).getSolver() 101 .getInverse(); 102 } catch(SingularMatrixException e) { 103 Console.traceln(Level.WARNING, "could not perform Mahalanobis outlier removal due to singular covariance matrix"); 99 inverseCovariance = new LUDecomposition(new Covariance(values).getCovarianceMatrix()) 100 .getSolver().getInverse(); 101 } 102 catch (SingularMatrixException e) { 103 Console 104 .traceln(Level.WARNING, 105 "could not perform Mahalanobis outlier removal due to singular covariance matrix"); 104 106 return; 105 107 }
Note: See TracChangeset
for help on using the changeset viewer.