Distributed and energy-aware learning in sensor networks uri icon