ConPaaS-team / conpaas

ConPaaS: integrated runtime environment for elastic cloud applications
http://www.conpaas.eu
BSD 3-Clause "New" or "Revised" License
14 stars 3 forks source link

Predictors in prediction_evaluation method #90

Closed cmasmas closed 10 years ago

cmasmas commented 10 years ago

A couple of issues regarding conpaas.services.webservers.manager.autoscaling.strategy.adaptive_strategy, method prediction_evaluation (1) The ARMA predictor is commented in lines 152, 157, 163 and 168. Why? (2) Both AR and VAR predictors are assigned to self.forecast_list_cpu[0] (lines 167 and 169)

        self.forecast_list_cpu[0] = async_result_cpu_ar.get()
        #      self.forecast_list_cpu[0] = async_result_cpu_arma.get()
        self.forecast_list_cpu[0] = async_result_cpu_var.get()
hectorj2f commented 10 years ago

Yes, I discovered some issues with ARMA prediction method when trying to converge the cpu values and sometimes the response times. This situation happens when the values diverge a lot between one data point and the others.

cmasmas commented 10 years ago

Ok. What about the second question? The AR prediction is assigned to self.forecast_list_cpu[0], but then is overridden with the VAR prediction. Is it a bug?

hectorj2f commented 10 years ago

Yes, you're right. Both algorithms VAR and AR perform well.

cmasmas commented 10 years ago

Actually, I had problems with both ARMA and AR. I will use VAR instead. Thank you!