Outlier Detection in Sensor Networks using Bayesian Belief Networks