Artificial Intelligence for the Internet of Everything