Logistic Regression

medium· Machine Learningruns: 0

Implement logistic regression for binary classification, trained with batch gradient descent on the binary cross-entropy loss. The model fits weights and bias such that sigmoid(X @ w + b) approximates the probability of the positive class. Provide fit, predict_proba, and predict.

sign in to paste and practice your own solution
desktop only

codedrill is a typing game and needs a real keyboard. open this on a laptop or desktop to practice.

you can still browse problems and sections from your phone.