Learning for nanos