Clarification in MLS- C1- Week 3 -programming assignment

I need help from a mentor. The following are my problems.
I submitted a programming assignment for evaluation.
Exercises 1 and 2 (sigmoid and cost function) were complete and answers were correct.
Other exercises were not attempted.

  1. I received 0/100 marks. I thought some marks will be given for correct solutions.
  2. I got the following error message
    Cell #14. Can’t compile the student’s code. Error: TypeError(“unsupported operand type(s) for +=: ‘NoneType’ and ‘NoneType’”)
  • Question: What is the likely error in the coding?
  1. I think that there is a mismatch in function definition (Cell no 13) and function call (Cell no 14) in the assignment
    Thank you very much.
1 Like

Hello @dinesha

Welcome to the community.

Could you send me your notebook and I can take a look. Please send it as a Direct Message by clicking on my name and then clicking on the message icon.

Moved @dinesha’s post to the course 1 week 3 category

You are right, I apologize for the mistake.

No problem at all Adrain :slight_smile:

Dear Mentor (Shanup)
Thank you very much for your help and resolving the error message.
I am sharing the code problem below:
Error came from a part which was not attempted by me. (undefined ‘Null’)
Regarding grade: My observation is system gives grades at the end of complete submission).
Thanks for this help from the mentor, I could complete the assignment and pass the course. At the end system response was that each if the exercise was done correctly).
Thanks for the mentor again
With regards

Congratulations @dinesha on succesfully completing Course 1. With the confidence that you have gained from Course 1, you can now step into Course 2, where you will encounter the very “cool :sunglasses:” Neural Networks, among other amazing algorithms.