Can we change the sigmoid with tanh in Logistic regression transforms

0 votes
May 12, 2020 in Machine Learning by Deepanshu
• 120 points
2,716 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,460 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, 2022 in Machine Learning by Dev
• 6,000 points
984 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, 2022 in Machine Learning by Nandini
• 5,480 points
1,013 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
2,429 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,460 points
716 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