def _shift_intensity(self, change_points=None, df=None, metric=None):
"""
This function computes the Kullback_Leibler divergence of the the time series around a changepoint detected by the
pelt_change_point_detection() function. This considers Gaussian assumption on the underlying data distribution.
:param list change_points: A list storing indices of the potential change points
:param pandas.dataframe df: A pandas dataframe containing time series ignoring the top 5% volatility
:param str metric: A string in the dataframe column names that contains the time series
:return: A list containing the magnitude of changes for every corresponding change points
:rtype: list
"""
Question
After looking through the code, I was wondering where the top 5% volatility dropped? It doesn't look like it's filtered anywhere before it.
Code in exploration/data_exploration.py
Question After looking through the code, I was wondering where the top 5% volatility
dropped?
It doesn't look like it's filtered anywhere before it.Thank you for the help!