Classes | |
struct | ARIMA_GAP |
class | Normalization |
Enumerations | |
enum | ObjectiveFunction { CSS_MLE , MLE , CSS } |
enum | OptimizationMethod { Nelder_Mead , Newton_Line_Search , Newton_Trust_Region_Hook_Step , Newton_Trust_Region_Double_Dog_Leg , Conjugate_Gradient , BFGS , LBFGS , BFGS_MTM } |
Functions | |
std::vector< double > | slice (const std::vector< double > &vec, size_t start, size_t N) |
std::vector< double > | slice (const std::vector< double > &vec, size_t start) |
std::vector< double > | arange (size_t start, size_t N) |
double | calcVecMean (const std::vector< double > &vec) |
double | stdDev (const std::vector< double > &vec) |
std::vector< double > | toVector (const std::vector< MeteoData > &vecM, const std::string ¶mname) |
std::vector< double > | toVector (const std::vector< MeteoData > &vecM, const size_t ¶mindex) |
std::vector< double > | decideDirection (const std::vector< double > &data, const std::string &direction, bool forward, size_t gap_loc, size_t length) |
size_t | searchBackward (ARIMA_GAP &last_gap, const size_t &pos, const size_t ¶mindex, const std::vector< MeteoData > &vecM, const Date &resampling_date, const double &i_window_size) |
size_t | searchForward (ARIMA_GAP &last_gap, const size_t &pos, const size_t ¶mindex, const std::vector< MeteoData > &vecM, const Date &resampling_date, const double &i_window_size, const size_t &indexP1) |
bool | requal (const Date &date1, const Date &date2) |
static void | adjustDataStartDate (ARIMA_GAP &last_gap, const std::vector< MeteoData > &vecM, const Date &resampling_date, Date &data_start_date, Date &data_end_date) |
static void | adjustGap (const ARIMA_GAP &last_gap, const std::vector< MeteoData > &vecM, const Date &resampling_date, Date &data_start_date, Date &data_end_date, const double &window_size) |
void | computeARIMAGap (ARIMA_GAP &last_gap, const size_t &pos, const size_t ¶mindex, const std::vector< MeteoData > &vecM, const Date &resampling_date, size_t &indexP1, size_t &indexP2, double &before_window, double &after_window, double &window_size, Date &data_start_date, Date &data_end_date) |
double | mostLikelyValue (const std::vector< double > &vec) |
double | computeSamplingRate (Date data_start_date, Date data_end_date, std::vector< MeteoData > vecM) |
static Date | findFirstDateWithSamplingRate (const std::vector< MeteoData > &vecM, const double sampling_rate, const Date &data_start_date, const Date &data_end_date) |
Date | adjustStartDate (const std::vector< MeteoData > &vecM, const ARIMA_GAP &last_gap, Date data_start_date, const Date &data_end_date) |
template<typename T > | |
T | findMinMax (const std::vector< T > &vec, bool findMin) |
template<typename T > | |
void | reverseVector (std::vector< T > &vec) |
template<typename T > | |
std::vector< T > | reverseVectorReturn (const std::vector< T > &vec) |
Date | findFirstDateWithSamplingRate (const std::vector< MeteoData > &vecM, const double sampling_rate, const Date &data_start_date, Date &data_end_date) |
template<typename T > | |
std::string | convertVectorsToString (const std::vector< std::vector< T > > &vecs) |
template<typename T > | |
void | printVectors (const std::vector< std::vector< T > > &vecs) |
template<typename T > | |
void | printVectors (const std::vector< Date > &vec1, const std::vector< T > &vec2) |
Variables | |
const std::map< ObjectiveFunction, std::string > | ObjectiveFunctionMap |
const std::map< OptimizationMethod, std::string > | OptimizationMethodMap |
|
static |
|
static |
Date mio::ARIMAutils::adjustStartDate | ( | const std::vector< MeteoData > & | vecM, |
const ARIMA_GAP & | last_gap, | ||
Date | data_start_date, | ||
const Date & | data_end_date | ||
) |
std::vector< double > mio::ARIMAutils::arange | ( | size_t | start, |
size_t | N | ||
) |
double mio::ARIMAutils::calcVecMean | ( | const std::vector< double > & | vec | ) |
void mio::ARIMAutils::computeARIMAGap | ( | ARIMA_GAP & | last_gap, |
const size_t & | pos, | ||
const size_t & | paramindex, | ||
const std::vector< MeteoData > & | vecM, | ||
const Date & | resampling_date, | ||
size_t & | indexP1, | ||
size_t & | indexP2, | ||
double & | before_window, | ||
double & | after_window, | ||
double & | window_size, | ||
Date & | data_start_date, | ||
Date & | data_end_date | ||
) |
double mio::ARIMAutils::computeSamplingRate | ( | Date | data_start_date, |
Date | data_end_date, | ||
std::vector< MeteoData > | vecM | ||
) |
std::string mio::ARIMAutils::convertVectorsToString | ( | const std::vector< std::vector< T > > & | vecs | ) |
std::vector< double > mio::ARIMAutils::decideDirection | ( | const std::vector< double > & | data, |
const std::string & | direction, | ||
bool | forward, | ||
size_t | gap_loc, | ||
size_t | length | ||
) |
|
static |
Date mio::ARIMAutils::findFirstDateWithSamplingRate | ( | const std::vector< MeteoData > & | vecM, |
const double | sampling_rate, | ||
const Date & | data_start_date, | ||
Date & | data_end_date | ||
) |
T mio::ARIMAutils::findMinMax | ( | const std::vector< T > & | vec, |
bool | findMin | ||
) |
double mio::ARIMAutils::mostLikelyValue | ( | const std::vector< double > & | vec | ) |
void mio::ARIMAutils::printVectors | ( | const std::vector< Date > & | vec1, |
const std::vector< T > & | vec2 | ||
) |
void mio::ARIMAutils::printVectors | ( | const std::vector< std::vector< T > > & | vecs | ) |
void mio::ARIMAutils::reverseVector | ( | std::vector< T > & | vec | ) |
std::vector< T > mio::ARIMAutils::reverseVectorReturn | ( | const std::vector< T > & | vec | ) |
size_t mio::ARIMAutils::searchBackward | ( | ARIMA_GAP & | last_gap, |
const size_t & | pos, | ||
const size_t & | paramindex, | ||
const std::vector< MeteoData > & | vecM, | ||
const Date & | resampling_date, | ||
const double & | i_window_size | ||
) |
size_t mio::ARIMAutils::searchForward | ( | ARIMA_GAP & | last_gap, |
const size_t & | pos, | ||
const size_t & | paramindex, | ||
const std::vector< MeteoData > & | vecM, | ||
const Date & | resampling_date, | ||
const double & | i_window_size, | ||
const size_t & | indexP1 | ||
) |
std::vector< double > mio::ARIMAutils::slice | ( | const std::vector< double > & | vec, |
size_t | start | ||
) |
std::vector< double > mio::ARIMAutils::slice | ( | const std::vector< double > & | vec, |
size_t | start, | ||
size_t | N | ||
) |
double mio::ARIMAutils::stdDev | ( | const std::vector< double > & | vec | ) |
std::vector< double > mio::ARIMAutils::toVector | ( | const std::vector< MeteoData > & | vecM, |
const size_t & | paramindex | ||
) |
std::vector< double > mio::ARIMAutils::toVector | ( | const std::vector< MeteoData > & | vecM, |
const std::string & | paramname | ||
) |
const std::map< ObjectiveFunction, std::string > mio::ARIMAutils::ObjectiveFunctionMap |
const std::map< OptimizationMethod, std::string > mio::ARIMAutils::OptimizationMethodMap |