pmlpp/mlpp/hypothesis_testing/hypothesis_testing.h

24 lines
461 B
C
Raw Normal View History

2023-01-24 18:57:18 +01:00
#ifndef MLPP_HYPOTHESIS_TESTING_H
#define MLPP_HYPOTHESIS_TESTING_H
2023-01-27 13:01:16 +01:00
#include "core/math/math_defs.h"
#include "core/object/reference.h"
#include <tuple>
2023-01-24 19:00:54 +01:00
#include <vector>
class MLPPHypothesisTesting : public Reference {
GDCLASS(MLPPHypothesisTesting, Reference);
2023-01-24 19:20:18 +01:00
2023-01-24 19:00:54 +01:00
public:
2023-01-27 13:01:16 +01:00
std::tuple<bool, real_t> chiSquareTest(std::vector<real_t> observed, std::vector<real_t> expected);
protected:
static void _bind_methods();
2023-01-24 19:00:54 +01:00
};
2023-01-24 19:20:18 +01:00
#endif /* HypothesisTesting_hpp */