My assignment issue

I sent my work on assignment twice and both times earned points were 0. I’m sure it is wrong assignment because some tests were definitely successfull. Can somebody check?

Regards.

1 Like

Hi @Valentyn_Lazepka ,

Your assignment is marked by a automated grader. If you are not getting any marks, then there must be some issues causing this to happen. Please provide information, such as report, error messages etc, to help the community members to diagnose the problem.

1 Like

That is all info I have

1 Like

Hi @Valentyn_Lazepka ,

Did your code pass any of the unit tests? You can only submit your assignment when all the unit tests are passed with the results matching the expected output.
So you need check your code and get it to produce the correct output. If there is any problem, do drop a query here with the error output. The community members will answer your query.

1 Like

Ex.1, 3, 4 passed, Ex.2 partially passed (I’ve placed Vote and didn`t receive any answer yet). Ex.5,6 needed results received, but tests not passed. Mistake see in previous mails.

1 Like

Hi @Valentyn_Lazepka

Could you run the code again and take a screen shot of the error output. That would help to find what the problem might be.

1 Like

Ex.5

Ex.2 Don`t understand why 2 tests not passed


Ex.6

1 Like

Hi @Valentyn_Lazepka ,

The code in ex2 is incorrect. Do you know what np.linalg.matrix_rank() does?
In ex1, you have extracted the shape of X, so you can use the sample way to get the input size.

1 Like

Thanks. Ex.2 is passed.
But Ex.5 still has the following error:

2 Likes

Hi @Valentyn_Lazepka ,

Check that initialize_parameters() is called with the correct parameters. Mistakes made here will cause problem further down the code.

1 Like

Test of Ex.3 is passed. I have no idea where is a mistake. Looks like in the instruction.

Hi @Valentyn_Lazepka ,

You need to check the nn_model() function because that is where the initialize_parameters() is called. Are the parameters passed to initialize_parameters() correct?

1 Like

That part of the code I didn`t change.

1 Like

Hi @Valentyn_Lazepka ,

Where do you get the values for the parameters W and b?

1 Like

They were the result of In [20]. But I found mistake and did it.

2 Likes

Hi @Valentyn_Lazepka

Great to hear you have solved the problem.

1 Like

Very patient !!! Appreciate very much.

1 Like