Recognition of abnormal patterns in industrial processes with variable window size via convolutional neural networks and AdaBoost