aesara-devs / aesara

Aesara is a Python library for defining, optimizing, and efficiently evaluating mathematical expressions involving multi-dimensional arrays.

Home Page:https://aesara.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Math typo in logistic sigmoid function docstring

larryshamalama opened this issue · comments

There are three docstring instances where the sigmoid/expit function is incorrectly displayed as (1 / (1 + exp(x)) instead of (1 / (1 + exp(-x)).

"""Logistic sigmoid function (1 / (1 + exp(x)), also known as expit or inverse logit"""

"""Logistic sigmoid function (1 / (1 + exp(x)), also known as expit or inverse logit"""

Logistic sigmoid function (1 / (1 + exp(x)), also known as expit or inverse logit

Thanks for the heads-up!

I will solve this issue

I have raised the PR for this issue - #1402. Please review the same

Many thanks, @vrii14!