Artificial intelligence will be used to see if it can help make buses in Preston more reliable.