Text this: Adaptive modeling algorithm for energy optimization in nanosensor networks for smart IoT systems.