Skip to content

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

Adding LSTM algorithm from scratch in neural network algorithm sections

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

Triggered via pull request October 15, 2024 05:25
Status Failure
Total duration 17s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors
Ruff (I001): neural_network/lstm.py#L44
neural_network/lstm.py:44:1: I001 Import block is un-sorted or un-formatted
Ruff (C416): neural_network/lstm.py#L71
neural_network/lstm.py:71:28: C416 Unnecessary `dict` comprehension (rewrite using `dict()`)
Ruff (NPY002): neural_network/lstm.py#L116
neural_network/lstm.py:116:16: NPY002 Replace legacy `np.random.uniform` call with `np.random.Generator`
Ruff (B007): neural_network/lstm.py#L309
neural_network/lstm.py:309:13: B007 Loop control variable `epoch` not used within loop body
Ruff (E501): neural_network/lstm.py#L348
neural_network/lstm.py:348:89: E501 Line too long (104 > 88)
ruff
Process completed with exit code 1.