An Intrusion Detection System for Constrained WSN and IoT Nodes Based on Binary Logistic Regression | Synapse