Skip to content

Conversation

@pasabanov
Copy link
Member

Types of changes

  • Refactoring, reformatting, cleanup

Related: #1

Description

Renamed sigmoid to logistic for a more accurate (literal) match to the concept.

The term sigmoid is often used to refer to the logistic function, but this is not entirely accurate because it covers a large variety of functions (e.g. erf, tanh, arctan).

Examples:
examples: erf, tanh, arctan and others

In this case, the term logistic is more appropriate.

Standard logistic function:
standard logistic function

Future improvements

The change eliminates semantic ambiguities, allowing more sigmoid functions to be implemented in the future.

External links

https://en.wikipedia.org/wiki/Sigmoid_function
https://en.wikipedia.org/wiki/Logistic_function

https://ru.wikipedia.org/wiki/Сигмоида
https://ru.wikipedia.org/wiki/Логистическое_уравнение

@pasabanov pasabanov added the refactor Improving code structure without adding new functionality label Feb 2, 2025
@pasabanov pasabanov self-assigned this Feb 2, 2025
@pasabanov pasabanov merged commit 087b5c7 into main Feb 2, 2025
4 checks passed
@pasabanov pasabanov deleted the dist branch February 2, 2025 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Improving code structure without adding new functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants