Can we change the sigmoid with tanh in Logistic regression transforms

0 votes
May 12, 2020 in Machine Learning by Deepanshu
• 120 points
1,165 views

1 answer to this question.

0 votes

Hi@Deepanshu,

Yes, you can use tanh instead of sigmoid function. It depends on your use case. If you want to find output between 0 to 1 then we use sigmoid function. If you want to find output between -1 to 1 then we use tanh function. Tanh function is just a rescaled version of the logistic sigmoid function.

answered May 12, 2020 by MD
• 95,360 points

Related Questions In Machine Learning

0 votes
1 answer

Plotting logistic regression in R with the Smarket dataset

The first, third, and fourth methods of ...READ MORE

answered Apr 12 in Machine Learning by Dev
• 6,000 points
97 views
0 votes
1 answer
0 votes
1 answer

Can we use Normal Equation for Logistic Regression ?

Well not likely,  only one discriminative method ...READ MORE

answered Feb 24 in Machine Learning by Nandini
• 5,480 points
201 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

What is LassoLars? - Linear regression

LassoLars is a lasso model implemented using ...READ MORE

answered May 22, 2019 in Machine Learning by Basu
1,493 views
+1 vote
1 answer

​In ANN how the weight gets selected by the model INITIALLY?

Hi@Nandini, When you add your NN layer, it ...READ MORE

answered May 9, 2020 in Machine Learning by MD
• 95,360 points
229 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP