mirror of
https://github.com/Relintai/pmlpp.git
synced 2024-12-22 15:06:47 +01:00
26 lines
407 B
C++
26 lines
407 B
C++
|
|
#ifndef MLPP_HYPOTHESIS_TESTING_H
|
|
#define MLPP_HYPOTHESIS_TESTING_H
|
|
|
|
//
|
|
// HypothesisTesting.hpp
|
|
//
|
|
// Created by Marc Melikyan on 3/10/21.
|
|
//
|
|
|
|
#include "core/math/math_defs.h"
|
|
|
|
#include <tuple>
|
|
#include <vector>
|
|
|
|
|
|
class MLPPHypothesisTesting {
|
|
public:
|
|
std::tuple<bool, real_t> chiSquareTest(std::vector<real_t> observed, std::vector<real_t> expected);
|
|
|
|
private:
|
|
};
|
|
|
|
|
|
#endif /* HypothesisTesting_hpp */
|