diff --git a/src/shared/filt/VarianceCounter.java b/src/shared/filt/VarianceCounter.java index 0207440f..390558b5 100644 --- a/src/shared/filt/VarianceCounter.java +++ b/src/shared/filt/VarianceCounter.java @@ -57,11 +57,6 @@ public int countLeft(double varianceToKeep) { public int countRight(double varianceToKeep) { int toKeep = 0; double kept = 0; -// while (belowThreshold < toKeep && -// eigenValues.get(eigenValues.m() - belowThreshold - 1, -// eigenValues.m() - belowThreshold - 1) < threshold) { -// belowThreshold++; -// } for (int ii = eigenValues.m() - 1; ii >= 0; ii--) { double var = eigenValues.get(ii, ii) / sum; if (kept + var > varianceToKeep) {