How AI learns the biases of its creators