I am trying to find an algorithm in python which finds outliers based on the a) tendency of the dataset (growing/shrinking) b) and based on the numerical distance from its immediate neighbours: x does not exceed > abs(1%) of x-1
Edit: It can be cubic spline interpolated as well, if there is an algorithm in python available.
I have seen the numpy algorithm which uses the std deviation but since i have to consider the series of the list, this algorithm does not work for this case.
0.0937,
0.0934,
0.0933,
0.0931,
0.0933,
0.0936,
0.1091 < == outlier,
0.0938,
0.0945,
0.0949,
0.0956,
0.1082,
0.1065 < == outlier since -,
0.1123,
0.1198