A Framework of Machine Learning Based Intrusion Detection for Wireless Sensor Networks | Synapse