Enhancing IoT Security: Optimizing Anomaly Detection through Machine Learning | Synapse