Doubt Regarding Logistic Regression

We give the values 0&1 when we have 2 features and hence we use sigmoid function to achieve that case but what will happen if X has more than 2 features?

Hi @Sid10,

By features, I assume you’re talking about classes. To deal with more than 2 classes, we can use one vs one or one vs rest schemes and still use the Sigmoid Activation function. You can read more about it here.
The course will also cover the same in future lessons.

Hope this helps!