Mining positive and negative sequential patterns in data streams with a sliding window