hpi-sam / rl-4-self-repair

Reinforcement Learning Models for Online Learning of Self-Repair and Self-Optimization
MIT License
0 stars 1 forks source link

GARCH model implementation #22

Open christianadriano opened 4 years ago

christianadriano commented 4 years ago

Rachel, could you please also add the GARCH model to the environment as a function and run the t-tests on the resulting time series?

Follows example implementation: https://colab.research.google.com/drive/1NUP5kmQzNOQjj1GVG6TtiIN4fmi_qNyH#scrollTo=tJY1NUYhiiuU

brrrachel commented 4 years ago

What are the start and end values for a series for <component,failure>?

christianadriano commented 4 years ago

The start is could be the minimum value of the original series, e.g., Min_accuracy_increase(<C1,F2>) You might also need the initial variance, which could be the variance of the original series.

Do we need to define the end? I think we only need to define the coefficients for the Garch model.

brrrachel commented 4 years ago

No I do not understand the variables of the function - how is this influenced by <component,failure>?

christianadriano commented 4 years ago

In this code here https://colab.research.google.com/drive/1NUP5kmQzNOQjj1GVG6TtiIN4fmi_qNyH#scrollTo=tJY1NUYhiiuU

I believe that we only need to change the value of t[0]. All the rest can stay the same. t[0] can be set be the minimum value of accuracy_increase of <component,failure> pair.

brrrachel commented 4 years ago

Okay I will set t[0]. But I would use the mean value of the transformed and shifted pair ?!?

christianadriano commented 4 years ago

Yes. Since the series produced by the Garch model fluctuates around a mean, it would make sense to use the mean of the transformed_shifted pair.

brrrachel commented 4 years ago

Running the ttest, which ordering to take? If I use the ordering from before working on the data, I get different results as if I do this based on the ordering retrieved from the new data.