By the end of the lab03 notebook, there is the def my_predict cell.

My question is probably very basic, but what exactly is the zero on p[i,0]?

I understand that the answer must be in a 2x1 matrix, but why 0?

By the end of the lab03 notebook, there is the def my_predict cell.

My question is probably very basic, but what exactly is the zero on p[i,0]?

I understand that the answer must be in a 2x1 matrix, but why 0?

1 Like

Python index values are non-negative integers, starting from 0.

1 Like