Machine Learning-Based Anomaly Detection Using K-Mean Array and Sequential Minimal Optimization