More or less most ArtificialIntelligence these days is done through Machine Learning. Ie. throwing huge data-sets at number crunching algorithms. And getting the machine to fit patterns to it.