Doubts on when we start the coding parts of the ml and about optional labs

Ok so i started the course a while back, but I have doubts about when we start to learn how to make the code for the ml, and I wanted to ask whether if I am supposed to learn it from the optional labs because they seems to show me the code. Also, I wanted to know, if the main coding knowledge is later then which part does it start at? is it on the part 2 of the course? also is it very important to learn the calculus equations used in it for later use, or just understand as much as possible, if not the whole, of the idea behind its use?

Thank you to all who would reply to this message and thank you to Andrew NG and his team for this course and the facilities they are providing with it.

Welcome to the community!

Programming assignments start in Week 2 of this course.

Hello @Givin_gaming7988,

These courses are not about learning how to code (will further talk about this at the end of this reply). However, as you noted, these labs serve as examples. They are good examples for you to (1) see what the lectures covered, (2) do experiments with by changing any existing parameters, and (3) refer back to in the future when you wish to code something similar.

All of the labs can be reset to their original states so you can play with them however you like to.

To refer back in the future, do remember to backup the labs as you go, because they won’t be accessible after the end of subscription.

The labs in each of the courses all serve to demonstrate the ideas delivered in the lectures. They are not like arranged in a way for you to progressively learn how to code. In other words, there is nothing like “main coding knowledge” here.

Of course it would be the best to achieve both, but understanding the ideas are sufficient for you to finish the courses and apply the knowledge in real problems.

@Givin_gaming7988, again, these courses do not offer a systematic syllabus for coding in ML. As I said, they are rather examples only. If you already know Python and you don’t have problem reading the lines of code, then when you get your hands dirty and try to add, change, or remove code to experiment your own ideas, you will slowly build up the muscle memory for coding. This, I think, is the most natural way for anyone to pick up a skill because our brains, too, need training. However, if you are new to Python, then it’s better for you to either take some quick Python tutorials to know the basics, or use a Chatbot “AI” to help you through while keeping in mind of the difference between “you know it” and “AI knows it”.

Cheers,
Raymond

Thank you, Sir, @rmwkwok

Your reply helps me with my learning. Just wanted to ask 1 more thing. You see I know coding but only at the school level. I have not learnt the libraries used for AI and ML and thats why I thought this course was going to teach me how to make AI and ML by teaching me the use of every code. So I want to ask if this course is just about learning the core principles of AI/ML than rather learning the way we are to code to make an AI or is it that the optional labs are to help us see the codes in use and later develop our own ways to make the AI. I am very confused cause I had once did a course before from another reputed establishment for understanding AI. They had already taught me about the types of AI and how they are different from each other. I knew that course was a non-code only theory course but still went for it due to my interest. I just want to know if this course is having the ‘how to make an AI, which way you should code to make an ML and how to feed the data to the ML program to make a real AI from my own code’ thought out in any part of the course or it is just a learn using the optional labs given out. Also, I want to know how I can save the optional labs for personal reference later on.

Thanking you for your patience and effort in helping me in my journey through this course.

hoping to see a reply soon

@Givin_gaming7988

Hello @Givin_gaming7988,

You are welcome!

I would say Yes - the ML principles are the core of these courses. The code is rather a supportive role to the core.

I think this is not a question. Instead, I consider it your very smart decision to use whatever in your hand for your future work, including treating these labs as your reference.

This specialization uses Numpy in course 1 to show how to build the simplest ML algorithm from scratch. This experience is useful for anyone who had to, well, build from scratch, like if you were a graduate student and it was for your thesis.

In a commercial setting, we almost don’t build from scratch. Instead, we use Tensorflow or Pytorch.

Starting in course 2 week 1, you will see Tensorflow in action. While they are still rather like minimal code to kick start a training, it is a good step forward. In course 2 week 3, you will come across skills on parameters tuning to tackle the bias and variance problems, which is part of the standard procedure in ML training.

In course 3 week 2, you will see a more extensive use of Tensorflow in building a very simple Recommendation model.

I would say that those labs will give you a good starting experience of making a model using industry standard libraries such as Tensorflow, however, you can’t rely on these courses to give you every detail in your way of becoming a good machine learning model trainer, partly because ML training is an art which requires experience of working on different problems. You will need to get your hands dirty :wink: and read more others’ code. You will discover more good libraries by reading.

For how to save the labs, since you added the Coursera tag to this post, you may refer to this one. Method 1 tells you how to save just the notebook, while method 2 the whole workspace.

Cheers,
Raymond

Note that MLS is a Beginner-level course.
It doesn’t really discuss “AI” at all, in the context one would expect in the present world.

The course predates the current AI craze.

It is all about the simpler general concepts of Machine Learning.

Modern “AI” methods begin to appear in the Intermediate level “Deep Learning Specialization”.

Thank you sooo much Sir @rmwkwok. I find all this information about the course very very helpful and am looking forward to learning it all. Thank you for the wonderful explaination of the course.
Yours truly @Givin_gaming7988

Thank you very much Sir @TMosh for this information. It will help me on my way to learn ML. Thanking you
Yours truly @Givin_gaming7988