Help needed in training my ANN

While training my Artificial Neural Network, the loss function is not attaining any numeric value rather it is showing nan for all epochs, can you help?

hey @anshufirefox ,
you need to check your loss function.

Its calculation is resulting in a nan value , this can be due to

  1. divide by zero being happening
  2. wrong gradient descent rule
  3. weights are not being updated in correct way.

These are some common things , we got previously. You can check that , and see if it helps.

How can I share the code and dataset with you?

you can upload it on github and share me the links

https://colab.research.google.com/drive/1_wn0qzPGlh5cOuLb60tTAAsh-ME-dnLm?usp=sharing

Here, I’ve shared a google colab notebook, hoping that it is convenient

https://drive.google.com/file/d/1ZYf84wAUXNgUXNujlxBGBLqpK4ruGJM7/view?usp=sharing

Here is the dataset

hey @anshufirefox ,
the data that you are using is , contains nan values , try once removing them.

Can you be more specific please, which column or which feature contains nan values?

in training X data , check the last record
and in the target data , there is also some values that are nan.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.