Math Problem Statement

Logistic regression.pdf

568.09 KB

Evaluate the vectorized gradient of the cost function for the logistic model: g(-2+0.5X),  function, where feature vector X=[1,2,3], and label Y=[0, 1,1], b0?

Solution

Ask a new question for Free

By Image

Drop file here or Click Here to upload

Math Problem Analysis

Mathematical Concepts

Logistic Regression
Cost Function
Gradient Descent
Sigmoid Function

Formulas

Sigmoid function: g(z) = 1 / (1 + e^(-z))
Gradient of cost function: ∇J(β) = (1/m) X^T (h - y)
Cost function: J(β) = -(1/m) Σ[y log(h) + (1 - y) log(1 - h)]

Theorems

Maximum Likelihood Estimation

Suitable Grade Level

Undergraduate Level