I How Can the Logit Function Be Modified for a Specific Output Range?

  • I
  • Thread starter Thread starter adan
  • Start date Start date
  • Tags Tags
    Function
adan
Messages
13
Reaction score
3
Hi,
I am looking for changing the logit f(z) = 1/(1+exp(-z)), where z range is [-inf,+inf]. I want to adapt it as follows:
if z > 0.5 then f > 0.5
z < 0.5 then f < 0.5

Thanks
 
Last edited:
Physics news on Phys.org
Hi,
If I understand you well, you want to shift the graph to the right by 0.5. So replace ##z## by ##z-0.5##

1624359059346.png
##\ ##
 
  • Like
Likes Delta2 and adan
BvU said:
Hi,
If I understand you well, you want to shift the graph to the right by 0.5. So replace ##z## by ##z-0.5##

View attachment 284871##\ ##
Thank you so much!
 
  • Like
Likes berkeman
adan said:
I am looking for changing the logit f(z) = 1/(1+exp(-z))
Do you mean logistic function? That is apparently how @BvU interpreted this. I don't believe there is such a thing as a "logit" function.
 
  • Like
Likes adan
Me too... :rolleyes:

Never too old to learn 😎

##\ ##
 
  • Like
Likes adan and Delta2
Actually, the ##f## in this thread is the sigmoid function. Vaguely remember it's used in neural networks and fuzzy control.

##\ ##
 
  • Like
Likes adan
adan said:
Hi,
I am looking for changing the logit f(z) = 1/(1+exp(-z)), where z range is [-inf,+inf]. I want to adapt it as follows:
if z > 0.5 then f > 0.5
z < 0.5 then f < 0.5

Thanks
Just a technicality : Why are you using #[\-infty, \infty]#, i.e., are you considering #\pm \infty # as actual inputs?
 
  • Like
Likes adan

Similar threads

Back
Top