Commit Graph

10 Commits

Author SHA1 Message Date
Pablito
60ad958472 Added type hints for tests 2024-12-04 14:46:18 +01:00
Pablito
20c3200a62 Minor changes to some lists in the tests 2024-12-04 14:44:57 +01:00
Pablito
dddc326d0d Returned to previous commit with a variable name changed 2024-12-04 14:42:13 +01:00
Pablito
02f7cfac25 Added type hints and changed to descriptive names 2024-12-04 14:37:20 +01:00
Pablito
a3a71d2ef1 Removed an unused function 2024-12-03 11:27:22 +01:00
Pablito
be2ab89982 Changed the import block 2024-12-03 11:26:06 +01:00
pre-commit-ci[bot]
bb1d79fed8 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-12-03 10:22:48 +00:00
Pablito
7036c84cb5 Implemented Legendre polynomial computation algorithm
Added an algorithm that calculates the coefficients of the Legendre polynomial of degree n using the recurrence relation
2024-12-03 11:19:20 +01:00
Tianyi Zheng
ae0fc85401
Fix ruff errors (#8936)
* Fix ruff errors

Renamed neural_network/input_data.py to neural_network/input_data.py_tf
because it should be left out of the directory for the following
reasons:

1. Its sole purpose is to be used by neural_network/gan.py_tf, which is
   itself left out of the directory because of issues with TensorFlow.

2. It was taken directly from TensorFlow's codebase and is actually
   already deprecated. If/when neural_network/gan.py_tf is eventually
   re-added back to the directory, its implementation should be changed
   to not use neural_network/input_data.py anyway.

* updating DIRECTORY.md

* Change input_data.py_tf file extension

Change input_data.py_tf file extension because algorithms-keeper bot is being picky about it

---------

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2023-08-09 13:25:30 +05:30
Emmanuel Bauma Murairi
b5d7f186f4
Polynomial (#6745)
* implement function to handle polynomial operations

* edit documentation

* fix type hint and linter errors

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix short variable name

* fix spelling

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-10-30 11:52:50 +01:00