Skip to content

Adding LSTM algorithm from scratch in neural network algorithm sections #12082

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 28 commits into
base: master
Choose a base branch
from
Open
Changes from 26 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
3e22181
added lstm algorithm in neural network section.
LEVIII007 Oct 14, 2024
a2222f1
commented the testing lines of code
LEVIII007 Oct 14, 2024
f054733
modified code to meet contribution.md file guidelines
LEVIII007 Oct 14, 2024
369a6b2
Merge branch 'TheAlgorithms:master' into lstm
LEVIII007 Oct 15, 2024
91c8173
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 15, 2024
0fbb04b
Add LSTM algorithm implementation in neural network section
LEVIII007 Oct 15, 2024
4c2ec80
shorten the individual lines
LEVIII007 Oct 15, 2024
39fd713
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 15, 2024
3c2da6e
shorten the lines
LEVIII007 Oct 15, 2024
21dab0f
Refactor LSTM input data initialization
LEVIII007 Oct 15, 2024
5a00ca6
Refactor LSTM network implementation and improve code readability
LEVIII007 Oct 15, 2024
3d9b893
changed code a bit for meet ruff standards
LEVIII007 Oct 15, 2024
5c186b1
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 15, 2024
94ad70c
Refactor LSTM class to improve code readability and maintainability
LEVIII007 Oct 15, 2024
6e7cc7c
Refactor tqdm import in LSTM class
LEVIII007 Oct 15, 2024
e48555d
Refactor tqdm import in LSTM class
LEVIII007 Oct 15, 2024
1608382
added doc tests
LEVIII007 Oct 15, 2024
831c57f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 15, 2024
45a51ad
descriptive names + improved doctests
LEVIII007 Oct 15, 2024
b1e7e72
Refactor LSTM class: Increase training epochs to 100
LEVIII007 Oct 15, 2024
9833239
Refactor LSTM class: Improve test method and add comments
LEVIII007 Oct 15, 2024
f058116
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 15, 2024
750c9f6
added doct tests for each function
LEVIII007 Oct 15, 2024
88ac16b
added type hints in lstm init
LEVIII007 Oct 16, 2024
562eeb4
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 16, 2024
f3e974f
fixed type hints which were repeating in code
LEVIII007 Oct 16, 2024
f0919fe
written doc tests for backward pass and forward pass, fixed variable …
LEVIII007 Oct 16, 2024
2ee5df1
fixed return type of test function to str from none
LEVIII007 Oct 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading