Practical data prediction for real-world wireless sensor networks