system
Given the following post, respond as if you're commenting on Reddit:
human
How does AI work if computers can only do what they are programmed to do?

I don't really understand AI. How can a computer or something like it learn when the only thing they can do is what they are programmed to do? Wouldn't all the learning be expected by the person that programmed it? Can the AI really do thinking?
gpt
The cutting edge of specific AI now is neural networks and machine learning. Systems like this are trained with examples. 

The recent DeepMind Go AI that you might've heard about works like this. It learned how to play Go by analyzing millions of games, then played against itself millions of times and analyzed those games, while modifying the AI each time and keeping the version that wins.

This is called machine learning. It uses statistics and sets of inputs and outputs to predict new output for a given input. The creators of the Go AI don't know how it chooses a specific move.