SIGN IN SIGN UP
TheAlgorithms / Python UNCLAIMED

All Algorithms implemented in Python

219160 0 1 Python

Added doctest, docstring and typehint for sigmoid_function & cost_function (#10828)

* Added doctest for sigmoid_function & cost_function

* Update logistic_regression.py

* Update logistic_regression.py

* Minor formatting changes in doctests

* Apply suggestions from code review

* Made requested changes in logistic_regression.py

* Apply suggestions from code review

---------

Co-authored-by: Tianyi Zheng <[email protected]>
S
Suyash Dongre committed
dd7d18d49e9edc635f692b1f3db933e8ea717023
Parent: c71c280
Committed by GitHub <[email protected]> on 10/26/2023, 7:55:56 AM