Adding LSTM algorithm from scratch in neural network algorithm sections #11156
Annotations
5 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
Process completed with exit code 1.
|