Lecture 7: Logistic Regression

studied byStudied by 0 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 9

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

10 Terms

1

What is the goal of logistic regression?

To estimate the probability of a binary outcome using a logistic function.

New cards
2

How does logistic regression differ from linear regression?

It maps outputs to probabilities instead of direct values

New cards
3

Why is squared error not used in logistic regression?

Squared error leads to non-convex optimization and poor gradient behavior.

New cards
4

Why is gradient descent used in logistic regression?

Because the hypothesis function doesn’t have a closed-form solution.

New cards
5

What does gradient descent minimize in logistic regression?

It minimizes the cross-entropy error function

New cards
6

What is the role of step size η in gradient descent?

It controls how far the update moves in each step

New cards
7

What happens if η is too small?

Convergence is slow

New cards
8

What happens if η is too large?

The updates become unstable and may diverge

New cards
9

What are the key steps in the logistic regression algorithm?

1. Initialize w0 2. Compute the gradient. 3. Update weights. 4. Repeat until convergence.

New cards
10

How does logistic regression compare to perceptron learning?

It improves perceptron learning by using probabilities and cross-entropy loss

New cards
robot