ts-aggregator/project_template/BIC.h

30 lines
530 B
C
Raw Normal View History

2022-12-13 12:36:06 +04:00
#ifndef BIC_H
#define BIC_H
#include "Estimation.h"
#include <vector>
using namespace std;
enum algoritm {
RMSE,
sMAPE,
Classic
};
class Bic : public Estimation {
private:
algoritm versionBIC;
double classicBIC(vector<double>, vector<double>, int);
double rmseBIC(vector<double>, vector<double>, int);
double smapeBIC(vector<double>, vector<double>, int);
public:
Bic(algoritm, int);
~Bic();
int pc;
double getValue(vector<double>, vector<double>);
double getValue(int, vector<double>, vector<double>);
};
#endif