Logistic Regression using the sigmoid function

Whether you use vector products or a for-loop that multiplies scalars is just an implementation detail.

I think DP meant to say “dot product” instead. Vector product is a different product also known as Cross product.

1 Like

Multiple linear regression, which uses 2 or more features, is covered in Course 1 Week 2. This slide expands a dot product of vector w and vector x.

The use of dot product can be extended to logistic regression when there are 2 or more features.

I recommend MLS first, since it is a beginner-level course. So it isn’t very heavy on the math notation. But it presents the materials in an easily-comprehended form.

DLS is an Intermediate course. It’s great if you want a little more more mathematical rigor.

Andrew is never really big on consistent math notation or advanced mathematical concepts.

your comment mentions the vector dot product between vectors w and x and I suppose this is from course which raised your confusion or doubt.

Treating what as “…two scalars…”?

What is a “…polynomial feature…”? Do you mean “feature engineering” as I cannot find the term “…polynomial feature…” in the course so far.

The vector product or cross product is a mathematical operation performed between two vectors like so;

\vec a \times \vec b

This is quite different from an implementation detail as it is mathematical and not an implementation matter.

This can be implemented in Python but how that is done is an implementation detail, perhaps using the NumPy module.

Correct.

I think it is important to clearly and correctly identify mathematical operations used in the course.

What is an “…epoch cycle…” so far that hasn’t been mentioned in the course.

1 Like

Hello Deepti,

I am unable to view your post below beginning “for this same reason…” on the DeepLearning.AI community forum.

Can you check if your post is still there?

Thanks,

Stephen.

which post :thinking::roll_eyes:

ok I remember that post was deleted as it was respond to @rmwkwok in DM and not to you.

The one beginning “for this same reason…”

It arrived by email but when I touch on “Visit Topic” I can’t find it.

ignore that post, it was not for you but for my mentor friend Raymond.

I was only mentioning how doing DLS course before doing MLS Specialisation is a better choice.

I think it is better to adhere to terminology that is used in Course 1 Week 3 as I post my questions on the forum for this particular course and week.

1 Like

Strange that I should receive a notification about it by email.

Perhaps you haven’t reached that part of the course yet.