TY - JOUR AU - ElMenshawy, Dina AU - Helmy, Waleed AU - El-Tazi, Neamat PY - 2019 TI - A Clustering based Approach for Contextual Anomaly Detection in Internet of Things JF - Journal of Computer Science VL - 15 IS - 8 DO - 10.3844/jcssp.2019.1195.1202 UR - https://thescipub.com/abstract/jcssp.2019.1195.1202 AB - Internet of Things (IoT) is a network which connects different communication devices with the internet to attain quick, robust and real-time information transfer and communication, achieving intelligent management. IoT is still in its infancy so it faces numerous challenges varying from data management to security concerns. Sensors generate enormous quantities of data that need to be handled efficiently to have successful deployment of IoT applications. Concerning data management, a great challenge that faces the IoT environment is the detection of contextual anomalies. Contextual anomaly detection is a sophisticated task because the context has to be taken into consideration in the anomaly detection process rather than checking only the deviation of the data value as in point anomaly detection. As a result, in this paper, a novel clustering based algorithm is proposed to detect contextual anomalies in Internet of Things. Attributes were separated into two different categories, namely contextual attributes and behavioral attributes. K-Means clustering technique was applied on the contextual and behavioral attributes separately, then the intersection between the contextual and behavioral clusters was used to detect the contextual anomalies. Moreover, the algorithm was applied on a real room occupation dataset of size around 20,000 records and the experiments showed promising results.