SHAPE-BASED TIME SERIES MINING FOR PROCESS MONITORING AND ANOMALY DETECTION