2023-01-24 18:57:18 +01:00
|
|
|
|
|
|
|
#ifndef MLPP_OUTLIER_FINDER_H
|
|
|
|
#define MLPP_OUTLIER_FINDER_H
|
|
|
|
|
2023-01-23 21:13:26 +01:00
|
|
|
//
|
|
|
|
// OutlierFinder.hpp
|
|
|
|
//
|
|
|
|
// Created by Marc Melikyan on 11/13/20.
|
|
|
|
//
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
|
2023-01-24 19:20:18 +01:00
|
|
|
|
2023-01-25 00:54:50 +01:00
|
|
|
class MLPPOutlierFinder {
|
2023-01-24 19:00:54 +01:00
|
|
|
public:
|
|
|
|
// Cnstr
|
2023-01-25 00:54:50 +01:00
|
|
|
MLPPOutlierFinder(int threshold);
|
2023-01-23 21:13:26 +01:00
|
|
|
|
2023-01-24 19:00:54 +01:00
|
|
|
std::vector<std::vector<double>> modelSetTest(std::vector<std::vector<double>> inputSet);
|
|
|
|
std::vector<double> modelTest(std::vector<double> inputSet);
|
2023-01-23 21:13:26 +01:00
|
|
|
|
2023-01-24 19:00:54 +01:00
|
|
|
// Variables required
|
|
|
|
int threshold;
|
|
|
|
};
|
2023-01-24 19:20:18 +01:00
|
|
|
|
2023-01-23 21:13:26 +01:00
|
|
|
|
|
|
|
#endif /* OutlierFinder_hpp */
|