Hi, in week 3 optional lab 02 - sigmoid function, the part when we draw the classification graph, why z (orange line) here does not match the line in a linear regression model. (please see image for clarification)

I thought we would run the linear regression model as usual, then map the input to a sigmoid function to get the final function. Hence, z should match the linear regression model