diff --git a/mlpp/hypothesis_testing/hypothesis_testing_old.cpp b/mlpp/hypothesis_testing/hypothesis_testing_old.cpp index cf32344..c5d1896 100644 --- a/mlpp/hypothesis_testing/hypothesis_testing_old.cpp +++ b/mlpp/hypothesis_testing/hypothesis_testing_old.cpp @@ -8,10 +8,10 @@ std::tuple MLPPHypothesisTestingOld::chiSquareTest(std::vector observed, std::vector expected) { //real_t df = observed.size() - 1; // These are our degrees of freedom - real_t sum = 0; - for (uint32_t i = 0; i < observed.size(); i++) { - sum += (observed[i] - expected[i]) * (observed[i] - expected[i]) / expected[i]; - } + //real_t sum = 0; + //for (uint32_t i = 0; i < observed.size(); i++) { + // sum += (observed[i] - expected[i]) * (observed[i] - expected[i]) / expected[i]; + //} return std::tuple(); }