Neural Network from Scratch - Need Help

Hi!
I’m trying to recreate a neural network from scratch just like the last week assignment from DLS course 1 on the House Price Prediction Dataset.
However, I keep on encountering sudden and unexpected errors even after I’ve worked the Matrix dimensions in my notebook, and I encounter the invalid value in np.log error on the third or fourth trial ok using the same seed.

Would someone please take a look at my code and tell me where I’m going wrong?

Much appreciated!