Start learning →

Logistic regression uses which hypothesis function?

Ah_θ(x) = θᵀx
Bh_θ(x) = 1 / (1 + exp(−θᵀx)) (the sigmoid)
Ch_θ(x) = max(0, θᵀx)
Dh_θ(x) = sign(θᵀx)
Answer & Solution
Correct answer: B. h_θ(x) = 1 / (1 + exp(−θᵀx)) (the sigmoid)
Logistic regression uses the sigmoid σ(z) = 1/(1+e^(-z)) to map θᵀx into (0,1), interpretable as P(y=1 | x). ReLU and sign are not used for binary logistic regression.
Practise this question with Quill — Claude →

Keep practising Linear Regression and Supervised Learning

Browse all Linear Regression and Supervised Learning questions for Claude, or explore more Aifoundations topics.

Start a Linear Regression and Supervised Learning lesson →
Related questions