{"id":176,"date":"2011-11-07T14:54:05","date_gmt":"2011-11-07T21:54:05","guid":{"rendered":"https:\/\/www.zacwitte.com\/?p=176"},"modified":"2011-11-07T14:54:05","modified_gmt":"2011-11-07T21:54:05","slug":"javascript-sigmoid-function","status":"publish","type":"post","link":"https:\/\/zacwitte.com\/?p=176","title":{"rendered":"A JavaScript Sigmoid Function"},"content":{"rendered":"<p>Here&#8217;s a simple <a href=\"http:\/\/en.wikipedia.org\/wiki\/Sigmoid_curve\" target=\"_blank\" rel=\"noopener\">sigmoid function<\/a> showing a <a href=\"http:\/\/en.wikipedia.org\/wiki\/Logistic_function\" target=\"_blank\" rel=\"noopener\">logistic curve<\/a> written in javascript<\/p>\n<pre>function sigmoid(t) {\n    return 1\/(1+Math.pow(Math.E, -t));\n}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s a simple sigmoid function showing a logistic curve written in javascript function sigmoid(t) { return 1\/(1+Math.pow(Math.E, -t)); }<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-176","post","type-post","status-publish","format-standard","hentry","category-tech"],"_links":{"self":[{"href":"https:\/\/zacwitte.com\/index.php?rest_route=\/wp\/v2\/posts\/176","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zacwitte.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zacwitte.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zacwitte.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zacwitte.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=176"}],"version-history":[{"count":0,"href":"https:\/\/zacwitte.com\/index.php?rest_route=\/wp\/v2\/posts\/176\/revisions"}],"wp:attachment":[{"href":"https:\/\/zacwitte.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=176"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zacwitte.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=176"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zacwitte.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=176"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}