Lecture 7: Logistic Regression

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/9

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

10 Terms

1
New cards

What is the goal of logistic regression?

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

2
New cards

How does logistic regression differ from linear regression?

It maps outputs to probabilities instead of direct values

3
New cards

Why is squared error not used in logistic regression?

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

4
New cards

Why is gradient descent used in logistic regression?

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

5
New cards

What does gradient descent minimize in logistic regression?

It minimizes the cross-entropy error function

6
New cards

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

It controls how far the update moves in each step

7
New cards

What happens if η is too small?

Convergence is slow

8
New cards

What happens if η is too large?

The updates become unstable and may diverge

9
New cards

What are the key steps in the logistic regression algorithm?

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

10
New cards

How does logistic regression compare to perceptron learning?

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