BasicallyTL;DR: I want to convert similarity measures into weights which are used as predictors. The similarities will be on [0,1], and I will restrict the weights to also be on [0,1]. I'd likeIs there a parametric function that does this mapping which I'll likely optimize using gradient descent. The requirements are that 0 maps to 0, 1 maps to 1formula for an S-shaped curve with domain and it be strictly increasing. A simple derivative is also appreciated.range $[0,1]$?
Edit: Thanks for the responses so far, those are very helpful. To make my purpose more clear, the task isI'm performing prediction. My using observations that are extremely sparse vectors with a single dimension to predict on. MyThe input dimensions are used to compute similarity. MyThe prediction is then a weighted sum of other observations' value for the predictor where the weight is a function of similarity. I'mI'm bounding my weights on [0,1]$[0,1]$ for simplicity. It is hopefully obvious now why I requireThe similarities will also be on $[0,1]$.
I'd like a parametric function that does this mapping which I'll likely optimize using gradient descent. The requirements are that 0 to mapmaps to 0, 1 to mapmaps to 1, and for it to be strictly increasing. AsAs whuber has pointed out, using f(x) =x$f(x) =x$ meets these requirements and actually works pretty well. HoweverHowever it has no parameters to optimize. II have lots of observations so I can tolerate a lot of parameters. I'llI'll be hand coding the gradient descent, hence my preference forI want a simple derivative as well.
For example, much of the responses given are symmetric about .5. It would be useful to have parameter to shift left/right (such as with the beta distribution).