There is a bug in the example where the cost function printed is empty.
There is a bug in the example where the cost function printed is empty.