mirror of
https://github.com/Relintai/pmlpp.git
synced 2024-11-13 13:57:19 +01:00
24 lines
461 B
C++
24 lines
461 B
C++
|
|
#ifndef MLPP_HYPOTHESIS_TESTING_H
|
|
#define MLPP_HYPOTHESIS_TESTING_H
|
|
|
|
|
|
#include "core/math/math_defs.h"
|
|
|
|
#include "core/object/reference.h"
|
|
|
|
#include <tuple>
|
|
#include <vector>
|
|
|
|
class MLPPHypothesisTesting : public Reference {
|
|
GDCLASS(MLPPHypothesisTesting, Reference);
|
|
|
|
public:
|
|
std::tuple<bool, real_t> chiSquareTest(std::vector<real_t> observed, std::vector<real_t> expected);
|
|
|
|
protected:
|
|
static void _bind_methods();
|
|
};
|
|
|
|
#endif /* HypothesisTesting_hpp */
|