Calculate accuracy measure based on Theta method
accuracy_theta(ts_info, function_name, length_out)
returns accuracy measure calculated based on theta method
list containing training and test part of a time series
function to calculate the accuracy function, the arguments of this function should be forecast, training and test set of the time series
number of measures calculated by the function