Control chart pattern recognition using neural networks