Detecting anomaly in data streams by fractal model