Network management using artificial intelligence