s-curves

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

Dann Corbit
Posts: 12542
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

s-curves

Post by Dann Corbit »

Probably most of you know about how to generate s-curves, but here is some code I use to generate sigmoids:


I only have two kinds in the files, and there are several other types:
https://en.wikipedia.org/wiki/Sigmoid_function

They are very useful when you want something to do a lot when things get extreme and do very little when things are average.

They are computationally expensive because they tend to have calls to the exponential function, but you can easily generate a table and then it is just lookups.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.