BeginnerAbout 18 min

    Logistic Regression

    Read the full article on Substack

    7 min read.

    Foundation of binary classification - learn decision boundaries, sigmoid function, and probability predictions.

    x₁x₂
    Class 0Class 1Boundary, p = 0.5Wrong side

    Not trained yet. 15 of 30 correct. Loss 0.588.

    Check your understanding

    Answer from memory before you scroll back up. Pulling an idea out of your head is what makes it stay there.

    From features to a class

    Sequence

    Order what logistic regression computes.

    Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.

    1. 1Drop a step here
    2. 2Drop a step here
    3. 3Drop a step here
    4. 4Drop a step here
    4 pieces left to place

    Quiz

    22 questions
    Question 1 of 22
    Score: 0

    What function maps the output to a probability between 0 and 1?

    Done with this lesson?

    Sign in free to keep your progress, streak and quiz scores.

    Keep going