Artificial Intelligence Techniques in IoT Sensor Networks