Artificial Intelligence in 4G and 5G Systems