Week2 Practical Lab

Can anyone tell me how to complete Week2 Practical Lab

1 Like

Hello Shehan,

You will have to explain briefly what help you need to complete week 2 practice lab like the issue you are encountering with codes or if you are getting any error or if you are failing the grader etc.

A single sentence isn’t enough for anyone to explain you how to complete practice assignments

Regards
DP

1 Like

Hello Sir,

Actually I can’t understand what is the questions ask in the Lab Asignment. Codes are also given. I can’t understand are those codes are answers or what. Can you please explain me what are the question ask in the Lab Asignment. And please explain me what are those codes in that lab asignment

Thankyou,
Shehan Wijayawansha

1 Like

Hello Shehan,

Did you try referring to the optional labs for the same week you have assignment to do.

Those codes are hints for you to do assignment. Can I know if you know about python and coding?

In this assignment, you will create a linear regression model with the help gradient descent. Before explaining you assignment, I want to know have you seen all the videos and optional labs for the week, and have you understood all the concept explained.

Regards
DP

Dear sir,

Thankyou for your kind response sir. Actually I have watched all the videos. But to be honest I did not work on optional labs. I have basic knowledge about python. I will watch the optional labs and try to do the Lab asignment

Thankyou,
Shehan Wijayawansha

Ok shehan,

So as you have watched all the videos, did you understand all the videos? or if you did understand any of the videos you can share here you doubts for better understanding to do the practice assignment.

Then go to the optional labs. read each cell one by one and instructions to see what they are doing.

Then open the practice lab, start doing each cell one at a time by reading first the instructions carefully, if you are not understanding those instructions, let me know. I am here, you can ask any doubt about what you are not understanding or not able to write the codes.

Refer hints only if you are not able to get the instructions.

There are so many threads related to these assignments which will also help you understand or do these assignment labs, but I want you to go one cell at a time, so become independent in writing your codes. Hints are only when you are able to understand what equation you need to apply for linear or logistic regression. If you have understood those concept, reading instruction will help you to start with the assignment.

Once you are able to write or crack codes yourself, it is separate joy, otherwise, every mentor here is to help you.

Wish you all the best!!!

Keep Learning!!!
Let me know when you need help.

Regards
DP

For the optional labs, you just open the notebook, read the instructions, and run the cells in sequence by clicking on them and using the “Run” button in the main menu.

For the programming assignments (which are also sometimes called Practice Labs), you have to fill in your code where it’s indicated (YOUR CODE HERE, or similar), according to the instructions. The process of running the cells is the same as in the optional labs.

When you reach the bottom of the notebook, and if you’ve gotten all of the correct test results, you can click on the Submit button and have your notebook graded.

Dear Sir,

Thankyou for your reply sir. I will keep in mind what you mention. And I will complete the Lab asignment soon.

Thankyou
Shehan wijayawansha

Dear Sir,

I don’t know how to overcome this problem. Can you please help me Sir?

Thank you,
Shehan WijayawanshaDear

1 Like

Why is your notebook named “Untitled”, and why are you not using the Coursera Labs environment?

Dear sir,

I have started Week 2 practice Lab. But there was a error of loading data

1 Like

You need to run the cell (labeled In [5]) where the data is loaded.

Every time you open the notebook, you need to run all of the cells starting from the top.

1 Like

Hi @Shehan_Harindu , I recommend reviewing Week 1: Jupyter Notebooks.

Be sure to run the first code cell, then the second, step by step and one at a time.